/* Genel oyun butonu cam efekti ve animasyon */
.game-btn {
    background: rgba(33,38,45,0.85);
    border-radius: 32px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s;
    border: none;
    box-shadow: 0 8px 32px 0 rgba(255,70,85,0.15), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    text-align: center;
    position: relative;
    backdrop-filter: blur(8px);
    overflow: hidden;
    z-index: 1;
}

    .game-btn.glass {
        background: linear-gradient(135deg, rgba(33,38,45,0.95) 60%, rgba(255,70,85,0.18) 100%);
        border: 1.5px solid rgba(255,255,255,0.08);
        box-shadow: 0 8px 32px 0 rgba(255,70,85,0.18), 0 1.5px 8px 0 rgba(0,0,0,0.18);
    }

    .game-btn:hover {
        transform: scale(1.10) translateY(-6px);
        box-shadow: 0 16px 48px 0 rgba(255,70,85,0.30), 0 2px 16px 0 rgba(0,0,0,0.22);
        background: linear-gradient(135deg, rgba(33,38,45,0.98) 60%, rgba(255,70,85,0.28) 100%);
    }

    .game-btn span {
        font-weight: 700;
        font-size: 1.15rem;
        color: #fff;
        margin-top: 0.5rem;
        letter-spacing: 1px;
        text-shadow: 0 1px 8px rgba(0,0,0,0.18);
        user-select: none;
    }

/* Sembol alanı cam ve parlak */
.game-symbol {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    box-shadow: 0 2px 16px 0 rgba(255,70,85,0.12);
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-bottom: 0.5rem;
}

