/* ===================================
   GAMING CSS - CYBERPUNK THEME
   =================================== */

/* CSS Variables */
:root {
    /* Gaming Color Palette */
    --color-bg-dark: #0a0a0f;
    --color-bg-darker: #050508;
    --color-bg-card: #13131a;
    --color-crimson: #ff0055;
    --color-electric-blue: #00d9ff;
    --color-purple: #b400ff;
    --color-neon-green: #39ff14;
    --color-text-primary: #ffffff;
    --color-text-secondary: #b8b8c4;
    --color-text-tertiary: #6a6a7a;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-crimson), var(--color-purple));
    --gradient-secondary: linear-gradient(135deg, var(--color-electric-blue), var(--color-purple));
    --gradient-neon: linear-gradient(135deg, var(--color-crimson), var(--color-electric-blue));
    
    /* Typography */
    --font-display: 'Russo One', sans-serif;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Shadows & Glows */
    --glow-crimson: 0 0 20px rgba(255, 0, 85, 0.6), 0 0 40px rgba(255, 0, 85, 0.3);
    --glow-blue: 0 0 20px rgba(0, 217, 255, 0.6), 0 0 40px rgba(0, 217, 255, 0.3);
    --glow-purple: 0 0 20px rgba(180, 0, 255, 0.6), 0 0 40px rgba(180, 0, 255, 0.3);
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Hide default cursor */
body {
    cursor: none;
}

/* Main cursor container */
.gaming-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
}

/* Center dot */
.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-crimson);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-crimson);
    transform: translate(-50%, -50%);
}

/* Outer rotating ring */
.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-electric-blue);
    border-radius: 50%;
    box-shadow: 
        0 0 15px var(--color-electric-blue),
        0 0 30px rgba(0, 217, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: rotateRing 4s linear infinite;
    transition: 0.2s ease;
}

/* Crosshair lines */
.cursor-ring::before,
.cursor-ring::after {
    content: "";
    position: absolute;
    background: var(--color-purple);
}

.cursor-ring::before {
    width: 2px;
    height: 14px;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

.cursor-ring::after {
    width: 14px;
    height: 2px;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hover effect */
.cursor-hover .cursor-ring {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--color-crimson);
    box-shadow: 
        0 0 25px var(--color-crimson),
        0 0 50px rgba(255, 0, 85, 0.8);
}

/* Rotation animation */
@keyframes rotateRing {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Disable on mobile */
@media (max-width: 768px) {
    .gaming-cursor {
        display: none;
    }
    body {
        cursor: default;
    }
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    font-weight: 500;
    overflow-x: hidden;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
    border-left: 1px solid rgba(255, 0, 85, 0.2);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-crimson);
    box-shadow: var(--glow-crimson);
}

::selection {
    background: var(--color-crimson);
    color: white;
}

/* ===================================
   ANIMATED BACKGROUND
   =================================== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--color-bg-dark);
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 20%, rgba(255, 0, 85, 0.15), transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(0, 217, 255, 0.15), transparent 50%);
    pointer-events: none;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 5px 30px rgba(255, 0, 85, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    cursor: pointer;
}

.logo-icon {
    font-size: 2rem;
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-size: 1.4rem;
    letter-spacing: 2px;
    color: var(--color-text-primary);
}

.logo-highlight {
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
}

.logo-tag {
    font-size: 0.9rem;
    color: var(--color-electric-blue);
    letter-spacing: 3px;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 2px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::before {
    content: '>';
    position: absolute;
    left: -15px;
    opacity: 0;
    color: var(--color-crimson);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
}

.nav-link:hover::before {
    opacity: 1;
    left: -20px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
    box-shadow: var(--glow-crimson);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    z-index: 2;
}

/* Glitch Effect */
.glitch-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.glitch {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    color: var(--color-text-primary);
    letter-spacing: 5px;
    animation: glitch-skew 1s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--color-crimson);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--color-electric-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(70px, 9999px, 71px, 0); }
    40% { clip: rect(65px, 9999px, 29px, 0); }
    60% { clip: rect(15px, 9999px, 58px, 0); }
    80% { clip: rect(82px, 9999px, 23px, 0); }
    100% { clip: rect(56px, 9999px, 44px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(52px, 9999px, 74px, 0); }
    40% { clip: rect(79px, 9999px, 85px, 0); }
    60% { clip: rect(106px, 9999px, 95px, 0); }
    80% { clip: rect(20px, 9999px, 53px, 0); }
    100% { clip: rect(37px, 9999px, 8px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(-2deg); }
    20% { transform: skew(0deg); }
}

/* Typewriter Effect */
.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--color-electric-blue);
    margin-bottom: 3rem;
    font-weight: 600;
    letter-spacing: 2px;
    min-height: 60px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    letter-spacing: 3px;
    font-weight: 600;
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-electric-blue);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.arrow-down {
    width: 2px;
    height: 30px;
    background: var(--gradient-secondary);
    position: relative;
}

