:root {
    /* Main tone inspired by .ref-stat-card */
    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
  
    --bg-primary: #0b0f1a;
    --bg-secondary: #111827;
    --bg-card: #1f2937;
  
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
  
    --border-color: rgba(255,255,255,0.08);
  
    --radius: 18px;
    --radius-lg: 26px;
  
    --shadow: 0 10px 30px rgba(0,0,0,0.4);
    --shadow-soft: 0 6px 18px rgba(0,0,0,0.25);
  
    --gradient-main: linear-gradient(135deg, var(--primary), var(--primary-light));

    /* Safe area fallbacks — Capacitor/Android uyumu */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-left: env(safe-area-inset-left, 0px);
    --safe-area-right: env(safe-area-inset-right, 0px);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }
  
  html {
    height: 100%;
    height: -webkit-fill-available;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow: hidden;
    /* Tam ekran — notch/status bar dahil */
    width: 100%;
    height: 100vh;
    height: 100dvh;
    height: -webkit-fill-available;
    position: fixed;
    top: 0;
    left: 0;
  }
  

/* ═══════════════════════════════════════
   PERFORMANS: GPU katmanı ipuçları
═══════════════════════════════════════ */
#football,
.football {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.loading-ring {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.goal-animation,
.miss-animation {
    will-change: transform, opacity;
}

.app-container {
    will-change: auto;
}

/* ═══════════════════════════════════════
   LOADING SCREEN — Sinematik 5 saniyelik
═══════════════════════════════════════ */
.loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; 
    height: 100%;
    height: 100dvh;
    background: radial-gradient(ellipse at 50% 40%,
        #0d1b3e 0%,
        #060d1f 55%,
        #000008 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.active {
    opacity: 1;
    visibility: visible;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Logo halkası ── */
.loading-logo-ring {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 28px;
}

.loading-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: ringRotate 1.8s linear infinite;
}

.ring-outer {
    inset: 0;
    border-top-color: #ff6b35;
    border-right-color: rgba(255, 107, 53, 0.3);
    animation-duration: 1.8s;
}

.ring-inner {
    inset: 14px;
    border-top-color: #00d4ff;
    border-left-color: rgba(0, 212, 255, 0.3);
    animation-direction: reverse;
    animation-duration: 1.3s;
}

@keyframes ringRotate {
    to { transform: rotate(360deg); }
}

.loading-ball-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-ball-icon {
    font-size: 52px;
    background: linear-gradient(135deg, #ff6b35, #ff8e53);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 18px rgba(255, 107, 53, 0.7));
    animation: ballPulse 1.4s ease-in-out infinite;
}

@keyframes ballPulse {
    0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 18px rgba(255,107,53,0.7)); }
    50%       { transform: scale(1.12); filter: drop-shadow(0 0 30px rgba(255,107,53,1)); }
}

/* ── Başlık ── */
.loading-title {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #ff8e53 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    animation: titleShimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes titleShimmer {
    0%   { background-position: 0% center; }
    50%  { background-position: 100% center; }
    100% { background-position: 0% center; }
}

/* ── İpucu yazısı ── */
.loading-sub {
    font-size: 13px;
    color: rgba(180, 188, 208, 0.75);
    letter-spacing: 0.5px;
    margin-bottom: 22px;
    min-height: 18px;
    transition: opacity 0.4s ease;
}

/* ── Progress bar ── */
.loading-bar {
    width: 220px;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.loading-progress {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    background: linear-gradient(90deg, #ff6b35, #ff8e53, #00d4ff);
    background-size: 200% auto;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: shimmer 1.2s ease-in-out infinite;
}

/* ── Yüzde yazısı ── */
.loading-percent {
    font-size: 12px;
    color: rgba(255, 107, 53, 0.8);
    font-weight: 700;
    letter-spacing: 1px;
}

@keyframes shimmer {
    0%   { left: -100%; }
    100% { left: 100%; }
}

.app-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: var(--bg-primary);
    position: relative;
    display: flex;
    flex-direction: column;
    /* Tüm cihazlarda tam ekran yüksekliği */
    height: 100vh;
    height: 100dvh;
    height: -webkit-fill-available;
    /* Safe area padding — notch, home indicator, status bar */
    padding-top: var(--safe-area-top);
    padding-bottom: var(--safe-area-bottom);
    padding-left: var(--safe-area-left);
    padding-right: var(--safe-area-right);
    overflow: hidden;
}


.header {
    background: linear-gradient(180deg, 
        rgba(21, 21, 40, 0.98) 0%, 
        rgba(21, 21, 40, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    margin-top: 0px;
    padding-top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 15px;
}

.currency-display {
    display: flex;
    gap: 15px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, 
        rgba(0, 229, 255, 0.12) 0%, 
        rgba(123, 97, 255, 0.12) 100%);
    padding: 12px 18px;
    border-radius: 30px;
    border: 1.5px solid rgba(0, 229, 255, 0.3);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.currency-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(0, 229, 255, 0.2) 0%, 
        transparent 70%);
    transition: opacity 0.4s ease;
    opacity: 0;
}

.currency-item:hover::before {
    opacity: 1;
    animation: currencyGlow 2s linear infinite;
}

.currency-item:hover {
    border-color: rgba(0, 229, 255, 0.7);
    box-shadow: 
        0 0 20px rgba(0, 229, 255, 0.3),
        0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.05);
}

.currency-item i {
    color: var(--accent-primary);
    font-size: 18px;
    animation: currencyIconFloat 2s ease-in-out infinite;
}

@keyframes currencyIconFloat {
    0%, 100% {
    transform: translateY(0);
    }
    50% {
    transform: translateY(-3px);
    }
    }

    .user-avatar {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--gradient-accent);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow:
        0 0 20px rgba(0, 229, 255, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
        border: 2.5px solid rgba(255, 255, 255, 0.15);
        position: relative;
        overflow: hidden;
        }

        .user-avatar::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 60%);
            opacity: 0;
            transition: opacity 0.3s ease;
            }
            .user-avatar:hover::before {
            opacity: 1;
            animation: avatarPulse 1.5s ease-in-out infinite;
            }

            @keyframes avatarPulse {
                0%, 100% {
                transform: scale(1);
                }
                50% {
                transform: scale(1.2);
                }
                }

                .user-avatar:hover {
                    transform: scale(1.15) rotate(5deg);
                    box-shadow:
                    0 0 30px rgba(0, 229, 255, 0.7),
                    0 8px 25px rgba(0, 0, 0, 0.4);
                    border-color: rgba(255, 255, 255, 0.3);
                    }

                    .user-avatar:active {
                        transform: scale(1.05) rotate(0deg);
                        }

/* Main Content */
.main-content {
    flex: 1;
    min-height: 0; /* flex child'ın taşmasını önler */
    padding-bottom: 90px; /* navbar yüksekliği kadar boşluk */
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.page {
    padding: 20px;
    display: none;
   
}

.page.active {
    display: block;
}



/* Page Headers */
.page-header {
    text-align: center;
    margin-bottom: 35px;
}

.page-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -1px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 400;
}

/* HOME PAGE - Premium Design */
.hero-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: -20px -20px 30px -20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    background: var(--gradient-hero);
    padding: 50px 30px 40px;
    border-radius: 0 0 40px 40px;
    position: relative;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { 
        transform: translateX(0) rotate(0deg); 
    }
    33% { 
        transform: translateX(10%) rotate(120deg); 
    }
    66% { 
        transform: translateX(-5%) rotate(240deg); 
    }
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #00e5ff 0%, #7b61ff 50%, #00e5ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

@keyframes gradientFlow {
    0%, 100% { 
        background-position: 0% center; 
    }
    50% { 
        background-position: 100% center; 
    }
}

.hero-content p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 6px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.play-button {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 2;
    letter-spacing: 0.5px;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.play-button:hover::before {
    width: 400px;
    height: 400px;
}

.play-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 229, 255, 0.6);
}

.play-button i {
    margin-right: 10px;
}

/* Quick Actions - Premium Grid */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.action-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.action-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.action-card:hover::before {
    opacity: 1;
    animation: cardRotate 3s linear infinite;
}

@keyframes cardRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.action-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.3);
    border-color: rgba(0, 229, 255, 0.6);
}

.action-card i {
    font-size: 32px;
    color: var(--accent-primary);
    margin-bottom: 15px;
    display: block;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.action-card:hover i {
    transform: scale(1.15) rotateZ(5deg);
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
}

.action-card span {
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

/* GAME PAGE - Enhanced Design */
.game-container {
    max-width: 100%;
    margin: 0 auto;
}

.game-header {
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.game-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-info span {
    font-weight: 600;
    color: var(--text-secondary);
}

.game-info span span {
    color: var(--accent-primary);
}

.football-field::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 140, 50, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 80, 80, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 50%, rgba(0, 180, 255, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 180, 255, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.goal-area {
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    z-index: 2;
    /* Parke zemin çizgileri — NBA sahası hissi */
    background:
        /* Üç sayı yayı */
        radial-gradient(ellipse 82% 55% at 50% 108%, transparent 68%, rgba(255,140,50,0.18) 69%, rgba(255,140,50,0.18) 71%, transparent 72%),
        /* Boyalı alan dikdörtgeni */
        linear-gradient(180deg,
            transparent 0%,
            transparent 30%,
            rgba(200, 100, 30, 0.07) 30%,
            rgba(200, 100, 30, 0.07) 100%
        );
}

.goal-area::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 50, 0.35), transparent);
    border-radius: 50%;
}

.goal-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255, 140, 50, 0.25);
}

.goal-area {
    position: relative;
    height: 150px;
    margin-bottom: 20px;
}

.goalpost {
    width: 100%;
    height: 100%;
    border: 3px solid white;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    position: relative;
    background: rgba(0, 0, 0, 0.1);
}

.goal-zones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0;
}

.goal-zone {
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.15s;
    cursor: crosshair;
}

.goal-zone:hover {
    background: rgba(0, 212, 255, 0.2);
}

.goal-zone.selected {
    /* asıl kural aşağıda !important ile */
}

