:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray-dark: #1A1A1A;
    --gray-light: #E0E0E0;
    --accent: #D4AF37;
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --breakpoint: 920px;
    --padding-lg: 120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
html { scroll-padding-top: 20px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

img {
    max-width: 100%;
    height: auto;
}
a:hover,
a,
button {
    transition: all 0.3s ease-in-out;
}
/* Container */
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 5%; }

/* Header & Glass */
.main-header { position: relative; width: 100%; height: 90px; z-index: 1000; display: flex; align-items: center; }
.header-container { width: 100%; padding: 0 5%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }

/* Left: Social Icons */
.header-socials { display: flex; gap: 15px; justify-content: flex-start; }
.header-socials .social-link { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; font-weight: bold; font-size: 0.75rem; transition: 0.3s; }
.header-socials .social-link:hover { background: var(--accent); color: var(--black); border-color: var(--accent); }

/* Center: Logo */
.logo { max-width: 120px; font-family: var(--font-heading); font-size: 2.2rem; color: var(--white); text-decoration: none; letter-spacing: 2px; justify-self: center; }
.logo img { width: 100%; height: auto; display: block; }

/* Right: Actions */
.header-actions { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.btn-header { background: var(--white); color: var(--black); padding: 12px 24px; font-family: var(--font-heading); text-decoration: none; text-transform: uppercase; font-size: 1rem; transition: 0.3s; }
.btn-header:hover { background: var(--accent); }
.menu-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; z-index: 1001; padding: 5px; }
.menu-toggle .line { width: 24px; height: 2px; background: white; transition: 0.3s; }

/* Hide desktop nav */
.desktop-nav { display: none; }

/* Mobile Overlay - Available on all screen sizes */
.mobile-overlay { 
    display: flex; 
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 100%; 
    height: 100vh; 
    background: var(--black); 
    z-index: 999; 
    clip-path: circle(0% at 100% 0%); 
    transition: 0.7s var(--ease-out); 
    align-items: center; 
    justify-content: center; 
    pointer-events: none;
}
.mobile-overlay.active { 
    clip-path: circle(150% at 100% 0%); 
    pointer-events: auto;
}
.mobile-nav { display: flex; flex-direction: column; text-align: center; gap: 20px; padding: 40px 20px; max-height: 100vh; overflow-y: auto; }
.mobile-link { font-family: var(--font-heading); font-size: 2.5rem; color: white; text-decoration: none; transition: 0.3s; line-height: 1.2; }
.mobile-link:hover { color: var(--accent); }

/* Hero */
.hero { height: 100vh; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg-wrapper { position: absolute; inset: 0; z-index: 1; height: 120%; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.5); }
.hero-video-overlay { position: absolute; inset: 0; background: radial-gradient(circle, transparent, rgba(0,0,0,0.8)); }
.hero-giant-text { position: absolute; font-family: var(--font-heading); font-size: 45vw; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.05); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding: 0 5%; }
.hero-title { font-family: var(--font-heading); font-size: clamp(4rem, 12vw, 10rem); line-height: 0.85; margin-bottom: 20px; }
.hero-tagline { font-size: clamp(1rem, 2vw, 1.3rem); text-transform: uppercase; letter-spacing: 6px; margin-bottom: 40px; opacity: 0.8; }
.hero-ctas { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* Components */
.btn { padding: 18px 45px; font-family: var(--font-heading); text-decoration: none; text-transform: uppercase; display: inline-block; transition: 0.4s var(--ease-out); border: 1px solid transparent; font-size: 1.2rem; }
.primary { background: var(--white); color: var(--black); }
.secondary { border-color: rgba(255,255,255,0.3); color: var(--white); backdrop-filter: blur(10px); }
.btn:hover { transform: translateY(-5px); background: var(--accent); color: var(--black); }
.btn-glow { position: relative; overflow: hidden; }
.btn-glow::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.4), transparent); transform: skewX(-25deg); transition: 0.6s; }
.btn-glow:hover::before { left: 150%; }

/* Featured Carousel */
.featured-section { padding: var(--padding-lg) 0; overflow: hidden; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 5% 50px 5%; }
.section-header.center { flex-direction: column; align-items: center; text-align: center; padding: 0 5%; }
.sub-title { color: var(--accent); font-size: 0.9rem; letter-spacing: 3px; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; }
.carousel-nav button { background: none; border: 1px solid var(--white); color: var(--white); padding: 10px 20px; font-family: var(--font-heading); cursor: pointer; margin-left: 10px; transition: 0.3s; }
.carousel-nav button:hover { background: var(--white); color: var(--black); }