.arrow-down::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--color-electric-blue);
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    padding: 1rem 2.5rem;
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover .btn-glow {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-crimson);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 0, 85, 0.8), 0 0 60px rgba(255, 0, 85, 0.4);
}

.btn-secondary {
    border: 2px solid var(--color-electric-blue);
    color: var(--color-electric-blue);
}

.btn-secondary:hover {
    background: var(--color-electric-blue);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
    box-shadow: var(--glow-blue);
}

/* ===================================
   SECTIONS
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid var(--color-crimson);
    color: var(--color-crimson);
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 1rem;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.vm-card {
    background: rgba(19, 19, 26, 0.8);
    border: 2px solid transparent;
    border-image: var(--gradient-secondary) 1;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.vm-card:hover::before {
    left: 100%;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
}

.vm-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--color-electric-blue));
}

.vm-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-electric-blue);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.vm-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Hexagon Grid */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-grid {
    position: relative;
    width: 300px;
    height: 300px;
}

.hexagon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: hexagon-pulse 3s ease-in-out infinite;
    opacity: 0.6;
}

.hex-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.hex-2 { top: 60px; left: 20%; animation-delay: 0.2s; }
.hex-3 { top: 60px; right: 20%; animation-delay: 0.4s; }
.hex-4 { top: 120px; left: 50%; transform: translateX(-50%); animation-delay: 0.6s; }
.hex-5 { bottom: 60px; left: 20%; animation-delay: 0.8s; }
.hex-6 { bottom: 60px; right: 20%; animation-delay: 1s; }
.hex-7 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 1.2s; }

@keyframes hexagon-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.9; }
}

/* ===================================
   GAMES SECTION
   =================================== */
.games {
    background: var(--color-bg-darker);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    transition: var(--transition-normal);
}

.game-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