.goalkeeper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.1s linear;
    width: 100px;
    height: 100px;
    z-index: 10;
    pointer-events: none;
}

.goalkeeper-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.penalty-spot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    margin: 20px auto 0;
}

/* MOBİL OPTİMİZASYON */
.football {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 480px) {
    .goal-area {
        height: 130px;
        margin-bottom: 20px;
    }
    .goalkeeper {
        width: 80px;
        height: 80px;
    }
    .football {
        width: 36px;
        height: 36px;
    }
}


.penalty-area {
    text-align: center;
    position: relative;
    padding-top: 50px;
    z-index: 3;
    /* NBA serbest atış çizgisi */
    border-top: 2px solid rgba(255, 140, 50, 0.30);
}

.penalty-area::before {
    content: 'FREE THROW';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 140, 50, 0.40);
    background: var(--bg-primary, #0a0a1a);
    padding: 0 8px;
}


.ball-container {
    position: relative;
    display: inline-block;
}

.football {
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 100;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.ball-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 8px 16px rgba(0, 0, 0, 0.5))
        drop-shadow(0 0 12px rgba(255, 120, 50, 0.3));
}


.football.through-hoop {
    z-index: 3 !important;
}

.football.inside-hoop {
    z-index: 1 !important;
}

.football.shooting {
    animation: none !important;
    transition: none !important;
}

.football:not(.shooting):hover {
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(255, 107, 107, 0.6));
}

.football:not(.shooting):active {
    transform: scale(1.05);
}

.football:hover {
    transform: scale(1.1);
}

.penalty-spot {
    width: 10px;
    height: 10px;
    background: rgba(255, 140, 50, 0.50);
    border-radius: 50%;
    margin: 8px auto 0;
    box-shadow: 0 0 8px rgba(255, 140, 50, 0.40);
}

/* GAME CONTROLS - YENİLENMİŞ */

.game-controls {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 13px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    top: 20px;
    position: relative;
}

.power-meter {
    margin-bottom: 20px;
}

.power-meter label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-secondary);
}

.power-bar {
    position: relative;
    width: 100%;
    height: 20px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.power-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 10px;
    width: 0%;
    transition: width 0.05s linear;
    position: relative;
    overflow: hidden;
}

.power-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s ease-in-out infinite;
}

.power-percentage {
    position: absolute;
    left: 50%;
    top: -25px;
    transform: translateX(-50%);
    font-size: 14px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000;
}


.shoot-button {
    width: 100%;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ff6b6b 100%);
    background-size: 200% auto;
    border: none;
    color: white;
    padding: 20px;
    border-radius: 20px;
    font-size: 24px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(255, 107, 107, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.shoot-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.shoot-button:hover:not(:disabled)::before {
    left: 100%;
}

.shoot-button:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.shoot-button:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(255, 107, 107, 0.6),
        0 0 30px rgba(255, 184, 77, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background-position: 100% center;
}

.shoot-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #4a4a5c 0%, #36364a 100%);
    box-shadow: none;
}

.shoot-button i {
    margin-right: 12px;
    font-size: 28px;
    animation: basketBounce 1s ease-in-out infinite;
}


@keyframes basketBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


/* CONTACT PAGE - Premium Design */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.social-link:hover::before {
    transform: scaleY(1);
}

.social-link:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.5);
}

.social-link i:first-child {
    font-size: 26px;
    color: var(--accent-primary);
    margin-right: 16px;
    transition: all 0.3s ease;
}

.social-link:hover i:first-child {
    transform: scale(1.2) rotate(5deg);
}

.social-link span {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.social-link i:last-child {
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover i:last-child {
    transform: translateX(4px);
    color: var(--accent-primary);
}

.contact-info {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-info h3 {
    margin-bottom: 15px;
    color: var(--accent-primary);
    font-size: 20px;
    font-weight: 700;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.1);
}

.contact-email:hover {
    transform: translateY(-2px);
    background: rgba(0, 229, 255, 0.2);
}

/* SETTINGS PAGE - Premium Design */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.setting-item {
    background: var(--gradient-card);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.setting-item.clickable {
    cursor: pointer;
}

.setting-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.5);
}

.setting-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.setting-info i {
    font-size: 22px;
    color: var(--accent-primary);
    width: 28px;
    text-align: center;
}

.setting-info div h3 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
}

.setting-info div p {
    color: var(--text-secondary);
    font-size: 13px;
}

.toggle-switch {
    position: relative;
}

.toggle-switch input {
    display: none;
}

.toggle-switch label {
    display: block;
    width: 52px;
    height: 28px;
    background: rgba(31, 41, 55, 0.8);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--glass-border);
}

.toggle-switch label::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + label {
    background: var(--gradient-accent);
    border-color: var(--accent-primary);
}

.toggle-switch input:checked + label::after {
    left: 26px;
}

/* REFERRAL PAGE - Premium Design */
.referral-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.referral-code h3 {
    margin-bottom: 18px;
    color: var(--accent-primary);
    font-size: 18px;
    font-weight: 700;
}

