@charset "UTF-8";
/* CSS Document */
/* --- RESET & DESIGN ROOT SYSTEM --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif; 
}

:root {
    --bg-dark: #070A12;       
    --bg-card: #0F1626;       
    --accent-blue: #0052CC;   
    --accent-neon: #00C6FF;   
    --accent-red: #D61C2C;    
    --text-light: #F0F4F8;   
    --text-muted: #627288;   
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* --- FLOATING PREMIUM GLASS HEADER (NO LOGO) --- */
header {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: auto; /* Shrinks the bar around the links */
    padding: 16px 45px;
    display: flex;
    justify-content: center; /* Centers everything */
    align-items: center;
    
    /* True Glass Properties */
    background: rgba(10, 15, 26, 0.75); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px; /* Perfect capsule curve */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transition: all 0.4s ease;
}

header.scrolled {
    top: 10px;
    padding: 12px 35px;
    background: rgba(10, 15, 26, 0.9);
}

/* NAVIGATION MENU LINKS */
nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-family: 'Inter Tight', sans-serif;
    color: #ffffff !important; /* Forces the text to be pure white and readable */
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding: 6px 0;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--accent-neon) !important; /* Glow color on hover */
}
/* --- HERO SCREEN (SPLIT DESIGN WITH GRADIENT ARTWORK) --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%; /* Creates deep breathing room on the sides */
    background: var(--bg-dark); /* Solid deep dark background for the left side */
    position: relative;
    overflow: hidden;
}

/* --- HERO SCREEN --- */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    
    /* YOUR NEW PERFECTLY PROPORTIONED PHOTOSHOP IMAGE */
    background-image: url('img/Noctis-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    /* Subtle scanline overlay for that tech/esports texture */
    background-image: linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 50px 50px;
    top: 0;
    left: 0;
    z-index: 1;
}

/* KEEPS YOUR TEXT AND LOGO PRESSED SAFELY TO THE LEFT */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: middle; /* Switched from center to clean left-align */
    max-width: 50%;
}

.main-logo {
    width: 200px; /* Slightly scaled down for the side layout */
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 30px rgba(0, 82, 204, 0.25));
}

#hero h1 {
    font-family: 'Syne', sans-serif;
    font-size: 72px; /* Adjusted slightly so it doesn't wrap awkwardly */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, #FFFFFF 40%, #8A99AD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-family: 'Inter Tight', sans-serif;
    /* CHANGED: Switched from blue to pure white so it stands out sharply */
    color: #ffffff; 
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 40px;
    /* Added a subtle text shadow so it never gets lost in bright background patches */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); 
}

.btn {
    font-family: 'Inter Tight', sans-serif;
    display: inline-block;
    padding: 16px 42px;
    /* CHANGED: Made the border white with 30% opacity so it's clearly visible */
    border: 1px solid rgba(255, 255, 255, 0.3); 
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* CHANGED: Gave it a dark tint background so it doesn't look transparent and lost */
    background: rgba(7, 10, 18, 0.6); 
    backdrop-filter: blur(4px);
}

.btn:hover {
    background: #fff;
    color: #070a12; /* Matches your dark site theme background */
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* --- METRIC PERFORMANCE BANNER --- */
#stats {
    background: #0B0F19;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    text-align: center;
    padding: 80px 10%;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.stat-box h3 {
    font-family: 'Syne', sans-serif;
    font-size: 68px;
    color: #fff;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-box p {
    font-family: 'Inter Tight', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    font-size: 11px;
    color: var(--accent-neon);
}

/* --- SECTION GLOBAL DEFINITION --- */
section {
    padding: 120px 10%;
    position: relative;
}

section h2 {
    font-family: 'Syne', sans-serif;
    font-size: 46px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 60px;
}

/* --- O CLUBE SECTION --- */
#clube {
    background: #070a12;
    padding: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.clube-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    gap: 80px; /* Generous breathing room between text and image */
    align-items: center;
}

/* Text Formatting Styling */
.clube-text-side {
    flex: 1; /* Takes up exactly half the space */
}

.section-title {
    font-family: 'Inter Tight', sans-serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 40px;
}

.clube-block {
    margin-bottom: 30px;
}

.clube-block h3 {
    font-family: 'Inter Tight', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Light blue neon highlight color for Mission/Vision titles */
.clube-block .accent-title {
    color: #00d2ff; 
}

.clube-block p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
}

/* Clean Image Frame Styling */
.clube-image-side {
    flex: 1; /* Takes up the other half of the screen */
    display: flex;
    justify-content: center;
}