.embla { overflow: hidden; padding-left: 5%; cursor: grab; }
.embla__container { display: flex; }
.embla__slide { flex: 0 0 60%; padding-right: 30px; text-decoration: none; color: inherit; }
.thumb-wrapper { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s var(--ease-out); }
.embla__slide:hover img { transform: scale(1.05); }
.yt-badge { position: absolute; top: 20px; right: 20px; background: red; color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }
.card-meta { padding: 25px 0; }
.match-division { color: var(--accent); font-size: 0.8rem; letter-spacing: 2px; }
.match-title { font-family: var(--font-heading); font-size: 2rem; margin: 5px 0; }
.match-players { opacity: 0.5; font-size: 0.9rem; }

/* Rankings Grid */
.rankings-section { padding: var(--padding-lg) 5%; background: #050505; }
.rankings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-dark); border: 1px solid var(--gray-dark); margin-top: 60px; }
.division-card { background: var(--black); padding: 40px 30px; transition: 0.4s; }
.division-card:hover { background: #0c0c0c; }
.division-header { margin-bottom: 20px; }
.division-header h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 5px; }
.weight-class { font-size: 0.7rem; color: var(--accent); letter-spacing: 2px; text-transform: uppercase; }
.rank-list { margin-top: 30px; }
.rank-item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-family: var(--font-heading); font-size: 1.3rem; }
.rank-num { opacity: 0.3; }
.rank-1 .rank-num { opacity: 1; color: var(--accent); }

/* Events */
.events-section { padding: var(--padding-lg) 5%; }
.events-list { margin-top: 60px; display: flex; flex-direction: column; gap: 30px; }
.event-card { display: flex; background: var(--gray-dark); border: 1px solid rgba(255,255,255,0.05); overflow: hidden; }
.event-poster { flex: 0 0 40%; height: 350px; position: relative; }
.event-poster img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.5s; }
.event-card:hover img { filter: grayscale(0); transform: scale(1.05); }
.event-status { position: absolute; top: 20px; left: 20px; background: var(--accent); color: var(--black); padding: 5px 12px; font-size: 0.7rem; font-weight: 800; }
.event-content { flex: 1; padding: 50px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.event-date-bg { position: absolute; right: 20px; top: 0; font-family: var(--font-heading); font-size: 12rem; color: rgba(255,255,255,0.02); line-height: 1; pointer-events: none; }
.event-name { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 10px; }
.event-location { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 30px; }
.btn-text { color: var(--white); text-decoration: none; font-family: var(--font-heading); font-size: 1.2rem; transition: 0.3s; }
.btn-text:hover { color: var(--accent); letter-spacing: 2px; }

/* Mission */
.mission-section { padding: 180px 5%; text-align: center; position: relative; overflow: hidden; }
.mission-watermark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: var(--font-heading); font-size: 30vw; color: rgba(255,255,255,0.02); white-space: nowrap; }
.accent-line { width: 60px; height: 4px; background: var(--accent); margin: 0 auto 30px; }
.mission-title { font-family: var(--font-heading); font-size: clamp(4rem, 10vw, 8rem); line-height: 0.85; margin-bottom: 40px; }
.mission-paragraph { max-width: 800px; margin: 0 auto 50px; font-size: 1.4rem; font-weight: 300; line-height: 1.4; opacity: 0.8; }
.btn-glass { padding: 20px 40px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: white; text-decoration: none; font-family: var(--font-heading); font-size: 1.3rem; transition: 0.3s; }
.btn-glass:hover { background: var(--white); color: var(--black); }

/* Footer */
.main-footer { background: var(--black); border-top: 1px solid rgba(255,255,255,0.1); }
.footer-container { padding: 80px 5% 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 60px; }