/* Game Backgrounds */
.game-1 { background: linear-gradient(135deg, #ff0055 0%, #6200ff 100%); }
.game-2 { background: linear-gradient(135deg, #0066ff 0%, #00d9ff 100%); }
.game-3 { background: linear-gradient(135deg, #ff6b00 0%, #ff0055 100%); }
.game-4 { background: linear-gradient(135deg, #00d9ff 0%, #39ff14 100%); }
.game-5 { background: linear-gradient(135deg, #ff0055 0%, #ff6b00 100%); }
.game-6 { background: linear-gradient(135deg, #6200ff 0%, #00d9ff 100%); }

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.95) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transform: translateY(60%);
    transition: var(--transition-slow);
}

.game-card:hover .game-overlay {
    transform: translateY(0);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 0, 85, 0.4);
}

.game-card:hover .game-image {
    transform: scale(1.1);
}

.game-title {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
}

.game-desc {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.game-btn {
    align-self: flex-start;
    padding: 0.8rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    transition: var(--transition-normal);
}

.game-btn:hover {
    box-shadow: var(--glow-crimson);
    transform: translateX(5px);
}

.game-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.9);
    color: var(--color-bg-dark);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ===================================
   TOURNAMENTS SECTION
   =================================== */
.tournaments {
    background: var(--color-bg-dark);
}

.tournaments-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.tournament-featured {
    background: rgba(19, 19, 26, 0.8);
    border: 2px solid var(--color-crimson);
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.tournament-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 85, 0.1), transparent 50%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.tournament-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    box-shadow: var(--glow-crimson);
}

.tournament-featured h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.tournament-desc {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
    line-height: 1;
}

.countdown-label {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.tournament-details {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    position: relative;
    z-index: 1;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.detail-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--color-electric-blue));
}

.detail-label {
    font-size: 0.8rem;
    color: var(--color-text-tertiary);
    letter-spacing: 1px;
}

.detail-value {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-electric-blue);
    font-weight: 600;
}

.tournament-featured .btn {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

/* Tournament Stats */
.tournament-stats {
    background: rgba(19, 19, 26, 0.6);
    border: 2px solid var(--color-electric-blue);
    padding: 2rem;
}

.tournament-stats h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-electric-blue);
    letter-spacing: 2px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-box {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.3);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-box:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--color-electric-blue);
    transform: translateY(-5px);
    box-shadow: var(--glow-blue);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-electric-blue);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ===================================
   TEAM SECTION
   =================================== */
.team {
    background: var(--color-bg-darker);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.player-card {
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.player-image {
    position: relative;
    height: 400px;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.player-photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition-slow);
}

/* Player Photos */
.player-1 { background: linear-gradient(135deg, #ff0055 0%, #000 100%); }
.player-2 { background: linear-gradient(135deg, #00d9ff 0%, #000 100%); }
.player-3 { background: linear-gradient(135deg, #b400ff 0%, #000 100%); }
.player-4 { background: linear-gradient(135deg, #39ff14 0%, #000 100%); }

.player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.player-card:hover .player-overlay {
    opacity: 1;
}

.player-card:hover .player-photo {
    transform: scale(1.1);
}

.player-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 0, 85, 0.3);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: var(--transition-normal);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-crimson);
}

.icon-twitter::before { content: '𝕏'; font-size: 1.2rem; }
.icon-twitch::before { content: '⚡'; font-size: 1.5rem; }
.icon-instagram::before { content: '📷'; font-size: 1.3rem; }

.player-info {
    background: var(--color-bg-card);
    border: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    padding: 1.5rem;
    text-align: center;
}

.player-role {
    font-size: 0.8rem;
    color: var(--color-crimson);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.player-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.player-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* ===================================
   MEDIA SECTION
   =================================== */
.media {
    background: var(--color-bg-dark);
}

.media-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.stream-container {
    position: relative;
}

.stream-frame {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: var(--color-bg-card);
    border: 3px solid var(--color-crimson);
    box-shadow: var(--glow-crimson);
    overflow: hidden;
}

.stream-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-darker), var(--color-bg-card));
}

.play-icon {
    font-size: 4rem;
    color: var(--color-crimson);
    margin-bottom: 1rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

.stream-placeholder p {
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.stream-info {
    margin-top: 1.5rem;
}

.live-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-crimson);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.stream-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.stream-meta {
    display: flex;
    gap: 2rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.highlights h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-electric-blue);
    letter-spacing: 2px;
}

.highlights-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-card {
    display: flex;
    gap: 1rem;
    background: rgba(19, 19, 26, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.2);
    padding: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.highlight-card:hover {
    border-color: var(--color-electric-blue);
    transform: translateX(10px);
    box-shadow: var(--glow-blue);
}

.highlight-thumb {
    width: 120px;
    height: 80px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.thumb-1 { background: linear-gradient(135deg, #ff0055, #6200ff); }
.thumb-2 { background: linear-gradient(135deg, #00d9ff, #39ff14); }
.thumb-3 { background: linear-gradient(135deg, #ff6b00, #ff0055); }

.highlight-info h5 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.highlight-info span {
    font-size: 0.85rem;
    color: var(--color-text-tertiary);
}

/* ===================================
   COMMUNITY/TESTIMONIALS
   =================================== */
.community {
    background: var(--color-bg-darker);
}

.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonials-slider {
     display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.testimonial-card {
    min-width: 100%;
    flex: 0 0 100%;
    background: rgba(19, 19, 26, 0.8);
    border: 2px solid var(--color-electric-blue);
    padding: 3rem;
    transition: var(--transition-slow);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2rem;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--color-crimson);
    opacity: 0.2;
    position: absolute;
    top: -2rem;
    left: -1rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: white;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text-primary);
}

.author-info p {
    color: var(--color-text-tertiary);
    font-size: 0.95rem;
}

.rating {
    margin-left: auto;
    color: var(--color-neon-green);
    font-size: 1.2rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: var(--transition-normal);
}

.slider-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--glow-crimson);
}

.slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 0, 85, 0.3);
    clip-path: polygon(3px 0, 100% 0, 100% calc(100% - 3px), calc(100% - 3px) 100%, 0 100%, 0 3px);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--color-crimson);
    box-shadow: var(--glow-crimson);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--color-bg-dark);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-crimson);
    text-shadow: var(--glow-crimson);
}

.contact-info > p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.info-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px var(--color-electric-blue));
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-electric-blue);
    margin-bottom: 0.3rem;
    letter-spacing: 2px;
}

.info-item p {
    color: var(--color-text-secondary);
}

/* Contact Form */
.contact-form {
    background: rgba(19, 19, 26, 0.8);
    border: 2px solid var(--color-crimson);
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(184, 184, 196, 0.3);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--color-crimson);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
    letter-spacing: 2px;
    pointer-events: none;
    transition: var(--transition-fast);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:not([value=""]) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -1.2rem;
    font-size: 0.75rem;
    color: var(--color-crimson);
}

.form-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.form-group input:focus ~ .form-bar,
.form-group select:focus ~ .form-bar,
.form-group textarea:focus ~ .form-bar {
    width: 100%;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--color-bg-card);
    color: var(--color-text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.error-msg {
    color: var(--color-crimson);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-msg {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-bottom-color: var(--color-crimson);
}

.btn-submit {
    width: 100%;
    margin-top: 1rem;
}

.form-success {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(57, 255, 20, 0.1);
    border: 2px solid var(--color-neon-green);
    margin-top: 1.5rem;
}

.form-success.show {
    display: flex;
}

.success-icon {
    font-size: 2rem;
    color: var(--color-neon-green);
}

.form-success p {
    color: var(--color-neon-green);
    margin: 0;
}
/* ===============================
   OUR WEBSITES SECTION
================================ */

.our-websites {
    background: var(--color-bg-dark);
    padding: 100px 0;
    text-align: center;
}

.websites-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.websites-title span {
    background: linear-gradient(
        90deg,
        var(--color-crimson),
        var(--color-electric-blue),
        var(--color-purple)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.websites-subtitle {
    color: var(--color-text-secondary);
    margin-bottom: 60px;
    font-size: 18px;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* Website Card */
.website-card {
    background: var(--color-bg-card);
    border-radius: 20px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 0, 85, 0.2);
    transition: 0.4s ease;
    text-decoration: none;
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
}

/* Subtle neon glow border */
.website-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(
        135deg,
        var(--color-crimson),
        var(--color-electric-blue)
    );
    -webkit-mask: 
        linear-gradient(#000 0 0) content-box, 
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: 0.4s ease;
}

.website-card img {
    width: 160px;
    margin-bottom: 25px;
    transition: 0.4s ease;
}

.website-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
    word-break: break-word;
}

/* Hover Effects */
.website-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 0 40px rgba(255, 0, 85, 0.3);
}

.website-card:hover::before {
    opacity: 1;
}

.website-card:hover img {
    transform: scale(1.08);
}

/* ===============================
   SCROLL TO TOP BUTTON
================================ */

.scroll-top-btn {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--color-text-primary);
    background: linear-gradient(
        135deg,
        var(--color-electric-blue),
        var(--color-crimson)
    );
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
    transition: 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top-btn:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: 0 0 45px rgba(255, 0, 85, 0.9);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}
/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-bg-darker);
    border-top: 2px solid transparent;
    border-image: var(--gradient-primary) 1;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-display);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 0, 85, 0.1);
    border: 2px solid var(--color-crimson);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-crimson);
    text-decoration: none;
    font-size: 1.2rem;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--glow-crimson);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-electric-blue);
    letter-spacing: 2px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-crimson);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 0, 85, 0.2);
    color: var(--color-text-tertiary);
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid var(--color-electric-blue);
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: 700;
    clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.fade-in-up.active,
.fade-in-left.active,
.fade-in-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content,
    .tournaments-content,
    .media-content {
        grid-template-columns: 1fr;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: var(--transition-slow);
        border-left: 2px solid var(--color-crimson);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .countdown-value {
        font-size: 2.5rem;
    }
    
    .tournament-details {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 0;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
}