.clube-image-wrapper {
    width: 100%;
    max-width: 500px;
    height: 550px;
    border-radius: 16px; /* Smooth elegant curves to match header */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.clube-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops the picture perfectly into the rectangle frame */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Micro-interaction: Image smoothly zooms in slightly when the user hovers over it */
.clube-image-wrapper:hover img {
    transform: scale(1.04);
}

/* Clean Responsive Mobile Collapse */
@media (max-width: 992px) {
    .clube-container {
        flex-direction: column; /* Stacks vertically on smaller tablet/phone screens */
        gap: 50px;
    }
    .clube-image-wrapper {
        height: 350px; /* Slightly shorter frame on mobile devices */
    }
}

/* --- COMPETIÇÕES: PERFECT ENDING ALIGNMENT --- */
.comp-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #090e1a 100%);
    position: relative;
    padding: 80px 0;
}

.comp-wrapper {
    max-width: 1100px; 
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px; 
}

.comp-row {
    background: rgba(15, 22, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-left: 4px solid var(--accent-blue); 
    padding: 24px 35px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Use stable flex positioning for the main columns */
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
}

/* Color distribution for your game indicator bars */
.comp-row:nth-child(even) { border-left-color: var(--accent-red); }
.comp-row:nth-child(3) { border-left-color: var(--accent-neon); }

.comp-row:hover {
    background: #0f1626;
    border-left-width: 8px; 
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* COLUMN 1: Lock the game title column size */
.comp-name {
    width: 250px; 
    flex-shrink: 0;
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* THE FIX: Isolate the nested details block as a clean flex row container */
.comp-details {
    width: calc(100% - 250px);
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 12px; /* Uniform gap between everything inside this row */
    
    font-family: 'Inter Tight', sans-serif;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* COLUMN 3 TRAYS: Force all capsules to stand shoulder-to-shoulder */
.comp-details span {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-weight: 700;
    padding: 6px 12px;
    font-size: 11px;
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* --- THE SECRET SAUCE ---
   This targets the first span in every row and pushes it forward with an auto-margin.
   Because it pushes against the text line, it forces ALL capsules to perfectly align 
   to the right-hand runway of the row card! */
.comp-details span:first-of-type {
    margin-left: auto !important;
}

/* Hover capsule accent colors */
.comp-row:hover .comp-details span {
    background: rgba(0, 198, 255, 0.1);
    color: var(--accent-neon);
    border-color: rgba(0, 198, 255, 0.2);
}
.comp-row:hover:nth-child(even) .comp-details span {
    background: rgba(214, 28, 44, 0.1);
    color: var(--accent-red);
    border-color: rgba(214, 28, 44, 0.2);
}

/* Responsive mobile view */
@media (max-width: 992px) {
    .comp-row {
        flex-direction: column !important;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }
    .comp-name, .comp-details {
        width: 100% !important;
    }
    .comp-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .comp-details span:first-of-type {
        margin-left: 0 !important; /* Clear spacer on mobile vertical screens */
    }
}
/* --- PLANTÉIS: COMPACT HIGH-END ROSTER BOXES --- */
.team-container {
    display: flex;             /* Switched to flex for perfect center alignment of uneven numbers */
    flex-wrap: wrap;           /* Allows cards to wrap to a new line */
    justify-content: center;   /* Centers the bottom 2 cards perfectly */
    gap: 40px;                 /* Keeps your premium 40px spacing intact */
    max-width: 1200px;         /* Keeps the layout constrained and sharp */
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px;
    text-align: left;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* This manages the sizing so 3 fit on top, but scales dynamically down to mobile */
    flex: 1 1 calc(33.333% - 40px); 
    min-width: 350px;          /* UPDATED: Prevents card from getting narrow, keeping text away from edges */
    max-width: 380px;          /* Prevents the bottom 2 cards from expanding and bloating too wide */
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.game-title {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.player-list {
    list-style: none;
}

.player-list li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between; /* Keeps player left, position right */
    align-items: center;
    gap: 15px;                      /* ADDED: Acts as a protective barrier so name and position never collide */
}

.player-list li span {
    font-family: 'Inter Tight', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;            /* ADDED: Absolute fix that forces the text to stay on one single line */
}

.team-card:hover .player-list li span {
    color: var(--accent-neon); 
}
/* --- CONTACT INTERFACE --- */
.contact-wrapper {
    max-width: 650px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-family: 'Inter Tight', sans-serif;
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 14px;
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-neon);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.15);
}

.submit-btn {
    font-family: 'Inter Tight', sans-serif;
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 1px solid var(--accent-red);
    color: #fff;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-red);
    box-shadow: 0 0 25px rgba(214, 28, 44, 0.4);
    transform: translateY(-2px);
}

/* --- SYSTEM FOOTER --- */
footer {
    font-family: 'Inter', sans-serif;
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 13px;
    color: var(--text-muted);
}

/* --- GRID RESPONSIVENESS ADJUSTMENTS --- */
@media (max-width: 768px) {
    #hero h1 { font-size: 54px; letter-spacing: -1px; }
    header { padding: 20px 5%; }
    nav a { margin-left: 20px; font-size: 11px; }
    section h2 { font-size: 36px; }
    .about-split { flex-direction: column; gap: 40px; }
    .comp-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .comp-details { text-align: left; }
    .comp-details span { margin-left: 0; display: block; margin-top: 5px; }
    .contact-wrapper { padding: 30px; }
}

/* --- SPONSORS SECTION --- */
#sponsors {
    background: #070a12;
    padding: 60px 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    width: 100%;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    width: max-content;
    /* 25 seconds makes the longer track cruise at a smooth, premium speed */
    animation: trueInfiniteScroll 25s linear infinite; 
}

/* THE FIX: Each group must be locked, identical, and forbidden from shrinking */
.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 160px; 
    padding-right: 160px; /* Perfectly matches the gap spacing */
    flex-shrink: 0; /* THE FIX: Stops the browser from compressing the loop width */
}

.marquee-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.marquee-item img {
    height: 38px;
    width: auto;
    object-fit: contain;
    opacity: 0.25; 
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.marquee-item img:hover {
    opacity: 0.85;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* THE SEAMLESS ENGINE */
@keyframes trueInfiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Teleports back seamlessly at exactly halfway */
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .marquee-group {
        gap: 100px;
        padding-right: 100px;
    }
    .marquee-item img {
        height: 28px;
    }
}

/* --- FOOTER PARTNERS / BACKLINKS BAR (KOKA MAX POWER) --- */
.partners-bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; /* Slightly more space to support Koka's wider footprint */
}

/* Individual container boxes for the links */
.partner-link {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 70px; /* Taller box context */
}

/* KOKA BOX: We widen it significantly so the image has room to scale up */
.partner-link:first-child {
    width: 180px; /* Increased from 140px */
}

/* CREATIVE DISCOVERY BOX: Kept tight so it doesn't try to grow */
.partner-link:last-child {
    width: 140px; 
}

.partner-link img {
    display: block;
    object-fit: contain;
    opacity: 0.25; 
    filter: brightness(0) invert(1); 
    transition: opacity 0.3s ease;
}

/* --- LOGO 1: MAKE KOKA EVEN BIGGER --- */
.partner-link:first-child img {
    width: 100% !important;
    height: auto !important;
    max-height: 52px !important; /* Pushed up significantly from 38px to maximize visual weight */
}

/* --- LOGO 2: KEEP CREATIVE DISCOVERY TAMED --- */
.partner-link:last-child img {
    width: auto !important;
    max-height: 38px !important; /* Kept clean and elegant to let Koka shine */
}

/* Hover States */
.partner-link:hover {
    transform: translateY(-2px);
}
.partner-link:hover img {
    opacity: 0.85; 
}

/* Mobile responsive scaling */
@media (max-width: 768px) {
    .partners-bar-container {
        gap: 40px;
    }
    .partner-link:first-child { width: 130px; }
    .partner-link:last-child { width: 100px; }
    
    .partner-link:first-child img { max-height: 38px !important; }
    .partner-link:last-child img { max-height: 28px !important; }
}

.marquee-item img[src*="koka-logo.png"] {
    transform: scale(1.5); /* Scales up just the Koka logo by 50% */
    transform-origin: center;
}

/* --- SOCIAL CONNECT SECTION --- */
#social-connect {
    padding: 50px 20px;
    background: #040812; /* Keeps the theme dark and premium */
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.social-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted, #8a99ad);
    margin-bottom: 25px;
}

.social-links-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px 28px;
    border-radius: 6px;
    text-decoration: none;
    min-width: 260px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-icon-wrapper {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.social-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.social-text span {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.social-text small {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--text-muted, #8a99ad);
}

/* Hover Effects */
.social-box.instagram:hover {
    border-color: #ff007a;
    box-shadow: 0 0 20px rgba(255, 0, 122, 0.15);
    transform: translateY(-2px);
}
.social-box.instagram:hover .social-icon-wrapper { color: #ff007a; }

.social-box.email:hover {
    border-color: #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.15);
    transform: translateY(-2px);
}
.social-box.email:hover .social-icon-wrapper { color: #00ffcc; }

@media (max-width: 768px) {
    .social-links-row {
        flex-direction: column;
        align-items: center;
    }
    .social-box {
        width: 100%;
        max-width: 320px;
    }
}