/* Valorant: V harfi stilize ve neon animasyon */
.valorant-icon .game-symbol {
    background: radial-gradient(circle at 60% 40%, #ff4655 0%, #21262d 80%);
    box-shadow: 0 0 24px #ff4655, 0 2px 16px #21262d;
}

    .valorant-icon .game-symbol::before,
    .valorant-icon .game-symbol::after {
        content: '';
        position: absolute;
        width: 26px;
        height: 54px;
        border-radius: 10px;
        background: linear-gradient(135deg,#ff4655 60%,#fff 100%);
        box-shadow: 0 0 18px #ff4655;
        animation: valorantNeon 1.2s infinite alternate;
    }

    .valorant-icon .game-symbol::before {
        transform: rotate(-25deg);
        left: 12px;
        top: 10px;
    }

    .valorant-icon .game-symbol::after {
        transform: rotate(25deg);
        right: 12px;
        top: 10px;
    }

@keyframes valorantNeon {
    0% {
        box-shadow: 0 0 18px #ff4655;
    }

    100% {
        box-shadow: 0 0 32px #ff4655;
    }
}

/* PUBG */
.pubg-icon .game-symbol {
    background: linear-gradient(135deg,#f7c873 60%,#fff 100%);
    border-radius: 14px;
    border: 2.5px solid #222;
    box-shadow: 0 0 18px #f7c873, 0 2px 16px #fff;
    position: relative;
}

    .pubg-icon .game-symbol::after {
        content: 'PUBG';
        color: #222;
        font-weight: bold;
        font-size: 1.25rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        letter-spacing: 2px;
        text-shadow: 0 1px 8px #fff, 0 0 8px #f7c873;
        font-family: 'Segoe UI','Roboto',sans-serif;
        user-select: none;
    }

/* LoL */
.lol-icon .game-symbol {
    background: linear-gradient(135deg,#f7c873 60%,#4e9af1 100%);
    border-radius: 50%;
    border: 3px solid #f7c873;
    box-shadow: 0 0 18px #4e9af1, 0 2px 16px #f7c873;
    position: relative;
}

    .lol-icon .game-symbol::after {
        content: 'L';
        color: #fff;
        font-weight: bold;
        font-size: 2.5rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        text-shadow: 0 1px 12px #4e9af1, 0 0 8px #f7c873;
        font-family: 'Segoe UI','Roboto',sans-serif;
        user-select: none;
    }

/* CS:GO */
.csgo-icon .game-symbol {
    background: linear-gradient(135deg,#ffae00 60%,#fff 100%);
    border-radius: 50%;
    box-shadow: 0 0 18px #ffae00, 0 2px 16px #fff;
    position: relative;
}

    .csgo-icon .game-symbol::after {
        content: '';
        position: absolute;
        left: 24px;
        top: 24px;
        width: 24px;
        height: 24px;
        background: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="white" xmlns="http://www.w3.org/2000/svg"><rect x="8" y="10" width="8" height="4" rx="2"/><rect x="11" y="6" width="2" height="12" rx="1"/></svg>') no-repeat center/contain;
        filter: drop-shadow(0 0 8px #fff);
        opacity: 0.95;
    }

/* Fortnite */
.fortnite-icon .game-symbol {
    background: linear-gradient(135deg,#4e9af1 60%,#fff 100%);
    border-radius: 50%;
    box-shadow: 0 0 18px #4e9af1, 0 2px 16px #fff;
    position: relative;
}

    .fortnite-icon .game-symbol::after {
        content: '';
        position: absolute;
        left: 18px;
        top: 36px;
        width: 36px;
        height: 18px;
        background: url('data:image/svg+xml;utf8,<svg width="36" height="18" viewBox="0 0 36 18" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 18L9 6L18 18L27 9L36 18H0Z" fill="white"/></svg>') no-repeat center/contain;
        filter: drop-shadow(0 0 8px #fff);
        opacity: 0.95;
    }

/* Responsive */
@media (max-width: 768px) {
    .game-btn {
        width: 110px;
        height: 110px;
        border-radius: 24px;
    }

    .game-symbol {
        width: 48px;
        height: 48px;
    }

    .game-btn span {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .game-btn {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }

    .game-symbol {
        width: 32px;
        height: 32px;
    }

    .game-btn span {
        font-size: 0.80rem;
    }
}

/* --- Tournament Icons --- */
.tournament-symbol {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    box-shadow: 0 2px 16px 0 rgba(255,70,85,0.12);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

/* Valorant Tournament */
.valorant-tournament {
    background: radial-gradient(circle at 60% 40%, #ff4655 0%, #21262d 80%);
    box-shadow: 0 0 24px #ff4655, 0 2px 16px #21262d;
}

    .valorant-tournament::before,
    .valorant-tournament::after {
        content: '';
        position: absolute;
        width: 26px;
        height: 54px;
        border-radius: 10px;
        background: linear-gradient(135deg,#ff4655 60%,#fff 100%);
        box-shadow: 0 0 18px #ff4655;
        animation: valorantNeon 1.2s infinite alternate;
    }

    .valorant-tournament::before {
        transform: rotate(-25deg);
        left: 12px;
        top: 10px;
    }

    .valorant-tournament::after {
        transform: rotate(25deg);
        right: 12px;
        top: 10px;
    }

/* PUBG Tournament */
.pubg-tournament {
    background: linear-gradient(135deg,#f7c873 60%,#fff 100%);
    border-radius: 14px;
    border: 2.5px solid #222;
    box-shadow: 0 0 18px #f7c873, 0 2px 16px #fff;
    position: relative;
}

    .pubg-tournament::after {
        content: 'PUBG';
        color: #222;
        font-weight: bold;
        font-size: 1.25rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        letter-spacing: 2px;
        text-shadow: 0 1px 8px #fff, 0 0 8px #f7c873;
        font-family: 'Segoe UI','Roboto',sans-serif;
        user-select: none;
    }

/* LoL Tournament */
.lol-tournament {
    background: linear-gradient(135deg,#f7c873 60%,#4e9af1 100%);
    border-radius: 50%;
    border: 3px solid #f7c873;
    box-shadow: 0 0 18px #4e9af1, 0 2px 16px #f7c873;
    position: relative;
}

    .lol-tournament::after {
        content: 'L';
        color: #fff;
        font-weight: bold;
        font-size: 2.5rem;
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        text-align: center;
        text-shadow: 0 1px 12px #4e9af1, 0 0 8px #f7c873;
        font-family: 'Segoe UI','Roboto',sans-serif;
        user-select: none;
    }

@media (max-width: 768px) {
    .tournament-symbol {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 576px) {
    .tournament-symbol {
        width: 32px;
        height: 32px;
    }
}

/* --- Brand Icons --- */
.brand-symbol {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    box-shadow: 0 2px 12px 0 rgba(255,70,85,0.10);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

/* Reklam */
.reklam-symbol::before {
    content: '';
    display: block;
    position: absolute;
    left: 18px;
    top: 16px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" ... ></svg>') no-repeat center/contain;
    filter: drop-shadow(0 0 6px #ff4655);
}
/* Sponsor */
.sponsor-symbol::before {
    content: '';
    display: block;
    position: absolute;
    left: 18px;
    top: 16px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" ... ></svg>') no-repeat center/contain;
    filter: drop-shadow(0 0 6px #f7c873);
}
/* İşbirliği */
.isbirligi-symbol::before {
    content: '';
    display: block;
    position: absolute;
    left: 18px;
    top: 16px;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg width="24" height="24" ... ></svg>') no-repeat center/contain;
    filter: drop-shadow(0 0 6px #4e9af1);
}

@media (max-width: 576px) {
    .brand-symbol {
        width: 40px;
        height: 40px;
    }

    .reklam-symbol::before, .sponsor-symbol::before, .isbirligi-symbol::before {
        left: 8px;
        top: 8px;
        width: 20px;
        height: 20px;
    }
}

/* --- Banner --- */
.gamematearena-banner-symbol {
    width: 260px;
    height: 260px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg,#161b22 60%,#ff4655 100%);
    box-shadow: 0 0 48px 0 rgba(255,70,85,0.18), 0 2px 24px 0 rgba(0,0,0,0.22);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

    .gamematearena-banner-symbol::before {
        content: '';
        position: absolute;
        width: 220px;
        height: 220px;
        left: 20px;
        top: 20px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        box-shadow: 0 0 32px #ff4655, 0 0 24px #fff;
        border: 2px solid rgba(255,255,255,0.12);
    }

    .gamematearena-banner-symbol::after {
        content: '';
        position: absolute;
        width: 120px;
        height: 120px;
        left: 70px;
        top: 70px;
        border-radius: 0;
        background: url('data:image/svg+xml;utf8,<svg width="120" height="120" ... ></svg>') no-repeat center/contain;
        filter: drop-shadow(0 0 24px #ff4655);
        animation: bannerNeon 1.5s infinite alternate;
    }

@keyframes bannerNeon {
    0% {
        filter: drop-shadow(0 0 24px #ff4655);
    }

    100% {
        filter: drop-shadow(0 0 48px #ff4655);
    }
}

@media (max-width: 992px) {
    .gamematearena-banner-symbol {
        width: 180px;
        height: 180px;
    }

        .gamematearena-banner-symbol::before {
            width: 150px;
            height: 150px;
            left: 15px;
            top: 15px;
        }

        .gamematearena-banner-symbol::after {
            width: 80px;
            height: 80px;
            left: 50px;
            top: 50px;
        }
}

@media (max-width: 576px) {
    .gamematearena-banner-symbol {
        width: 110px;
        height: 110px;
    }

        .gamematearena-banner-symbol::before {
            width: 90px;
            height: 90px;
            left: 10px;
            top: 10px;
        }

        .gamematearena-banner-symbol::after {
            width: 48px;
            height: 48px;
            left: 31px;
            top: 31px;
        }
}

/* Mobilde alt alta ve tam genişlik */
 
@media (max-width: 576px) {
    .row.row-cols-2 .col,
    .row.row-cols-sm-3 .col,
    .row.row-cols-md-4 .col,
    .row.row-cols-lg-5 .col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .game-btn {
        width: 100% !important;
        height: 80px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 0 1rem;
        border-radius: 12px;
    }

    .game-symbol {
        width: 40px;
        height: 40px;
        margin: 0;
        margin-right: 12px;
    }

    .game-btn span {
        font-size: 1rem;
        margin-top: 0;
    }
}

/* 480px altında tam genişlik butonlar */
@media (max-width: 480px) {
    .row-cols-2 .col,
    .row-cols-sm-3 .col,
    .row-cols-md-4 .col,
    .row-cols-lg-5 .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .game-btn {
        width: 100%;
        height: 80px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 0 1rem;
        border-radius: 12px;
    }

    .game-symbol {
        width: 40px;
        height: 40px;
        margin: 0;
        margin-right: 12px;
    }

    .game-btn span {
        font-size: 1rem;
        margin-top: 0;
    }
}
/* Genel container */
.games-container {
    padding: 2rem 1rem;
}

/* Başlık */
.games-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ff4655;
}

/* Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    justify-items: center;
}

/* Tek oyun kutusu */
.game-item {
    display: flex;
    justify-content: center;
}

/* Buton görünümü */
.game-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 24px;
    text-decoration: none;
    background: rgba(33,38,45,0.85);
    transition: 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

    .game-btn span {
        margin-top: 0.5rem;
        font-weight: 600;
        color: #fff;
    }

/* Mobil: tam genişlik */
@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .game-btn {
        flex-direction: row;
        width: 100%;
        height: 80px;
        border-radius: 12px;
        justify-content: flex-start;
        padding: 0 1rem;
    }

    .game-symbol {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

    .game-btn span {
        margin-top: 0;
        font-size: 1rem;
    }
}
