:root {
    --gold: #D4AF37;
    --dark: #0A0A0A;
    --panel: #1A1A1A;
    --text: #E0E0E0;
}

body { background: var(--dark); color: var(--text); font-family: 'Inter', sans-serif; margin: 0; }
.gold-text { color: var(--gold); }
.center { text-align: center; }
.container { padding: 40px 10%; }

.hero { 
    height: 70vh; 
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/static/background.jpg'); 
    background-size: cover;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}

.btn-gold { 
    background: var(--gold); color: #000; padding: 15px 40px; 
    text-decoration: none; font-weight: bold; border-radius: 50px;
    transition: 0.3s;
}

.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.exp-item img { width: 150px; margin-bottom: 15px; }

.cta-banner { 
    background: #7a00ff; /* Purple gradient from your screenshot */
    padding: 60px; text-align: center; color: white;
}

/* Layout Containers */
.section-padding {
    padding: 60px 10%;
}

.section-title {
    font-family: 'Oswald', sans-serif; /* Recommended for that bold look */
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--text);
    text-transform: uppercase;
}

/* Three Column Grid */
.row-three-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Changed to 4 to match your 4 features */
    gap: 30px;
    margin-bottom: 50px;
}

/* Upper Feature Items */
.feature-item h2 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-item p {
    color: #888;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Experience Cards */
.experience-card {
    text-align: left;
}

.experience-card img {
    width: 150px; /* Adjust size of the Lock/Egg/Helmet */
    height: auto;
    margin: 0 auto 15px auto;
    display: block;
}

.experience-card h3 {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.experience-card p {
    color: #888;
    line-height: 1.6;
    font-size: 1rem;
}
.exp-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}
/* Navbar Container */
.navbar {
    background: rgba(26, 26, 26, 0.95); /* Semi-transparent charcoal */
    backdrop-filter: blur(10px); /* Modern blur effect */
    border-bottom: 1px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between; /* Puts Logo on left, Group on right */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Styling */
.logo a {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
}

/* Nav Links & Hover Effects */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    color: var(--text) !important; /* Forces out the purple link color */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--gold) !important;
}

/* Gold underline effect on hover */
.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

/* Discord Button Style */
.btn-discord {
    background: var(--gold);
    color: #000 !important;
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-discord:hover {
    background: #FFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* Container for the Iframe */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden; /* This hides the UI pushed off-screen */
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%) scale(1.15);
    pointer-events: none;
    
    /* ADD THIS LINE: Boosts clarity through the dark overlay */
    filter: brightness(1.2) ; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darker at the top/bottom for UI, clearer in the middle for the video */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.2) 10%, 
        rgba(0, 0, 0, 0.8) 20%
    );
    z-index: 1;
}
.hero {
    position: relative;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: white;
    /* Adds a subtle "drop shadow" so text pops against the video */
    text-shadow: 2px 4px 10px rgba(0,0,0,0.8);
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.2rem;
    color: #BBB;
    margin-bottom: 40px;
    max-width: 800px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.dark-bg {
    background: #111; /* Slightly lighter than the main background to create depth */
    border-radius: 15px;
    padding: 60px;
}

.center {
    text-align: center;
}

/* Fix for full-width content spacing issues */
.container-full {
    width: 100%;
    margin: 0;
    padding: 0;
}

.container-inner {
    width: 80%; /* Sets the specific content width */
    max-width: 1400px; /* Prevents it from getting too wide on ultrawide monitors */
    margin: 0 auto; /* Centers the content */
    padding: 60px 0; /* Adds top/bottom padding to the section */
}

/* Roadmap Grid (4 columns) */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.roadmap-item {
    text-align: center;
}

.roadmap-item img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0.7);
}

.center { text-align: center; }

.small-text {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
}

.clan-card {
    background: linear-gradient(145deg, #151515, #050505);
    border-top: 3px solid var(--gold);
    text-align: left;
    padding: 20px;
    transition: transform 0.3s ease;
}

.clan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 168, 124, 0.1);
}

.clan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
}

.status-dot.online { background-color: #2ecc71; box-shadow: 0 0 8px #2ecc71; }
.status-dot.offline { background-color: #e74c3c; }

hr {
    border: 0;
    border-top: 1px solid #333;
    margin: 15px 0;
}

/* Container for the user profile - sits inside the navbar */
.user-nav {
    display: flex;
    align-items: center;
    margin-left: 20px; /* Space between links and profile */
}

.steam-profile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 168, 124, 0.3); /* Subtle gold border */
    padding: 5px 12px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.steam-profile:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.steam-info {
    display: flex;
    flex-direction: column;
    text-align: right;
    margin-right: 12px;
    line-height: 1.2; /* Tightens up the text */
}

.steam-name {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--gold);
}

.steam-balance {
    color: #2ecc71;
    font-size: 0.85rem;
    font-weight: 600;
}

.steam-id {
    color: #888;
    font-size: 0.65rem;
    font-family: monospace;
}

.logout-btn {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    padding: 0 5px;
}

.logout-btn:hover {
    color: #e74c3c;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
}

/* Layout container */
.nav-container {
    display: flex;
    justify-content: space-between; /* Puts Logo on left, Group on right */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Group containing both the links and the steam card */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 30px; /* Space between links and the profile box */
}

/* Ensure links are in a row */
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* The profile card specific fixes */
.user-nav {
    margin-left: auto;
}

.steam-profile {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(197, 168, 124, 0.3);
    padding: 5px 15px;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.steam-info {
    line-height: 1.1;
    margin-right: 10px;
}

.steam-id {
    display: block;
    font-size: 0.6rem;
    color: #555;
}