:root {
    --bg-base: #0a0f18;
    --bg-card: #131c2a;
    --bg-card-hover: #192538;
    --primary: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.28);
    --accent: #10b981;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-ui: rgba(255, 255, 255, 0.08);
    --navbar-bg: rgba(10, 15, 24, 0.92);
    --font-head: 'Fredoka', cursive, sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* AÇIK TEMA */
[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --primary: #d97706;
    --primary-glow: rgba(217, 119, 6, 0.25);
    --accent: #059669;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-ui: rgba(15, 23, 42, 0.12);
    --navbar-bg: rgba(255, 255, 255, 0.95);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 76px;
    background: var(--navbar-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-ui);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6%;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-family: var(--font-head);
    font-size: 1.55rem;
    font-weight: 700;
}

    .brand-logo i {
        color: var(--primary);
        font-size: 1.7rem;
    }

    .brand-logo span {
        color: var(--primary);
    }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

    .nav-menu a {
        color: var(--text-muted);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        transition: color 0.2s;
    }

        .nav-menu a:hover {
            color: var(--primary);
        }

.theme-switch-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-ui);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

[data-theme="light"] .theme-switch-btn {
    background: rgba(15, 23, 42, 0.06);
}

.theme-switch-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-ui);
    border-radius: 24px;
    padding: 3px;
}

[data-theme="light"] .lang-switch {
    background: rgba(15, 23, 42, 0.05);
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 18px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .lang-btn.active {
        background: var(--primary);
        color: #ffffff;
        box-shadow: 0 2px 10px var(--primary-glow);
    }

/* ORTALANMIŞ İNTRO PENCERESİ */
.intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .intro-overlay.hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.intro-card {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
}

    .intro-card video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        background: #000;
    }

.skip-intro-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(10, 15, 24, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 24px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    z-index: 10;
}

    .skip-intro-btn:hover {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }

/* SOSYAL MEDYA BUTONLARI */
.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-ui);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

[data-theme="light"] .social-icon-btn {
    background: rgba(15, 23, 42, 0.05);
}

.social-icon-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: #ffffff;
}

.social-icon-btn.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-icon-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    border-color: transparent;
}

.social-icon-btn.tiktok:hover {
    background: #000000;
    border-color: #00f2fe;
    color: #00f2fe;
}

.social-icon-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

/* HERO */
.hero {
    padding: 130px 6% 60px;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 76px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

    .hero-badge i {
        font-size: 0.65rem;
        animation: pulse-dot 1.4s infinite;
    }

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.12;
    margin-bottom: 20px;
    color: var(--text-main);
}

    .hero-title .highlight {
        background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

.hero-desc {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #000000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

    .play-btn:hover {
        border-color: var(--primary);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px var(--primary-glow);
    }

    .play-btn i {
        font-size: 2.1rem;
        color: #34a853;
    }

.play-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .play-btn-text .sub {
        font-size: 0.7rem;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        color: #94a3b8;
        font-weight: 600;
    }

    .play-btn-text .main {
        font-size: 1.15rem;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.2;
    }

.hero-pill {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 12px 20px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    position: relative;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(245, 158, 11, 0.35);
    background: var(--bg-card);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.4s ease;
}

    .visual-frame:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

    .visual-frame img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

.coming-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 10px;
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
}

/* SECTIONS */
.section {
    padding: 90px 6%;
    max-width: 1320px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-sub {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-head);
    font-size: 2.5rem;
    color: var(--text-main);
}

.game-title,
.feature-box h3,
.footer-col h4 {
    color: var(--text-main) !important;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-ui);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

    .game-card:hover {
        background: var(--bg-card-hover);
        border-color: rgba(245, 158, 11, 0.45);
        transform: translateY(-6px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    }

.game-thumb {
    width: 100%;
    height: 240px;
    background: #1e293b;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .game-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.game-card:hover .game-thumb img {
    transform: scale(1.04);
}

.placeholder-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

    .placeholder-icon i {
        font-size: 3.2rem;
        color: var(--primary);
        opacity: 0.7;
    }

.card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(10, 15, 24, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-ui);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.game-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pill-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.pill-tag {
    font-size: 0.72rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
}

[data-theme="light"] .pill-tag {
    background: rgba(15, 23, 42, 0.06);
}

.game-title {
    font-family: var(--font-head);
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.game-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    flex-grow: 1;
    line-height: 1.6;
}

.game-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-ui);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* FEATURES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-ui);
    border-radius: 20px;
    padding: 32px 28px;
    transition: all 0.3s ease;
}

    .feature-box:hover {
        border-color: rgba(245, 158, 11, 0.35);
        transform: translateY(-4px);
    }

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(245, 158, 11, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-box h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FOOTER */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-ui);
    padding: 60px 6% 36px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 400px;
    margin: 16px 0 24px;
    font-size: 0.95rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-ui);
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

[data-theme="light"] .contact-btn {
    background: rgba(15, 23, 42, 0.04);
}

.contact-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: var(--primary);
        }

.footer-bottom {
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 28px;
    border-top: 1px solid var(--border-ui);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.8);
    }
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 110px;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .visual-frame {
        transform: none;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}