/* Newsletter Column */
.newsletter-col { display: flex; flex-direction: column; justify-content: space-between; }
.newsletter-label { font-size: 0.9rem; opacity: 0.6; margin-bottom: 20px; max-width: 300px; line-height: 1.5; }
.newsletter-form { display: flex; background: var(--gray-dark); border: 1px solid rgba(255,255,255,0.1); }
.newsletter-form input { flex: 1; background: transparent; border: none; padding: 15px 20px; color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 1px; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { background: rgba(255,255,255,0.1); border: none; padding: 15px 20px; color: var(--white); cursor: pointer; font-size: 1.2rem; transition: 0.3s; }
.newsletter-form button:hover { background: var(--accent); color: var(--black); }
.made-in { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.6; }
.made-in .flag { font-size: 1.2rem; }

/* Logo Column */
.logo-col { display: flex; align-items: center; justify-content: center; border-left: 1px solid rgba(255,255,255,0.1); border-right: 1px solid rgba(255,255,255,0.1); }
.footer-logo-large { max-width: 100px; font-family: var(--font-heading); font-size: 6rem; letter-spacing: 4px; line-height: 1; }

/* Links Column */
.links-col { display: flex; align-items: flex-start; justify-content: center; }
.footer-links-grid { display: grid; grid-template-columns: auto auto; gap: 60px; }
.link-group { display: flex; flex-direction: column; gap: 15px; }
.social-link { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: white; font-weight: bold; font-size: 0.8rem; transition: 0.3s; }
.social-link:hover { background: var(--accent); color: var(--black); border-color: var(--accent); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-links a { color: white; text-decoration: none; font-size: 1.1rem; font-weight: 500; transition: 0.3s; }
.footer-links a:hover { color: var(--accent); }

/* Footer Bottom */
.footer-bottom { display: flex; justify-content: space-between; padding-top: 30px; }
.legal-link { color: var(--white); text-decoration: none; font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; opacity: 0.4; transition: 0.3s; }
.legal-link:hover { opacity: 1; color: var(--accent); }

/* Mobile Menu Socials */
.socials-mobile { display: flex; gap: 20px; margin-top: 30px; justify-content: center; }
.socials-mobile a { color: var(--white); text-decoration: none; font-family: var(--font-heading); font-size: 1.3rem; opacity: 0.6; transition: 0.3s; }
.socials-mobile a:hover { opacity: 1; color: var(--accent); }

/* Responsive @ 1200px (Tablet Landscape) */
@media (max-width: 1200px) {
    .rankings-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Responsive @ 920px (Tablet) */
@media (max-width: 920px) {
    .hero {
        height: 80vh;
    }
    .hero-ctas {
        align-items: center;
        justify-content: center;
    }
    .link-group {
        flex-wrap: column !important;
    }
    .footer-links {
        align-items: flex-end !important;
    }
    
    /* Header responsive */
    .header-container { grid-template-columns: auto 1fr auto; gap: 15px; }
    .header-socials { gap: 10px; }
    .header-socials .social-link { width: 36px; height: 36px; font-size: 0.7rem; }
    .logo { max-width: 100px; }
    .btn-header { padding: 10px 18px; font-size: 0.9rem; }
    .menu-toggle { gap: 5px; }
    .menu-toggle .line { width: 22px; }
    .mobile-nav { gap: 18px; padding: 30px 20px; }
    .mobile-link { font-size: 2.2rem; }
    
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .carousel-nav { align-self: flex-start; }
    
    .rankings-grid { grid-template-columns: repeat(2, 1fr); }
    .event-card { flex-direction: column; }
    .event-poster { flex: none; height: 250px; }
    .event-content { padding: 40px; }
    .event-name { font-size: 2.5rem; }
    .event-date-bg { display: none; }
    .embla__slide { flex: 0 0 75%; }
    
    /* Footer responsive */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .logo-col { border-left: none; border-right: none; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 40px 0; grid-column: 1 / -1; order: -1; }
    .footer-logo-large { font-size: 5rem; }
    
    .mission-section { padding: 120px 5%; }
    .mission-title { font-size: clamp(3rem, 8vw, 5rem); }
}

/* Responsive @ 600px (Mobile) */
@media (max-width: 600px) {
    :root { --padding-lg: 80px; }
    
    /* Header mobile */
    .header-container { padding: 0 4%; gap: 10px; grid-template-columns: 1fr auto; }
    .header-socials { display: none; }
    .logo { max-width: 80px; justify-self: center; grid-column: 1; }
    .btn-header { display: none; }
    .header-actions { justify-content: flex-end; grid-column: 2; }
    .menu-toggle .line { width: 20px; }
    
    .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
    .hero-tagline { letter-spacing: 3px; font-size: 0.9rem; }
    .hero-ctas { flex-direction: column; gap: 15px; }
    .btn { width: 100%; max-width: 280px; padding: 16px 30px; font-size: 1rem; }
    
    .section-header { padding: 0 5% 30px 5%; }
    .section-title { font-size: 2rem; }
    .sub-title { font-size: 0.8rem; }
    
    .rankings-grid { grid-template-columns: 1fr; }
    .division-card { padding: 30px 20px; }
    
    .event-content { padding: 30px; }
    .event-name { font-size: 2rem; }
    .event-poster { height: 200px; }
    
    .mobile-nav { gap: 15px; padding: 20px 15px; }
    .mobile-link { font-size: 2rem; }
    
    .mission-paragraph { font-size: 1.1rem; }
    .btn-glass { padding: 16px 30px; font-size: 1.1rem; }
    
    /* Footer mobile */
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .newsletter-col { align-items: center; }
    .newsletter-label { text-align: center; }
    .made-in { justify-content: center; }
    .logo-col { order: -1; }
    .footer-logo-large { font-size: 4rem; }
    .footer-links-grid { gap: 40px; }
    .footer-links { align-items: center; }
    .footer-bottom { flex-direction: column; gap: 15px; align-items: center; }
    
    .embla__slide { flex: 0 0 90%; }
    .match-title { font-size: 1.6rem; }
}