: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 {
    position: relative;
    height: 75vh;
    display: flex;
    flex-direction: column; /* Added to ensure vertical stacking */
    justify-content: center;
    align-items: center;    /* Centers children horizontally */
    text-align: center;     /* Centers inline text elements */
    overflow: hidden;
    padding: 100px 20px;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 30px;
    max-width: 600px;       /* Keeps the text from stretching too wide */
    margin-left: auto;      /* Works with auto-right to center the block */
    margin-right: auto;
}

.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;
    width: 100%;
}

/* 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-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.8);
    margin: 0 auto 20px auto; /* Centered with auto margins */
}

.lead-text {
    font-size: 1.2rem;
    color: #BBB;
    margin: 0 auto 40px auto; /* Forced centering via auto margins */
    max-width: 800px;
    text-align: center;
    display: block; /* Ensures it respects margins */
}
.about-header {
    text-align: center;
    max-width: 900px; /* Slightly wider for better readability */
    margin: 0 auto 50px auto; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-header h1, .about-header p {
    width: 100%;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: center; /* Centers text in the Philosophy/Persistence boxes */
}

.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 */
    align-items: center;    /* This centers all children horizontally */
    text-align: center;     /* This centers the text inside the children */
    padding: 60px 0; /* Adds top/bottom padding to the section */
}

.roadmap-section {
    text-align: center;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.roadmap-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #BBB;
    display: block;
}


.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    width: 100%;
}

.roadmap-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers images and text in each month box */
}

.roadmap-item img {
    width: 120px;
    height: auto;
    margin: 0 auto 20px auto; /* Centers the image itself */
    display: block;
    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;
}

.buy-wrap {
    margin-top: auto;       /* Final safety to anchor the button at the bottom */
    padding-top: 20px;
    width: 100%;
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}

.vip-card.ultra { border-color: var(--gold); }

/* 1. Ensure the grid forces equal height */
.vip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
    align-items: stretch; /* This is what makes the boxes the same length */
}

/* 2. Reset the Featured Card */
.vip-card.featured {
    border-color: #5dade2; 
    transform: none !important;    /* REMOVE scaling entirely */
    margin-top: 0 !important;      /* REMOVE any top margin */
    z-index: 1;
    position: relative;
    box-shadow: 0 0 20px rgba(93, 173, 226, 0.2); /* Glow instead of size increase */
}

/* 3. Global Card Rule */
.vip-card {
    background: rgba(20,20,20,0.9);
    border: 1px solid #333;
    padding: 30px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: auto; /* Let the grid determine the height */
}

/* 4. Fix Perk Spacing */
.perks {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 25px 0;
    flex-grow: 1; /* Pushes the button to the bottom of the equal-height box */
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.site-footer {
    background: #050505;
    border-top: 1px solid #222;
    padding: 50px 10% 20px 10%;
    margin-top: 80px;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.footer-links {
    display: flex;
    gap: 40px;
}
.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-legal {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 20px;
    width: 100%;
}
.footer-legal p { font-size: 0.7rem; color: #444; margin: 5px 0; }