/* ===============================================
   FUTURISTIC HERO SECTION
   Cyberpunk-inspired design matching header theme
   =============================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ========== HERO SECTION ========== */
.hero-futuristic {
    position: relative;
    height: calc(100vh - 40px - 70px); /* Header + ticker yüksekliği çıkarılıyor */
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.98) 0%, 
        rgba(15, 25, 20, 0.98) 50%, 
        rgba(10, 10, 15, 0.98) 100%
    );
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.hero-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 255, 127, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 127, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    /* animation: gridMove 20s linear infinite; */ /* Disabled - too much movement */
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.hero-header {
    margin-bottom: 40px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 4px;
    color: #00FF7F;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
    /* animation: badgePulse 2s ease-in-out infinite; */ /* Disabled - too much movement */
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.4);
    }
    50% { 
        box-shadow: 0 0 20px 5px rgba(0, 255, 127, 0.2);
    }
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #00FF7F, #00CC63, #00FF7F);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(0, 255, 127, 0.5);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Sabit başlık - animasyon yok */
.glitch-effect {
    position: relative;
    text-shadow: 
        0 0 20px rgba(0, 255, 127, 0.5),
        0 0 40px rgba(0, 255, 127, 0.3);
}


.hero-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin-bottom: 40px;
}

.text-accent {
    color: #00FF7F;
    font-weight: 500;
}

/* ========== CYBER BUTTONS ========== */
.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn-cyber {
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cyber-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(0, 255, 127, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cyber-primary .btn-cyber-content {
    background: linear-gradient(135deg, 
        rgba(0, 255, 127, 0.1) 0%, 
        rgba(0, 255, 127, 0.05) 100%
    );
    border-color: #00FF7F;
}

.btn-cyber-icon {
    font-size: 18px;
}

.btn-cyber-text {
    font-size: 13px;
    font-weight: 500;
}

.btn-cyber-primary {
    color: #00FF7F;
}

.btn-cyber-secondary {
    color: rgba(255, 255, 255, 0.8);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 127, 0.4), 
        transparent
    );
    transition: left 0.5s ease;
}

.btn-cyber:hover::before {
    left: 100%;
}

.btn-cyber-primary:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 20px rgba(0, 255, 127, 0.3));
}

.btn-cyber-secondary:hover {
    color: #00FF7F;
    transform: translateY(-2px);
}

.btn-cyber-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 127, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.btn-cyber:hover .btn-cyber-glow {
    opacity: 1;
}

/* ========== QUICK STATS ========== */
.quick-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.quick-stat-item {
    position: relative;
    text-align: center;
}

.quick-stat-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #00FF7F;
    text-shadow: 0 0 20px rgba(0, 255, 127, 0.5);
    margin-bottom: 5px;
}

.quick-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.quick-stat-indicator {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        #00FF7F, 
        transparent
    );
    animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
    0%, 100% { opacity: 0.3; width: 30px; }
    50% { opacity: 1; width: 50px; }
}

/* ========== FEATURE CARDS ========== */
.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card-cyber {
    position: relative;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(0, 255, 127, 0.2);
    padding: 25px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.feature-card-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        #00FF7F, 
        transparent
    );
    animation: scanLine 3s ease-in-out infinite;
}

.feature-card-cyber:hover {
    background: rgba(0, 255, 127, 0.05);
    border-color: #00FF7F;
    box-shadow: 0 10px 30px rgba(0, 255, 127, 0.2);
}

.feature-cyber-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.feature-cyber-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: #00FF7F;
    margin-bottom: 8px;
    font-weight: 600;
}

.feature-cyber-content p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.feature-cyber-border {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 255, 127, 0.6), 
        transparent
    );
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-cyber:hover .feature-cyber-border {
    transform: scaleX(1);
}

/* ========== STATS DASHBOARD ========== */
.stats-dashboard {
    background: linear-gradient(180deg, 
        rgba(10, 10, 15, 0.98) 0%, 
        rgba(15, 20, 25, 0.98) 100%
    );
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 40px); /* Header yüksekliği çıkarılıyor */
    display: flex;
    align-items: center;
}

.stats-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 127, 0.6) 50%, 
        transparent 100%
    );
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.stats-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #00FF7F;
    letter-spacing: 2px;
    font-weight: 600;
}

.stats-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #00FF7F;
    border-radius: 50%;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 127, 0.7);
    }
    50% {
        opacity: 0.6;
        box-shadow: 0 0 0 6px rgba(0, 255, 127, 0);
    }
}

.stats-grid-cyber {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.stat-card-cyber {
    position: relative;
    background: rgba(20, 25, 30, 0.6);
    border: 1px solid rgba(0, 255, 127, 0.1);
    padding: 25px 20px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card-cyber.active {
    border-color: rgba(0, 255, 127, 0.5);
    background: rgba(0, 255, 127, 0.05);
}

.stat-card-cyber:hover {
    border-color: rgba(0, 255, 127, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.stat-cyber-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 127, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card-cyber:hover .stat-cyber-bg {
    opacity: 1;
}

.stat-cyber-content {
    position: relative;
    z-index: 2;
}

.stat-cyber-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.stat-cyber-value {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #00FF7F;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(0, 255, 127, 0.4);
}

.stat-cyber-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* ===============================================
   LOBBY TICKER SECTION
   Kayan lobby kodları banner
   =============================================== */

.lobby-ticker-section {
    background: linear-gradient(135deg, 
        rgba(15, 25, 20, 0.95) 0%, 
        rgba(10, 10, 15, 0.98) 50%, 
        rgba(15, 25, 20, 0.95) 100%
    );
    border-top: 1px solid rgba(0, 255, 127, 0.2);
    border-bottom: 1px solid rgba(0, 255, 127, 0.2);
    padding: 15px 0;
    position: relative;
    overflow: hidden;
}


.lobby-ticker-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.lobby-ticker-header {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    padding: 0 20px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: #00FF7F;
    text-shadow: 0 0 10px rgba(0, 255, 127, 0.5);
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}


.ticker-icon {
    font-size: 1.2rem;
}

.ticker-live {
    color: #FF4655;
    animation: livePulse 2s infinite;
    font-size: 0.8rem;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.lobby-ticker-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 127, 0.1);
}

.lobby-ticker {
    display: flex;
    align-items: center;
    height: 100%;
    animation: tickerScroll 40s linear infinite;
    gap: 0px; /* Remove gaps for seamless scrolling */
    padding: 0;
    white-space: nowrap;
    will-change: transform; /* Performance optimization */
    transform: translate3d(0, 0, 0); /* Hardware acceleration */
}

.lobby-ticker:hover {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-200%, 0, 0); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 70, 85, 0.08);
    border: none;
    border-radius: 4px;
    border-left: 2px solid rgba(255, 70, 85, 0.15);
    border-right: 2px solid rgba(255, 70, 85, 0.15);
    padding: 8px 15px;
    margin: 0 2px; /* Minimal spacing for connected look */
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
    position: relative;
}



.ticker-item:hover {
    background: rgba(255, 70, 85, 0.2);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 70, 85, 0.3);
}

.ticker-lobby-code {
    color: var(--valorant-red);
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(255, 70, 85, 0.6);
}

.ticker-game-mode {
    color: #00FF7F;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.ticker-rank {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticker-rank-range {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ticker-rank .rank-icon {
    width: 24px !important;
    height: 24px !important;
}

.ticker-rank-text {
    color: #FFD700;
    font-weight: 500;
    font-size: 0.75rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.rank-separator {
    color: #FFD700;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 2px;
}

.ticker-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}


.ticker-loading {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

