     html,
        body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        /* Loading overlay */
        #loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        /* Dönen daire animasyonu */
        .spinner {
            border: 8px solid #f3f3f3;
            border-top: 8px solid #3498db;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Grid ve oyuncular */
        .grid-container {
            display: grid;
            grid-template-columns: repeat(11, minmax(5px, 80px));
            grid-template-rows: repeat(11, minmax(5px, 80px));
            justify-content: center;
            align-content: center;
            width: 100%;
            height: 100%;
            display: none;
            /* Başta gizle, loading görünür */

        }

        .grid-item {
            box-sizing: border-box;
            position: relative;
            /* img'leri üst üste koyabilmek için */
            width: 100%;
            height: 100%;
            background:
                /* dikey yol */
                linear-gradient(to bottom, #c2a66b 0 100%) center/30% 100% no-repeat,
                /* yatay yol */
                linear-gradient(to right, #c2a66b 0 100%) center/100% 30% no-repeat,
                /* çimen arka plan */
                #6dbf4b;

        }

        .grid-item img.building-image {
            position: absolute;
            top: 37%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            /* bina boyutu */
            height: auto;
            /* oyuncuların altında veya üstünde ayarlayabilirsin */
            z-index: 1;
        }

        .grid-item img.player-image {
            position: absolute;
            top: 65%;
            /* biraz daha alta koy ki bina üstünde gibi görünsün */
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50%;
            z-index: 1;
        }

        @media only screen and (max-width: 600px) {
            .grid-item img.building-image {
                width: 150%;
            }

            .grid-item img.player-image {
                width: 75%;
            }
        }

        @media only screen and (max-width: 500px) {
            .grid-item img.building-image {
                width: 200%;
            }

            .grid-item img.player-image {
                width: 100%;
            }
        }

        @media only screen and (max-width: 400px) {
            .grid-item img.building-image {
                width: 200%;
            }

            .grid-item img.player-image {
                width: 100%;
            }
        }