.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.code-display:hover {
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.code-display span {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

.referral-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.referral-input {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.referral-input h3 {
    margin-bottom: 18px;
    color: var(--accent-primary);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.input-group input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(31, 41, 55, 0.6);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.submit-btn {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
}

.submit-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

.input-note {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
}

.referral-rewards {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.referral-rewards h3 {
    margin-bottom: 25px;
    color: var(--accent-primary);
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.reward-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.reward-item:last-child {
    border-bottom: none;
}

.reward-item:hover {
    transform: translateX(4px);
}

.reward-item i {
    font-size: 24px;
    color: var(--accent-primary);
    width: 28px;
    text-align: center;
}

.reward-item div {
    flex: 1;
}

.reward-item strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.reward-item span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* LEADERBOARD PAGE - Premium Design */
.leaderboard-tabs {
    display: flex;
    gap: 8px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 16px;
    padding: 6px;
    margin-top: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 600;
}

.tab-btn.active {
    background: var(--gradient-accent);
    color: white;
    font-weight: 700;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

.leaderboard-content {
    margin-top: 20px;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}

.leaderboard-item {
    background: var(--gradient-card);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.leaderboard-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.5);
}

.rank {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-primary);
    width: 35px;
    text-align: center;
}

.rank.gold {
    color: #ffd166;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}

.rank.silver {
    color: #d1d5db;
    text-shadow: 0 0 10px rgba(209, 213, 219, 0.5);
}

.rank.bronze {
    color: #f97316;
    text-shadow: 0 0 10px rgba(249, 115, 22, 0.5);
}

.player-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.player-name {
    flex: 1;
    font-weight: 600;
    font-size: 15px;
}

.player-score {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WITHDRAW PAGE - Premium Design */
.balance-card {
    background: var(--gradient-accent);
    border-radius: 28px;
    padding: 40px 30px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: balanceRotate 15s linear infinite;
}

@keyframes balanceRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.balance-info {
    position: relative;
    z-index: 2;
}

.balance-info h3 {
    margin-bottom: 18px;
    opacity: 0.95;
    font-weight: 600;
    font-size: 16px;
}

.balance-amount {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 10px;
}

.balance-amount small {
    font-size: 18px;
    opacity: 0.9;
    font-weight: 600;
}

.balance-equivalent {
    font-size: 16px;
    opacity: 0.85;
}

.withdraw-methods {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.withdraw-methods h3 {
    margin-bottom: 25px;
    color: var(--accent-primary);
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.method-item:last-child {
    border-bottom: none;
}

.method-item:hover {
    transform: translateX(4px);
}

.method-item i {
    font-size: 26px;
    color: var(--accent-primary);
    width: 32px;
    text-align: center;
}

.method-item div {
    flex: 1;
}

.method-item h4 {
    margin-bottom: 4px;
    font-weight: 700;
}

.method-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.method-item .status {
    background: var(--warning-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.withdraw-note {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
}

.withdraw-note i {
    font-size: 22px;
    color: var(--accent-primary);
}

.withdraw-note p {
    color: var(--text-primary);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Bottom Navigation - Premium Design */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(180deg,
    rgba(21, 21, 40, 0.98) 0%,
    rgba(16, 16, 35, 0.98) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    display: flex;
    justify-content: space-around;
    padding: 12px 0 calc(12px + var(--safe-area-bottom));
    backdrop-filter: blur(30px);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    min-width: 65px;
    position: relative;
    overflow: hidden;
    
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
    rgba(0, 229, 255, 0.15) 0%,
    transparent 70%);
    opacity: 0;
    transition: opacity 0.15s ease;
 }

 .nav-item:hover::before {
    opacity: 1;
    }

    .nav-item:hover {
        background: rgba(0, 229, 255, 0.08);
        transform: translateY(-5px);
        }

        
        .nav-item.active {
            color: var(--accent-primary);
            background: linear-gradient(135deg,
            rgba(0, 229, 255, 0.12) 0%,
            rgba(123, 97, 255, 0.12) 100%);
            }


            .nav-item.active::after {
                content: '';
                position: absolute;
                top: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 40px;
                height: 3px;
                background: var(--gradient-accent);
                border-radius: 0 0 3px 3px;
                box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
                }

                .nav-item.active i {
                    filter: drop-shadow(0 0 12px rgba(0, 229, 255, 0.8));
                    animation: navIconBounce 0.6s ease;
                    }

                    @keyframes navIconBounce {
                        0%, 100% {
                        transform: scale(1);
                        }
                        50% {
                        transform: scale(1.25);
                        }
                        }

                        .nav-item i {
                            font-size: 22px;
                            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                            }

                            .nav-item span {
                                font-size: 11px;
                                font-weight: 600;
                                transition: all 0.3s ease;
                                }
                                .nav-item:hover i {
                                transform: scale(1.2);
                                }
                                .nav-item:active {
                                transform: translateY(-2px) scale(0.95);
                                }

/* Modals - Premium Design */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    margin-bottom: 18px;
    color: var(--accent-primary);
    font-size: 22px;
    font-weight: 800;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    line-height: 1.6;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.custom-modal .modal-content {
    background: var(--gradient-card);
    padding: 30px;
    border-radius: 24px;
    max-width: 90%;
    width: 400px;
}

.account-info {
    margin: 20px 0;
    line-height: 1.8;
}

/* Login Modal - Premium Design */
.login-content {
    max-width: 400px;
}

.login-header {
    margin-bottom: 35px;
}

.app-logo {
    width: 90px;
    height: 90px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 44px;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.login-header h2 {
    margin-bottom: 12px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
    font-weight: 900;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 15px;
}

.google-login-btn {
    width: 100%;
    background: white;
    color: #1f2937;
    border: none;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-md);
}

.google-login-btn:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.google-login-btn i {
    font-size: 22px;
    color: #4285f4;
}

.login-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-secondary);
}

.benefit-item i {
    color: var(--accent-primary);
    font-size: 18px;
    width: 24px;
}

/* Buttons - Premium Design */
.btn-primary {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
}

.btn-secondary:hover {
    background: rgba(31, 41, 55, 1);
    transform: translateY(-2px);
}

/* Premium Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--gradient-card);
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 20px;
    padding: 18px 24px;
    z-index: 10001;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 360px;
    width: 90%;
    backdrop-filter: blur(20px);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    animation: toastPulse 0.5s ease;
}

@keyframes toastPulse {
    0% { transform: translateX(-50%) translateY(0) scale(0.8); }
    50% { transform: translateX(-50%) translateY(0) scale(1.05); }
    100% { transform: translateX(-50%) translateY(0) scale(1); }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toast-icon {
    font-size: 26px;
    color: var(--success-color);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.toast-icon.error {
    color: var(--error-color);
    animation: iconShake 0.5s ease;
}

@keyframes iconShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.toast-icon.warning {
    color: var(--warning-color);
    animation: iconPulse 0.8s ease infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.toast-message {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-primary);
}

.goal-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    pointer-events: none;
    animation: basketMainAnimation 2.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes basketMainAnimation {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.3) rotate(-20deg); 
    }
    20% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.3) rotate(5deg); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1) rotate(-2deg); 
    }
    80% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.05) rotate(0deg); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.8) translateY(-100px) rotate(0deg); 
    }
}

.basket-success-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 50px 40px;
    background: radial-gradient(circle at center, 
        rgba(0, 255, 157, 0.25) 0%, 
        rgba(0, 229, 255, 0.15) 50%,
        transparent 100%);
    border-radius: 35px;
    backdrop-filter: blur(30px);
    border: 3px solid rgba(0, 255, 157, 0.6);
    box-shadow: 
        0 0 60px rgba(0, 255, 157, 0.7),
        0 0 120px rgba(0, 229, 255, 0.5),
        inset 0 0 40px rgba(0, 255, 157, 0.2);
    position: relative;
}

.basket-success-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(0, 255, 157, 0.4) 0%, 
        transparent 70%);
    animation: basketGlowRotate 4s linear infinite;
}


.basket-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
}

.basket-ball-icon {
    font-size: 70px;
    color: #00ff9d;
    filter: drop-shadow(0 0 30px rgba(0, 255, 157, 1));
    animation: basketBallFloat 1s ease-in-out infinite;
    position: relative;
    z-index: 2;
}


@keyframes basketBallFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
    }
    25% {
        transform: translateY(-10px) rotate(90deg) scale(1.1);
    }
    50% { 
        transform: translateY(-20px) rotate(180deg) scale(1.15); 
    }
    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.1);
    }
}


@keyframes basketBallBounce {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
    }
    50% { 
        transform: translateY(-15px) rotate(180deg) scale(1.1); 
    }
}

.success-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 255, 157, 0.7);
    border-radius: 50%;
    animation: ringExpand 2s ease-out infinite;
}

.ring-1 {
    width: 100px;
    height: 100px;
    animation-delay: 0s;
}

.ring-2 {
    width: 100px;
    height: 100px;
    animation-delay: 0.4s;
}

.ring-3 {
    width: 100px;
    height: 100px;
    animation-delay: 0.8s;
}

@keyframes ringExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 1;
        border-width: 4px;
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
        border-width: 1px;
    }
}

.basket-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.basket-title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, 
        #00ff9d 0%, 
        #00e5ff 25%, 
        #7b61ff 50%, 
        #00e5ff 75%, 
        #00ff9d 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: basketTextFlow 2s ease-in-out infinite;
    letter-spacing: 5px;
    text-shadow: 
        0 0 30px rgba(0, 255, 157, 0.9),
        0 0 60px rgba(0, 229, 255, 0.7);
}

@keyframes basketTextFlow {
    0%, 100% {
        background-position: 0% center;
        filter: brightness(1);
    }
    50% {
        background-position: 100% center;
        filter: brightness(1.4);
    }
}

.basket-points {
    font-size: 28px;
    font-weight: 800;
    color: #00ff9d;
    text-shadow: 
        0 0 15px rgba(0, 255, 157, 0.9),
        0 0 30px rgba(0, 255, 157, 0.7);
    animation: basketPointsPulse 1.2s ease-in-out infinite;
    letter-spacing: 3px;
}

@keyframes basketPointsPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}


.basket-stars {
    display: flex;
    gap: 20px;
    z-index: 2;
}

.basket-stars i {
    font-size: 38px;
    color: #ffd166;
    filter: drop-shadow(0 0 15px rgba(255, 209, 102, 1));
    animation: basketStarTwinkle 1.5s ease-in-out infinite;
}

.star-1 {
    animation-delay: 0s;
}

.star-2 {
    animation-delay: 0.3s;
}

.star-3 {
    animation-delay: 0.6s;
}

@keyframes basketStarTwinkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.4) rotate(180deg);
        opacity: 0.7;
    }
}

/* Parıltı efekti */
.basket-success-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.3) 0%, transparent 70%);
    animation: basketGlowRotate 3s linear infinite;
}

@keyframes basketGlowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Konfeti efekti için ekstra animasyon */
.basket-success-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 35%, rgba(255, 209, 102, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(0, 229, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 255, 157, 0.5) 0%, transparent 60%);
    animation: basketConfetti 2s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes basketConfetti {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}


@keyframes basketCelebration {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.5) rotate(-15deg); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.4) rotate(5deg); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1) translateY(-80px) rotate(0deg); 
    }
}

.miss-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: var(--error-color);
    z-index: 10001;
    animation: missShake 1.5s ease-out forwards;
    pointer-events: none;
    text-shadow: 
        0 0 30px rgba(255, 107, 107, 0.9),
        0 0 60px rgba(255, 107, 107, 0.6);
    font-weight: 900;
    letter-spacing: 3px;
}

@keyframes missShake {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.8) rotate(0deg); 
    }
    10% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3) rotate(-10deg);
    }
    20% {
        transform: translate(-50%, -50%) scale(1.2) rotate(10deg);
    }
    30% {
        transform: translate(-50%, -50%) scale(1.25) rotate(-8deg);
    }
    40% {
        transform: translate(-50%, -50%) scale(1.2) rotate(6deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15) rotate(-4deg);
    }
    60% {
        transform: translate(-50%, -50%) scale(1.1) rotate(2deg);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.05) rotate(-1deg);
    }
    80% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.9) rotate(0deg); 
    }
}


@keyframes missCelebration {
    0% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(0.8) rotate(10deg); 
    }
    50% { 
        opacity: 1; 
        transform: translate(-50%, -50%) scale(1.2) rotate(-5deg); 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
    }
}

/* Selected Zone Animation — asıl kural dosyanın sonunda */

/* Responsive Design */
@media (max-width: 375px) {
    .page {
        padding: 15px;
    }
    
    .hero-content {
        padding: 40px 25px 35px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        gap: 12px;
    }
    
    .stat-item {
        padding: 18px;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .currency-display {
        gap: 10px;
    }
    
    .currency-item {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .play-button {
        padding: 16px 50px;
        font-size: 17px;
    }
}

@media (max-height: 667px) {
    .football-field {
        min-height: 340px;
    }
    .goal-area {
        height: 200px;
    }
    .basketball-hoop {
        width: 118px;
        height: 118px;
    }
    .football {
        width: 42px;
        height: 42px;
    }
}


@media (max-width: 390px) {
    .basketball-hoop {
        width: 130px;
        height: 130px;
    }
    .football {
        width: 44px;
        height: 44px;
    }
    .goal-area {
        height: 230px;
    }
    .penalty-area {
        padding-top: 40px;
    }
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top: 3px solid var(--accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
button:focus,
input:focus,
.nav-item:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Hide elements for basketball game — sadece basketbol sayfasında gizle */
.basketball-page .goalkeeper,
.basketball-page .goal-zones,
.basketball-page .goal-zone,
.basketball-page .mid-line,
.mid-line {
    display: none !important;
}

/* YENİ EKLENEN STILLER */

/* Ana Sayfa Günlük Bonus */
.daily-bonus {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.bonus-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.bonus-header i {
    color: var(--accent-primary);
    font-size: 20px;
}

.bonus-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.step.active {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.5);
}

.step span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.step small {
    font-size: 10px;
    color: var(--text-secondary);
}

/* Destek Kartı */
.support-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
}

.support-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.support-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Profil Bölümü */
.profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.user-avatar.large {
    width: 60px;
    height: 60px;
    font-size: 24px;
}

.profile-info {
    flex: 1;
}

.profile-info h3 {
    margin-bottom: 4px;
    font-size: 16px;
}

.profile-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Davet Sayfası Hero */
.referral-hero {
    background: var(--gradient-accent);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.referral-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: balanceRotate 10s linear infinite;
}

.referral-badge {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
}

.referral-hero h3 {
    font-size: 24px;
    margin-bottom: 8px;
    position: relative;
}

.referral-hero p {
    opacity: 0.9;
    position: relative;
}

/* Liderlik Sayfası Top Oyuncular */
.top-players {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    margin: 20px 0;
    padding: 0 10px;
}

.top-player {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.top-player.first {
    transform: scale(1.1);
    background: var(--gradient-accent);
    border-color: rgba(0, 229, 255, 0.8);
    order: 2;
    margin-bottom: 10px;
}

.top-player.second {
    order: 1;
}

.top-player.third {
    order: 3;
}

.player-rank {
    font-size: 14px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.top-player.first .player-rank {
    color: white;
}

.player-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 20px;
}

.top-player.first .player-avatar {
    background: rgba(255, 255, 255, 0.2);
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-name {
    font-size: 12px;
    font-weight: 600;
}

.player-score {
    font-size: 11px;
    color: var(--text-secondary);
}

.top-player.first .player-score {
    color: rgba(255, 255, 255, 0.9);
}

/* Puan Çekme Sayfası İlerleme */
.balance-progress {
    margin-top: 15px;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Ödül Seçenekleri */
.withdraw-options {
    margin: 25px 0;
}

.withdraw-options h3 {
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.option-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 229, 255, 0.5);
}

.option-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: var(--accent-primary);
}

.option-card h4 {
    margin-bottom: 8px;
    font-size: 14px;
}

.option-card p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.option-badge {
    background: var(--warning-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

/* Daha Fazla Kazanç */
.earn-more {
    margin-top: 25px;
}

.earn-more h3 {
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.earn-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.earn-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.earn-item:hover {
    transform: translateX(4px);
    border-color: rgba(0, 229, 255, 0.5);
}

.earn-item i {
    font-size: 20px;
    color: var(--accent-primary);
    width: 24px;
}

.earn-item div {
    flex: 1;
}

.earn-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.earn-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

.earn-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

/* Animasyonlar */
@keyframes balanceRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Düzenlemeler */
@media (max-width: 375px) {
    .progress-steps {
        flex-direction: column;
        gap: 6px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .top-players {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .top-player {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .top-player.first {
        transform: none;
        order: 1;
        margin-bottom: 0;
    }
    
    .player-info {
        flex: 1;
        text-align: left;
    }
}

.auth-tabs {
    display: flex;
    background: rgba(31, 41, 55, 0.6);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.auth-tab.active {
    background: var(--gradient-accent);
    color: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.input-group {
    position: relative;
    margin-bottom: 16px;
}

.input-group input {
    width: 100%;
    padding: 16px 16px 16px 45px;
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.btn-link {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    text-decoration: underline;
}

.full-width {
    width: 100%;
}

/* Ad Modal Styles */
.ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.ad-modal.active {
    opacity: 1;
    visibility: visible;
}

.ad-modal-content {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 380px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
}

.ad-modal.active .ad-modal-content {
    transform: scale(1);
}

.ad-modal-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
    animation: iconBounce 2s ease-in-out infinite;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.ad-modal-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--accent-primary);
}

.ad-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.ad-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.ad-modal-actions button {
    flex: 1;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-modal-btn-yes {
    background: var(--gradient-accent);
    border: none;
    color: white;
}

.ad-modal-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

.ad-modal-btn-no {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.ad-modal-btn-no:hover {
    background: rgba(31, 41, 55, 1);
    transform: translateY(-2px);
}

.toast-icon.info {
    color: var(--accent-primary) !important;
}

/* Dil değiştirme butonları */
.language-btn.active {
    background: var(--gradient-accent);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

/* MODERN DİL BUTONLARI - Premium Stil */
.language-selector {
    display: flex;
    gap: 8px;
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 6px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.language-btn {
    flex: 1;
    background: transparent;
    border: 2px solid transparent;
    color: var(--text-secondary);
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 80px;
}

.language-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.language-btn:hover::before {
    left: 100%;
}

.language-btn:hover {
    color: var(--text-primary);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.2);
}

.language-btn.active {
    background: var(--gradient-accent);
    color: white;
    border-color: rgba(0, 229, 255, 0.8);
    transform: scale(1.05);
    box-shadow: 
        0 8px 25px rgba(0, 229, 255, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: languagePulse 2s infinite;
}

.language-btn.active::after {
    content: '✓';
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--success-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 255, 157, 0.5);
    animation: badgeBounce 0.6s ease;
}

@keyframes languagePulse {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(0, 229, 255, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(0, 229, 255, 0.6),
            0 0 0 1px rgba(255, 255, 255, 0.2) inset,
            0 0 15px rgba(0, 229, 255, 0.3);
    }
}

@keyframes badgeBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Buton içindeki bayrak emojileri */
.language-btn::first-letter {
    font-size: 16px;
    margin-right: 4px;
}

/* Login modal'daki dil butonları için özel stil */
.login-content .language-selector {
    margin-bottom: 25px;
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-content .language-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.login-content .language-btn.active {
    background: var(--gradient-accent);
    box-shadow: 
        0 6px 20px rgba(0, 229, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* Settings sayfasındaki dil butonları */
.settings-list .language-selector {
    margin-top: 8px;
    background: rgba(31, 41, 55, 0.4);
}

.settings-list .language-btn {
    font-size: 13px;
    padding: 10px 14px;
    min-width: 70px;
}

/* Hover efekti geliştirmesi */
.language-btn:not(.active):hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.5);
}

/* Mobil uyumluluk */
@media (max-width: 375px) {
    .language-btn {
        padding: 10px 12px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .language-btn.active::after {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -5px;
        right: -5px;
    }
}

/* Gece modu için ince ayarlar */
@media (prefers-color-scheme: dark) {
    .language-btn:not(.active) {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .language-btn:hover:not(.active) {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Tıklama animasyonu */
.language-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.language-btn.active:active {
    transform: scale(1.02);
}

/* Erişilebilirlik - focus durumu */
.language-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.3);
}

.language-btn.active:focus {
    box-shadow: 
        0 0 0 3px rgba(0, 229, 255, 0.3),
        0 8px 25px rgba(0, 229, 255, 0.4);
}

/* Gradient border efekti (opsiyonel - premium görünüm için) */
.language-btn.premium {
    border: double 2px transparent;
    background-image: 
        linear-gradient(var(--bg-card), var(--bg-card)),
        var(--gradient-accent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.language-btn.premium.active {
    background-image: var(--gradient-accent);
}

/* REFERANS BUTON STİLLERİ - Premium Desteği */
.submit-btn {
    background: var(--gradient-accent);
    border: none;
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
}

.submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Buton durumları */
.submit-btn.loading {
    background: linear-gradient(135deg, #7b61ff 0%, #00e5ff 100%);
    animation: buttonLoading 1.5s ease-in-out infinite;
}

.submit-btn.used {
    background: linear-gradient(135deg, #00ff9d 0%, #00cc7a 100%);
    cursor: not-allowed;
}

.submit-btn.success {
    background: linear-gradient(135deg, #00ff9d 0%, #00cc7a 100%);
    animation: buttonSuccess 0.6s ease;
}

.submit-btn.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    animation: buttonError 0.3s ease;
}

@keyframes buttonLoading {
    0%, 100% {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(123, 97, 255, 0.4);
    }
    50% {
        transform: translateY(-1px);
        box-shadow: 0 4px 15px rgba(123, 97, 255, 0.6);
    }
}

@keyframes buttonSuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes buttonError {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* Input alanı çok dilli stil */
#referral-input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(31, 41, 55, 0.6);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

#referral-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

#referral-input:disabled {
    background: rgba(31, 41, 55, 0.3);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Referans kod görüntüleme alanı */
.code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.code-display:hover {
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.code-display span {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    font-family: 'Courier New', monospace;
}

/* Input group responsive */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

@media (max-width: 375px) {
    .input-group {
        flex-direction: column;
    }
    
    .submit-btn {
        min-width: auto;
        padding: 12px 16px;
    }
    
    #referral-input {
        font-size: 14px;
        padding: 12px;
    }
}

/* Buton içindeki ikon animasyonları */
.submit-btn .fa-spinner {
    animation: spin 1s linear infinite;
}

.submit-btn .fa-check {
    transition: transform 0.3s ease;
}

.submit-btn.success .fa-check {
    animation: checkBounce 0.5s ease;
}

@keyframes checkBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Premium Scrollbar */
.main-content::-webkit-scrollbar {
    width: 6px;
}

.main-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 10px;
}

.main-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Premium Selection */
::selection {
    background: rgba(0, 229, 255, 0.3);
    color: white;
}

/* Premium Focus Effects */
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Premium Hover Effects */
.btn-primary,
.btn-secondary,
.submit-btn,
.copy-btn,
.shoot-button,
.play-button {
    position: relative;
    overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after,
.submit-btn::after,
.copy-btn::after,
.shoot-button::after,
.play-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.submit-btn:hover::after,
.copy-btn:hover::after,
.shoot-button:hover::after,
.play-button:hover::after {
    left: 100%;
}

/* Premium Background Patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(123, 97, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 255, 157, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Premium Text Shadows */
.hero-content h1,
.page-header h2,
.balance-amount,
.stat-number,
.player-score {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Premium Border Animations */
.action-card,
.setting-item,
.leaderboard-item,
.social-link {
    position: relative;
}

.action-card::after,
.setting-item::after,
.leaderboard-item::after,
.social-link::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-card:hover::after,
.setting-item:hover::after,
.leaderboard-item:hover::after,
.social-link:hover::after {
    opacity: 1;
}

/* Premium Loading States */
.loading-state {
    position: relative;
    overflow: hidden;
}

.loading-state::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Premium Icon Animations */
.fa-futbol,
.fa-trophy,
.fa-users,
.fa-cog,
.fa-home {
    transition: all 0.3s ease;
}

.nav-item:hover .fa-futbol,
.nav-item:hover .fa-trophy,
.nav-item:hover .fa-users,
.nav-item:hover .fa-cog,
.nav-item:hover .fa-home {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

/* Premium Pulse Effects */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Premium Glass Morphism Enhancements */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.glass-intense {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Premium Gradient Text */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Shadow Enhancements */
.shadow-glow {
    box-shadow: 
        0 0 20px rgba(0, 229, 255, 0.3),
        0 0 40px rgba(123, 97, 255, 0.2);
}

.shadow-glow:hover {
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.4),
        0 0 60px rgba(123, 97, 255, 0.3);
}

/* Premium Border Gradients */
.border-gradient {
    border: double 2px transparent;
    background-image: 
        linear-gradient(var(--bg-card), var(--bg-card)),
        var(--gradient-accent);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Premium Focus States */
.focus-glow:focus {
    box-shadow: 
        0 0 0 3px rgba(0, 229, 255, 0.1),
        0 0 20px rgba(0, 229, 255, 0.3);
}

/* Premium Transition Classes */
.transition-all-smooth {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-transform-smooth {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Hover Lift */
.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Premium Scale Hover */
.hover-scale:hover {
    transform: scale(1.05);
}

/* Premium Rotate Hover */
.hover-rotate:hover {
    transform: rotate(5deg);
}

/* Premium Background Animations */
.animate-bg {
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Premium Border Animation */
.border-animate {
    position: relative;
    overflow: hidden;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-accent);
    animation: borderFlow 2s linear infinite;
}

@keyframes borderFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Premium Text Glow */
.text-glow {
    text-shadow: 0 0 10px currentColor;
}

/* Premium Icon Glow */
.icon-glow {
    filter: drop-shadow(0 0 8px currentColor);
}

/* Premium Button Shine */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-shine:hover::before {
    left: 100%;
}

/* Premium Card Tilt */
.card-tilt {
    transition: transform 0.3s ease;
}

.card-tilt:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Premium Floating Animation */
.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Premium Shimmer Effect */
.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Premium Gradient Border */
.gradient-border {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* Premium Neon Effect */
.neon {
    text-shadow: 
        0 0 5px currentColor,
        0 0 10px currentColor,
        0 0 15px currentColor,
        0 0 20px currentColor;
}

/* Premium Glass Reflection */
.glass-reflection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Premium Depth Effect */
.depth {
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Premium Glow Border */
.glow-border {
    box-shadow: 
        0 0 0 1px rgba(0, 229, 255, 0.3),
        0 0 20px rgba(0, 229, 255, 0.2);
}

.glow-border:hover {
    box-shadow: 
        0 0 0 1px rgba(0, 229, 255, 0.6),
        0 0 30px rgba(0, 229, 255, 0.4);
}

/* Premium Magnetic Button */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic-btn:hover {
    transform: scale(0.95);
}

/* Premium Ripple Effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:active::after {
    width: 300px;
    height: 300px;
}

/* Premium Scroll Snap */
.snap-container {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

.snap-item {
    scroll-snap-align: start;
}

/* Premium Backdrop Effects */
.backdrop-blur {
    backdrop-filter: blur(20px);
}

.backdrop-brightness {
    backdrop-filter: brightness(1.2);
}

.backdrop-contrast {
    backdrop-filter: contrast(1.2);
}

/* Premium Gradient Mask */
.gradient-mask {
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Premium Text Stroke */
.text-stroke {
    -webkit-text-stroke: 1px var(--accent-primary);
    color: transparent;
}

/* Premium Clip Path */
.clip-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Premium Perspective */
.perspective-1000 {
    perspective: 1000px;
}

.transform-3d {
    transform-style: preserve-3d;
}

/* Premium Filter Effects */
.filter-glow {
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.filter-blur {
    filter: blur(10px);
}

/* Premium Mix Blend */
.blend-multiply {
    mix-blend-mode: multiply;
}

.blend-screen {
    mix-blend-mode: screen;
}

/* Premium CSS Grid */
.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

/* Premium Flexbox */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-around {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

/* Premium Position Utilities */
.absolute-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.absolute-cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Premium Z-index Scale */
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Premium Opacity Scale */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.opacity-100 { opacity: 1; }

/* Premium Border Radius Scale */
.rounded-sm { border-radius: 8px; }
.rounded-md { border-radius: 12px; }
.rounded-lg { border-radius: 16px; }
.rounded-xl { border-radius: 20px; }
.rounded-2xl { border-radius: 24px; }
.rounded-full { border-radius: 50%; }

/* Premium Shadow Scale */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Premium Spacing Scale */
.space-xs { gap: 4px; }
.space-sm { gap: 8px; }
.space-md { gap: 12px; }
.space-lg { gap: 16px; }
.space-xl { gap: 20px; }

/* Premium Text Scale */
.text-xs { font-size: 12px; }
.text-sm { font-size: 14px; }
.text-md { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }
.text-2xl { font-size: 24px; }
.text-3xl { font-size: 30px; }
.text-4xl { font-size: 36px; }

/* Premium Font Weight */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 800; }

/* Premium Line Height */
.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.75; }

/* Premium Letter Spacing */
.tracking-tight { letter-spacing: -0.5px; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.5px; }

/* Premium Text Transform */
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }

/* Premium Text Decoration */
.underline { text-decoration: underline; }
.line-through { text-decoration: line-through; }
.no-underline { text-decoration: none; }

/* Premium Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }
.cursor-default { cursor: default; }

/* Premium Pointer Events */
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }

/* Premium User Select */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }

/* Premium Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-visible { overflow: visible; }
.overflow-scroll { overflow: scroll; }
.overflow-auto { overflow: auto; }

/* Premium Visibility */
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Premium Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }

/* Premium Position */
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Premium Top/Right/Bottom/Left */
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }

/* Premium Width/Height */
.w-full { width: 100%; }
.h-full { height: 100%; }
.w-screen { width: 100vw; }
.h-screen { height: 100vh; }

/* Premium Min/Max Width/Height */
.min-w-0 { min-width: 0; }
.min-h-0 { min-height: 0; }
.max-w-full { max-width: 100%; }
.max-h-full { max-height: 100%; }

/* Premium Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }

/* Premium Object Position */
.object-center { object-position: center; }
.object-top { object-position: top; }
.object-bottom { object-position: bottom; }
.object-left { object-position: left; }
.object-right { object-position: right; }

/* Premium Background Size */
.bg-cover { background-size: cover; }
.bg-contain { background-size: contain; }
.bg-auto { background-size: auto; }

/* Premium Background Position */
.bg-center { background-position: center; }
.bg-top { background-position: top; }
.bg-bottom { background-position: bottom; }
.bg-left { background-position: left; }
.bg-right { background-position: right; }

/* Premium Background Repeat */
.bg-repeat { background-repeat: repeat; }
.bg-no-repeat { background-repeat: no-repeat; }
.bg-repeat-x { background-repeat: repeat-x; }
.bg-repeat-y { background-repeat: repeat-y; }

/* Premium Background Attachment */
.bg-fixed { background-attachment: fixed; }
.bg-local { background-attachment: local; }
.bg-scroll { background-attachment: scroll; }

/* Premium Border Styles */
.border-solid { border-style: solid; }
.border-dashed { border-style: dashed; }
.border-dotted { border-style: dotted; }
.border-double { border-style: double; }
.border-none { border-style: none; }

/* Premium Border Width */
.border-0 { border-width: 0; }
.border-1 { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-8 { border-width: 8px; }

/* Premium Outline */
.outline-none { outline: none; }
.outline-white { outline: 1px solid white; }
.outline-black { outline: 1px solid black; }

/* Premium Transition Properties */
.transition-none { transition: none; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }

/* Premium Transition Duration */
.duration-75 { transition-duration: 75ms; }
.duration-100 { transition-duration: 100ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }

/* Premium Transition Timing */
.ease-linear { transition-timing-function: linear; }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

/* Premium Animation */
.animate-spin { animation: spin 1s linear infinite; }
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Premium Transform */
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.transform-gpu { transform: translate3d(0, 0, 0); }

/* Premium Transform Origin */
.origin-center { transform-origin: center; }
.origin-top { transform-origin: top; }
.origin-top-right { transform-origin: top right; }
.origin-right { transform-origin: right; }
.origin-bottom-right { transform-origin: bottom right; }
.origin-bottom { transform-origin: bottom; }
.origin-bottom-left { transform-origin: bottom left; }
.origin-left { transform-origin: left; }
.origin-top-left { transform-origin: top left; }

/* Premium Scale */
.scale-0 { transform: scale(0); }
.scale-50 { transform: scale(0.5); }
.scale-75 { transform: scale(0.75); }
.scale-90 { transform: scale(0.9); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }
.scale-150 { transform: scale(1.5); }

/* Premium Rotate */
.rotate-0 { transform: rotate(0deg); }
.rotate-45 { transform: rotate(45deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }

/* Premium Translate */
.translate-x-0 { transform: translateX(0); }
.translate-y-0 { transform: translateY(0); }
.translate-x-full { transform: translateX(100%); }
.translate-y-full { transform: translateY(100%); }

/* Premium Skew */
.skew-x-0 { transform: skewX(0deg); }
.skew-y-0 { transform: skewY(0deg); }
.skew-x-3 { transform: skewX(3deg); }
.skew-y-3 { transform: skewY(3deg); }
.skew-x-6 { transform: skewX(6deg); }
.skew-y-6 { transform: skewY(6deg); }
.skew-x-12 { transform: skewX(12deg); }
.skew-y-12 { transform: skewY(12deg); }

/* Premium Filter */
.filter { filter: var(--tw-filter); }
.filter-none { filter: none; }

/* Premium Backdrop Filter */
.backdrop-filter { backdrop-filter: var(--tw-backdrop-filter); }
.backdrop-filter-none { backdrop-filter: none; }

/* Premium Blend Mode */
.blend-normal { mix-blend-mode: normal; }
.blend-multiply { mix-blend-mode: multiply; }
.blend-screen { mix-blend-mode: screen; }
.blend-overlay { mix-blend-mode: overlay; }
.blend-darken { mix-blend-mode: darken; }
.blend-lighten { mix-blend-mode: lighten; }
.blend-color-dodge { mix-blend-mode: color-dodge; }
.blend-color-burn { mix-blend-mode: color-burn; }
.blend-hard-light { mix-blend-mode: hard-light; }
.blend-soft-light { mix-blend-mode: soft-light; }
.blend-difference { mix-blend-mode: difference; }
.blend-exclusion { mix-blend-mode: exclusion; }
.blend-hue { mix-blend-mode: hue; }
.blend-saturation { mix-blend-mode: saturation; }
.blend-color { mix-blend-mode: color; }
.blend-luminosity { mix-blend-mode: luminosity; }

/* Premium Isolation */
.isolate { isolation: isolate; }
.isolation-auto { isolation: auto; }

/* Premium Appearance */
.appearance-none { appearance: none; }

/* Premium Columns */
.columns-1 { columns: 1; }
.columns-2 { columns: 2; }
.columns-3 { columns: 3; }

/* Premium Break Before */
.break-before-auto { break-before: auto; }
.break-before-avoid { break-before: avoid; }
.break-before-all { break-before: all; }
.break-before-avoid-page { break-before: avoid-page; }
.break-before-page { break-before: page; }
.break-before-left { break-before: left; }
.break-before-right { break-before: right; }
.break-before-column { break-before: column; }

/* Premium Break After */
.break-after-auto { break-after: auto; }
.break-after-avoid { break-after: avoid; }
.break-after-all { break-after: all; }
.break-after-avoid-page { break-after: avoid-page; }
.break-after-page { break-after: page; }
.break-after-left { break-after: left; }
.break-after-right { break-after: right; }
.break-after-column { break-after: column; }

/* Premium Break Inside */
.break-inside-auto { break-inside: auto; }
.break-inside-avoid { break-inside: avoid; }
.break-inside-avoid-page { break-inside: avoid-page; }
.break-inside-avoid-column { break-inside: avoid-column; }

/* Premium Box Decoration Break */
.decoration-slice { box-decoration-break: slice; }
.decoration-clone { box-decoration-break: clone; }

/* Premium Box Sizing */
.box-border { box-sizing: border-box; }
.box-content { box-sizing: content-box; }

/* Premium Display Box */
.contents { display: contents; }
.list-item { display: list-item; }

/* Premium Float */
.float-right { float: right; }
.float-left { float: left; }
.float-none { float: none; }

/* Premium Clear */
.clear-left { clear: left; }
.clear-right { clear: right; }
.clear-both { clear: both; }
.clear-none { clear: none; }

/* Premium Overscroll Behavior */
.overscroll-auto { overscroll-behavior: auto; }
.overscroll-contain { overscroll-behavior: contain; }
.overscroll-none { overscroll-behavior: none; }

/* Premium Scroll Behavior */
.scroll-auto { scroll-behavior: auto; }
.scroll-smooth { scroll-behavior: smooth; }

/* Premium Touch Action */
.touch-auto { touch-action: auto; }
.touch-none { touch-action: none; }
.touch-pan-x { touch-action: pan-x; }
.touch-pan-y { touch-action: pan-y; }

/* Premium User Select */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all { user-select: all; }
.select-auto { user-select: auto; }

/* Premium Resize */
.resize-none { resize: none; }
.resize-y { resize: vertical; }
.resize-x { resize: horizontal; }
.resize { resize: both; }

/* Premium Scroll Snap */
.snap-none { scroll-snap-type: none; }
.snap-x { scroll-snap-type: x mandatory; }
.snap-y { scroll-snap-type: y mandatory; }
.snap-both { scroll-snap-type: both mandatory; }

/* Premium Scroll Snap Align */
.snap-start { scroll-snap-align: start; }
.snap-end { scroll-snap-align: end; }
.snap-center { scroll-snap-align: center; }
.snap-align-none { scroll-snap-align: none; }

/* Premium Scroll Snap Stop */
.snap-normal { scroll-snap-stop: normal; }
.snap-always { scroll-snap-stop: always; }

/* Premium Scroll Margin */
.scroll-m-0 { scroll-margin: 0; }
.scroll-mx-0 { scroll-margin-left: 0; scroll-margin-right: 0; }
.scroll-my-0 { scroll-margin-top: 0; scroll-margin-bottom: 0; }

/* Premium Scroll Padding */
.scroll-p-0 { scroll-padding: 0; }
.scroll-px-0 { scroll-padding-left: 0; scroll-padding-right: 0; }
.scroll-py-0 { scroll-padding-top: 0; scroll-padding-bottom: 0; }

/* Premium Fill */
.fill-current { fill: currentColor; }

/* Premium Stroke */
.stroke-current { stroke: currentColor; }

/* Premium Stroke Width */
.stroke-0 { stroke-width: 0; }
.stroke-1 { stroke-width: 1; }
.stroke-2 { stroke-width: 2; }

/* Premium Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Premium Not Screen Reader */
.not-sr-only {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* Premium Focus Within */
.focus-within\:shadow-lg:focus-within {
    box-shadow: var(--shadow-lg);
}

/* Premium Group Hover */
.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

/* Premium Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .dark\:bg-gray-900 {
        background-color: #111827;
    }
}

/* Premium Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .motion-reduce\:transition-none {
        transition: none;
    }
}

/* Premium High Contrast Mode */
@media (prefers-contrast: high) {
    .contrast-more\:border-2 {
        border-width: 2px;
    }
}

/* Premium Print Styles */
@media print {
    .print\:hidden {
        display: none;
    }
}

/* Input alanlarında text-transform kaldır */
.input-group input {
    width: 100%;
    padding: 16px 16px 16px 45px;
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: none; /* ✅ Büyük harf zorlamasını kaldır */
}

.input-group input::placeholder {
    color: var(--text-secondary);
    text-transform: none; /* ✅ Placeholder'da da kaldır */
}

/* Referral input için özel ayar */
#referral-input {
    flex: 1;
    padding: 14px;
    border: 1px solid var(--glass-border);
    background: rgba(31, 41, 55, 0.6);
    color: var(--text-primary);
    border-radius: 12px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase; /* ✅ Sadece referral kodu büyük harf */
    font-weight: 600;
    transition: all 0.3s ease;
}



.games-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-card {
    background: var(--gradient-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-accent);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.game-card:hover::before {
    transform: scaleY(1);
}

.game-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 229, 255, 0.5);
}

.game-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
}

.game-card:hover .game-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.5);
}

.game-info {
    flex: 1;
}

.game-info h3 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.game-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.game-arrow {
    color: var(--text-secondary);
    font-size: 18px;
    transition: all 0.3s ease;
}

.game-card:hover .game-arrow {
    transform: translateX(4px);
    color: var(--accent-primary);
}

@media (max-width: 375px) {
    .game-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .game-info h3 {
        font-size: 15px;
    }
    
    .game-info p {
        font-size: 12px;
    }
}


/* ===================== REFERRAL — PONZİ STİL ===================== */
.referral-hero-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
}
.referral-label {
    font-size: 12px;
    color: var(--text-secondary, #b4bcd0);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}
.referral-hero-card .code-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 14px;
}
.referral-hero-card .code-display span {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 6px;
    color: #fff;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.share-btn:active { transform: scale(0.96); }

/* Stats Grid */
.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.ref-stat-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 16px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.ref-stat-card.highlight {
    border-color: rgba(247,151,30,0.4);
    background: rgba(247,151,30,0.07);
}
.ref-stat-card i {
    font-size: 18px;
    color: #f7971e;
}
.ref-stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.ref-stat-label {
    font-size: 10px;
    color: var(--text-secondary, #b4bcd0);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Ponzi Tree */
.ponzi-tree-card {
    background: linear-gradient(135deg, #0d1b2a, #1a2a3a);
    border: 1px solid rgba(0,212,255,0.15);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
}
.ponzi-tree-card h3 {
    margin: 0 0 16px;
    font-size: 15px;
    color: #fff;
}
.ponzi-levels { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ponzi-level { text-align: center; width: 100%; }
.ponzi-node.you-node {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f7971e, #ffd200);
    color: #000;
    font-weight: 800;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 14px;
}
.ponzi-connector {
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(0,212,255,0.4));
    margin: 0 auto;
}
.ponzi-badge {
    display: inline-block;
    border-radius: 50px;
    padding: 5px 16px;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 4px;
}
.ponzi-badge.green { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.3); }
.ponzi-badge.blue  { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.level-tag { font-size: 11px; color: var(--text-secondary, #b4bcd0); display: block; }

/* Referral Input Card */
.referral-input-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
}
.referral-input-card h3 { margin: 0 0 4px; font-size: 15px; }
.ref-input-note { font-size: 12px; color: var(--text-secondary, #b4bcd0); margin: 0 0 14px; }

/* Milestones */
.referral-milestones {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
}
.referral-milestones h3 { margin: 0 0 14px; font-size: 15px; }
.milestone-list { display: flex; flex-direction: column; gap: 10px; }
.milestone-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: border-color 0.3s;
}
.milestone-item.unlocked { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.05); }
.milestone-icon { font-size: 20px; color: #f7971e; width: 28px; text-align: center; }
.milestone-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.milestone-info strong { font-size: 14px; color: #fff; }
.milestone-info span { font-size: 12px; color: var(--text-secondary, #b4bcd0); }
.milestone-status { font-size: 14px; color: #555; }
.milestone-item.unlocked .milestone-status { color: #22c55e; }

/* ===================== OYUN — MODERN STİL ===================== */
.football-field {
    background: radial-gradient(ellipse at 50% 30%, #0a1628 0%, #05080f 100%);
    position: relative;
    overflow: hidden;
}
.football-field::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 50% 10%, rgba(0,212,255,0.04) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(247,151,30,0.03) 0%, transparent 50%);
    pointer-events: none;
}
/* Top parıltısı — basket altına */
.basketball-hoop::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: radial-gradient(ellipse, rgba(255,165,0,0.25) 0%, transparent 70%);
    pointer-events: none;
}
/* Shoot butonu modernleşmesi */
.shoot-button {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%) !important;
    color: #000 !important;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 2px;
    border-radius: 18px !important;
    box-shadow: 0 0 30px rgba(247,151,30,0.4), 0 8px 24px rgba(0,0,0,0.4) !important;
    transition: transform 0.15s, box-shadow 0.15s !important;
}
.shoot-button:not(:disabled):active {
    transform: scale(0.94) !important;
    box-shadow: 0 0 15px rgba(247,151,30,0.3) !important;
}
.shoot-button:disabled {
    background: linear-gradient(135deg, #333, #444) !important;
    color: #666 !important;
    box-shadow: none !important;
}
/* Reklam butonu */
#watch-ad-btn {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 1px solid rgba(0,212,255,0.3);
    color: #00d4ff;
    font-size: 12px;
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 0 12px rgba(0,212,255,0.1);
}


@keyframes ripple {
    0% {
        opacity: 1;
        transform: scale(0);
    }
    100% {
        opacity: 0;
        transform: scale(2.5);
    }
}


/*
    BASKET MASTER - PREMIUM REDESIGN
    Modern, Fluid, and Mobile-First CSS
    Main Tone: Deep Glass Dark with Cyan-Purple Accents
*/

:root {
    /* Main Tone & Colors */
    --bg-primary: #06060c;
    --bg-secondary: #0d0d1f;
    --bg-tertiary: #15152d;
    --bg-card: rgba(255, 255, 255, 0.04);
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0c0;
    --text-muted: #6b7280;
    
    --accent-primary: #00e5ff;
    --accent-secondary: #7b61ff;
    --accent-hover: #00c4e6;
    
    --success-color: #00ff9d;
    --warning-color: #ffd166;
    --error-color: #ff6b6b;
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    --gradient-accent: linear-gradient(135deg, #00e5ff 0%, #7b61ff 100%);
    --gradient-hero: radial-gradient(circle at top right, #1e1e36, #0a0a14);
    
    /* Effects */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Safe Areas */
    --safe-area-top: env(safe-area-inset-top, 0px);
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
}

/* ═══════════════════════════════════════
   BASE STYLES
═══════════════════════════════════════ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    height: 100vh;
    width: 100vw;
    position: fixed;
}


@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   LAYOUT & HEADER
═══════════════════════════════════════ */
.app-container {
    max-width: 500px;
    margin: 0 auto;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: var(--safe-area-top);
    padding-bottom: var(--safe-area-bottom);
}

.header {
    padding: 16px 20px;
    background: rgba(6, 6, 12, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.currency-display {
    display: flex;
    gap: 12px;
}

.currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    font-weight: 700;
    font-size: 14px;
}

.currency-item i {
    color: var(--accent-primary);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* ═══════════════════════════════════════
   MAIN CONTENT
═══════════════════════════════════════ */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 100px; /* Space for navbar */
    scrollbar-width: none;
}

.main-content::-webkit-scrollbar { display: none; }

.page {
    display: none;
    padding: 20px;
   
}

.page.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    margin-bottom: 24px;
}

.page-header h2 {
    font-size: 28px;
    font-weight: 800;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ═══════════════════════════════════════
   HOME PAGE
═══════════════════════════════════════ */
.hero-section {
    margin-bottom: 24px;
}

.hero-content {
    background: var(--gradient-hero);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.stat-item {
    background: var(--bg-card);
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-primary);
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

.play-button {
    width: 100%;
    padding: 16px;
    background: var(--gradient-accent);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
    transition: transform 0.2s;
}

.play-button:active { transform: scale(0.98); }

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: background 0.3s;
}

.action-card i {
    font-size: 24px;
    color: var(--accent-secondary);
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════
   GAME PAGE
═══════════════════════════════════════ */
.game-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-header {
    background: var(--bg-card);
    padding: 12px 20px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.football-field {
    flex: 1;
    position: relative;
    background: linear-gradient(180deg, #0d0d1f 0%, #06060c 100%);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.goal-area {
    height: 300px;
    position: relative;
}

.basketball-hoop {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}



/* ═══════════════════════════════════════
   REFERRAL PAGE
═══════════════════════════════════════ */
.referral-card {
    background: var(--gradient-hero);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.referral-code-box {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 12px;
    margin: 16px 0;
    border: 1px dashed var(--accent-primary);
}

.referral-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}


.referral-earnings-detail-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
}

/* THE MAIN TONE CLASS */
.ref-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 16px 8px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ref-stat-card.highlight {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.ref-stat-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════
   WITHDRAW PAGE
═══════════════════════════════════════ */
.balance-card {
    background: var(--gradient-accent);
    padding: 30px;
    border-radius: 24px;
    text-align: center;
    margin-bottom: 24px;
}

.balance-amount {
    font-size: 36px;
    font-weight: 900;
}

.withdraw-option {
    background: var(--bg-card);
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--glass-border);
}

/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 31, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px 24px 0 0;
    display: flex;
    padding: 10px 10px calc(10px + var(--safe-area-bottom));
    border-top: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
    min-width: 0;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.nav-item i { font-size: 20px; }
.nav-item span { font-size: 10px; font-weight: 600; }

.nav-item.active {
    color: var(--accent-primary);
}

/* ═══════════════════════════════════════
   MODALS & TOASTS
═══════════════════════════════════════ */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal.active { display: flex; }

.modal-content {
    background: var(--bg-secondary);
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.toast {
    position: fixed;
    top: calc(40px + var(--safe-area-top));
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    border: 1px solid var(--accent-primary);
    padding: 12px 24px;
    border-radius: 50px;
    z-index: 3000;
    display: none;
}

/* ── EARN SHOTS BUTONU ─────────────────────────────────────── */
.btn-earn-shots {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(245,158,11,0.4);
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-earn-shots:active { transform: scale(0.95); }
.earn-shots-icon { font-size: 16px; }

/* ── EARN SHOTS MODAL ──────────────────────────────────────── */
.earn-shots-modal-wrap.active { display: flex; }
.earn-shots-modal {
    max-width: 340px;
    width: 92%;
    padding: 24px 20px;
    position: relative;
    text-align: center;
}
.earn-shots-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none; border: none;
    color: var(--text-secondary, #888);
    font-size: 18px; cursor: pointer;
}
.earn-shots-header { margin-bottom: 18px; }
.earn-shots-trophy { font-size: 40px; margin-bottom: 6px; }
.earn-shots-header h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.earn-shots-header p { margin: 0; font-size: 13px; color: var(--text-secondary, #aaa); }

.earn-shots-lock {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
    color: var(--text-secondary, #aaa);
    font-size: 14px;
}
.earn-shots-lock i { font-size: 40px; color: #f59e0b; }
.earn-shots-timer { font-size: 28px; font-weight: 700; color: var(--text-primary, #fff); letter-spacing: 2px; }

.earn-shots-active {
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.earn-shots-progress-ring { position: relative; width: 120px; height: 120px; }
.earn-shots-progress-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 8; }
.ring-fill {
    fill: none;
    stroke: #f59e0b;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}
.ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.ring-center span { font-size: 22px; color: var(--text-primary, #fff); }
.ring-center small { font-size: 11px; color: var(--text-secondary, #aaa); }

.earn-tap-zone {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(245,158,11,0.05));
    border: 2px dashed #f59e0b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.08s;
    user-select: none;
    -webkit-user-select: none;
}
.earn-tap-ball { width: 52px; height: 52px; object-fit: contain; pointer-events: none; }
.earn-tap-zone p { margin: 4px 0 0; font-size: 12px; font-weight: 600; color: #f59e0b; pointer-events: none; }

.earn-shots-info { font-size: 12px; color: var(--text-secondary, #aaa); }
.earn-shots-info strong { color: var(--text-primary, #fff); font-size: 15px; }

.earn-shots-done {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
}
.earn-done-icon { font-size: 48px; }
.earn-shots-done p { font-size: 15px; font-weight: 600; color: #22c55e; }

/* ── SETTINGS LOGOUT CARD ──────────────────────────────────── */
.setting-logout { border-top: 1px solid rgba(239,68,68,0.2); margin-top: 4px; }

/* ── POLICY MODAL ──────────────────────────────────────────── */
.policy-modal-wrap.active { display: flex; }
.policy-modal-content {
    max-width: 420px;
    width: 94%;
    padding: 0;
    overflow: hidden;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
.policy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.policy-modal-header h3 { margin: 0; font-size: 16px; font-weight: 700; }
.policy-modal-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-secondary, #aaa);
    flex: 1;
}
.policy-modal-body h4 { color: var(--text-primary, #fff); margin-bottom: 10px; }
.policy-modal-body a { color: #f59e0b; }

/* ── AGREEMENT CHECKBOXES ──────────────────────────────────── */
.agreement-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}
.agreement-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #f59e0b;
    cursor: pointer;
    margin-top: 2px;
    flex-shrink: 0;
}
.agreement-text {
    margin: 0;
    font-size: 12px;
    color: var(--text-secondary, #aaa);
    line-height: 1.5;
}
.agreement-text a { color: #f59e0b; text-decoration: none; }
.agreement-text a:hover { text-decoration: underline; }

/* ─── WITHDRAW SITE CARD ─────────────────────────────────────────────────── */
.withdraw-site-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.04));
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    padding: 16px 18px;
    margin: 16px 16px 0;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.withdraw-site-card:active {
    transform: scale(0.97);
    background: rgba(245, 158, 11, 0.18);
}

.withdraw-site-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.withdraw-site-icon i {
    color: #f59e0b;
    font-size: 18px;
}

.withdraw-site-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.withdraw-site-label {
    font-size: 13px;
    color: var(--text-secondary, #b4bcd0);
    font-weight: 400;
}

.withdraw-site-url {
    font-size: 15px;
    font-weight: 600;
    color: #f59e0b;
    letter-spacing: 0.3px;
}

.withdraw-site-arrow {
    color: rgba(245, 158, 11, 0.6);
    font-size: 14px;
    flex-shrink: 0;
}

/* style.css — milestone claim flash animasyonu */
@keyframes milestonePulse {
    0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%  { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(34,197,94,0);  }
    100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(34,197,94,0);   }
}
.milestone-claimed-flash {
    animation: milestonePulse 0.7s ease;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 370px) {
    .hero-content h1 { font-size: 24px; }
    .stat-number { font-size: 20px; }
    .currency-item { padding: 9px 12px; font-size: 13px; }
    .header-content { padding: 10px 12px; }
}

@media (max-width: 320px) {
    .hero-content h1 { font-size: 20px; }
    .currency-item { gap: 6px; padding: 8px 10px; font-size: 12px; }
}

/* Tablet / geniş ekran — yalnızca web tarayıcıda görünür */
@media (min-width: 600px) and (display-mode: browser) {
    body { background: #000; }
    .app-container {
        max-width: 414px;
        margin: 0 auto;
        border-left: 1px solid var(--glass-border);
        border-right: 1px solid var(--glass-border);
        background: var(--bg-primary);
    }
    .bottom-nav {
        max-width: 414px;
        left: 50%;
        transform: translateX(-50%);
    }
}

#scene {
    position: relative;
    transform: translateZ(0);
  }
  
  .game-object {
    position: absolute;
    transform: translateZ(0);
  }

  /* ═══════════════════════════════════════
   FUTBOL OYUNU — PENALTI SAHASI STİLLERİ
   v3 — zone fix + top küçük + çizgiler
═══════════════════════════════════════ */

.football-field {
    background:
        repeating-linear-gradient(
            180deg,
            transparent 0px, transparent 36px,
            rgba(0,0,0,0.07) 36px, rgba(0,0,0,0.07) 72px
        ),
        linear-gradient(to bottom, #1e5c1e 0%, #155215 60%, #0e3d0e 100%) !important;
    border-radius: 20px !important;
    padding: 16px 16px 0 16px !important;
    margin-bottom: 14px !important;
    position: relative !important;
    min-height: 400px !important;
    border: 2px solid rgba(255,255,255,0.1) !important;
    overflow: hidden !important;
    box-shadow: inset 0 0 60px rgba(0,0,0,0.35) !important;
}

.football-field::before {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(255,255,255,0.05) 0%, transparent 65%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

/* Kale alanı */
.goal-area {
    position: relative !important;
    height: 155px !important;
    margin-bottom: 0 !important;
    background: none !important;
    z-index: 2 !important;
}

/* Kale direği */
/* Kale direği — SADECE border/şekil, background YOK, position:static
   background veya position:relative burada stacking context yaratır
   ve içindeki zone z-index'lerini kırar */
.goalpost {
    width: 88% !important;
    height: 100% !important;
    margin: 0 auto !important;
    border: 3px solid rgba(255,255,255,0.92) !important;
    border-bottom: none !important;
    border-radius: 6px 6px 0 0 !important;
    position: relative !important;
    background: none !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

/* Pseudo-element'lar tamamen kapalı */
.goalpost::before,
.goalpost::after {
    display: none !important;
}

/* Kale bölgeleri — bg + ağ efekti burada, zone'lar görünür ve tıklanabilir */
.goal-zones {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-rows: 1fr 1fr 1fr !important;
    gap: 0 !important;
    pointer-events: all !important;
    /* Kale arka planı + ağ çizgisi — artık pseudo-element değil, doğrudan burada */
    background-color: rgba(0,0,0,0.5) !important;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px) !important;
    background-size: 22px 22px !important;
    box-shadow: inset 0 0 24px rgba(0,0,0,0.5) !important;
}

.goal-zone {
    background: transparent !important;
    cursor: crosshair !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    box-sizing: border-box !important;
    transition: background 0.12s !important;
    pointer-events: all !important;
}

/* Dış kenarlardaki çift çizgiyi gizle (goalpost zaten border var) */
.goal-zone:nth-child(1),
.goal-zone:nth-child(2),
.goal-zone:nth-child(3) { border-top: none !important; }

.goal-zone:nth-child(7),
.goal-zone:nth-child(8),
.goal-zone:nth-child(9) { border-bottom: none !important; }

.goal-zone:nth-child(1),
.goal-zone:nth-child(4),
.goal-zone:nth-child(7) { border-left: none !important; }

.goal-zone:nth-child(3),
.goal-zone:nth-child(6),
.goal-zone:nth-child(9) { border-right: none !important; }

.goal-zone:hover {
    background: rgba(0, 210, 255, 0.2) !important;
}

.goal-zone.selected {
    outline: 3px solid rgba(255, 220, 0, 1.0) !important;
    outline-offset: -3px !important;
    background: rgba(255, 220, 0, 0.25) !important;
    border-color: rgba(255,220,0,0.6) !important;
    animation: zoneGlowPulse 0.65s ease-in-out infinite alternate !important;
}

@keyframes zoneGlowPulse {
    from { outline-color: rgba(255,220,0,0.7) !important; background: rgba(255,220,0,0.15) !important; }
    to   { outline-color: rgba(255,220,0,1.0) !important; background: rgba(255,220,0,0.30) !important; }
}

/* Kaleci — z-index kalede düşük, zone'ların ALTINDA */
.goalkeeper {
    position: absolute !important;
    bottom: 0px !important;
    left: 50% !important;
    transform: translateX(-50%) scale(1.1) !important;
    transition: none !important;
    width: 80px !important;
    height: 98px !important;
    z-index: 5 !important;
    pointer-events: none !important;
    display: block !important;
    visibility: visible !important;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.7)) !important;
}

.goalkeeper-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* Penaltı noktası alanı — top uzakta */
.penalty-area {
    text-align: center !important;
    position: relative !important;
    padding-top: 80px !important;
    padding-bottom: 22px !important;
    border-top: 2px solid rgba(255,255,255,0.18) !important;
    z-index: 3 !important;
    background: transparent !important;
}

.penalty-area::before {
    display: none !important;
}

.penalty-area::after {
    display: none !important;
}

.ball-container {
    position: relative !important;
    display: inline-block !important;
    top: 40px;
}

/* Top — 28px, küçük ve gerçekçi */
.football {
    cursor: default !important;
    display: inline-block !important;
    width: 28px !important;
    height: 28px !important;
    position: relative !important;
    z-index: 10 !important;
    will-change: transform !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
    pointer-events: none !important;
}

.football.shooting {
    animation: none !important;
}

.ball-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6)) !important;
}

/* Penaltı noktası */
.penalty-spot {
    width: 7px !important;
    height: 7px !important;
    background: rgba(255,255,255,0.75) !important;
    border-radius: 50% !important;
    margin: 8px auto 0 !important;
    box-shadow: 0 0 6px rgba(255,255,255,0.5) !important;
}

/* Güç çubuğu */
.power-bar {
    position: relative !important;
    width: 100% !important;
    height: 20px !important;
    background: rgba(0,0,0,0.35) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
}

.power-fill {
    height: 100% !important;
    border-radius: 10px !important;
    transition: width 0.05s linear !important;
    position: relative !important;
}

.power-percentage {
    position: absolute !important;
    left: 50% !important;
    top: -26px !important;
    transform: translateX(-50%) !important;
    font-size: 13px !important;
    color: white !important;
    font-weight: 800 !important;
    text-shadow: 1px 1px 3px #000 !important;
    white-space: nowrap !important;
}

/* Şut butonu */
.shoot-button {
    background: linear-gradient(135deg, #e8420a 0%, #f59e0b 100%) !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    letter-spacing: 3px !important;
    border-radius: 16px !important;
    box-shadow: 0 0 0 3px rgba(232,66,10,0.2), 0 6px 24px rgba(232,66,10,0.45) !important;
    border: none !important;
    width: 100% !important;
    padding: 17px !important;
    cursor: pointer !important;
    transition: transform 0.12s, box-shadow 0.12s !important;
}

.shoot-button:not(:disabled):active {
    transform: scale(0.96) !important;
}

.shoot-button:disabled {
    background: linear-gradient(135deg, #222, #333) !important;
    color: #555 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.shoot-button i {
    margin-right: 10px !important;
    font-size: 20px !important;
    animation: none !important;
}

/* Oyun kontrolleri kartı */
.game-controls {
    background: rgba(10, 12, 22, 0.90) !important;
    border-radius: 20px !important;
    padding: 16px !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(12px) !important;
    position: relative !important;
    top: 0 !important;
}

.power-meter {
    margin-bottom: 20px !important;
}

.power-meter label {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.55) !important;
}

.game-header {
    background: rgba(10, 12, 22, 0.88) !important;
    border-radius: 16px !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    border: 1px solid rgba(255,255,255,0.06) !important;
    backdrop-filter: blur(10px) !important;
}

/* GOL animasyonu */
.goal-animation {
    position: fixed !important;
    top: 28% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 36px !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 0 0 24px #ffcc00 !important;
    z-index: 99999 !important;
    animation: goalPop 2s ease forwards !important;
    pointer-events: none !important;
    background: rgba(255,190,0,0.12) !important;
    border: 2px solid rgba(255,190,0,0.45) !important;
    border-radius: 18px !important;
    padding: 14px 28px !important;
    backdrop-filter: blur(8px) !important;
    white-space: nowrap !important;
}

@keyframes goalPop {
    0%   { opacity:0; transform: translateX(-50%) scale(0.5); }
    18%  { opacity:1; transform: translateX(-50%) scale(1.12); }
    32%  { transform: translateX(-50%) scale(0.96); }
    50%  { transform: translateX(-50%) scale(1.04); }
    80%  { opacity:1; transform: translateX(-50%) scale(1); }
    100% { opacity:0; transform: translateX(-50%) scale(0.95) translateY(-20px); }
}

.miss-animation {
    position: fixed !important;
    top: 28% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #ff4444 !important;
    z-index: 99999 !important;
    animation: missFade 1.6s ease forwards !important;
    pointer-events: none !important;
    background: rgba(255,68,68,0.1) !important;
    border: 1.5px solid rgba(255,68,68,0.3) !important;
    border-radius: 14px !important;
    padding: 12px 24px !important;
    backdrop-filter: blur(6px) !important;
    white-space: nowrap !important;
}

@keyframes missFade {
    0%   { opacity:0; transform: translateX(-50%) translateY(8px); }
    18%  { opacity:1; transform: translateX(-50%) translateY(0); }
    75%  { opacity:1; }
    100% { opacity:0; transform: translateX(-50%) translateY(-18px); }
}

@media (max-width: 480px) {
    .football-field {
        min-height: 340px !important;
        padding: 12px 12px 0 12px !important;
    }
    .goal-area {
        height: 130px !important;
    }
    .goalkeeper {
        width: 62px !important;
        height: 80px !important;
    }
    .football {
        width: 24px !important;
        height: 24px !important;
    }
    .penalty-area {
        padding-top: 65px !important;
    }

    .ball-container {
        margin-top: 40px;
    }
}

@media (max-height: 667px) {
    .football-field {
        min-height: 300px !important;
    }
    .goal-area {
        height: 115px !important;
    }
    .goalkeeper {
        width: 58px !important;
        height: 66px !important;
    }

    .ball-container {
        margin-top: 40px;
    }
}