/* Basic CSS Reset */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%; /* Ensure html takes full viewport height */
    overflow-x: initial;
    box-sizing: border-box;
}
body {
    margin: 0;
    width: 100%;
    overflow-x: clip; /* Changed from initial, but might be better as inherit or initial */
    font-family: var(--font-body); /* Updated to use variable */
    background-color: #020602; /* Your original dark background */
    color: var(--text-light); 
    line-height: 1.8;
    position: relative; /* For ambient haze if still used */
    padding-top: 60px; /* Adjusted based on new navbar height */
    display: flex; /* Added for sticky footer */
    flex-direction: column; /* Added for sticky footer */
    min-height: 100vh; /* Added for sticky footer */
}
*, *:before, *:after {
    box-sizing: inherit;
}

/* CSS Variables - These are defined in the <head> of your HTML now, */
/* but good to have them here too for standalone CSS editing or fallback. */
/* If defined in HTML :root, they are globally available. */
:root {
  --primary-green: #2E7D32;
  --secondary-green: #1B5E20;
  --accent-green-glow-rgba: rgba(46, 125, 50, 0.7);
  --accent-green-border-rgba: rgba(46, 125, 50, 0.5);
  --accent-green-bg-subtle-rgba: rgba(46, 125, 50, 0.15);
  --text-light: #C8C8C8;
  --text-muted: #A0A0A0;
  --metallic-base: #1A1A1A;
  --metallic-highlight: #2C2C2C;
  --metallic-shadow: #101010;
  --metallic-sheen-light: rgba(200, 200, 200, 0.02);
  --metallic-item-border: rgba(80, 80, 80, 0.3);
  --background-dark-block-metallic: linear-gradient(to bottom, var(--metallic-highlight) 0%, var(--metallic-shadow) 100%);
  --background-item-metallic: linear-gradient(170deg, var(--metallic-highlight) 5%, var(--metallic-base) 60%, var(--metallic-shadow) 100%);
  --background-overlay: rgba(22, 22, 22, 0.88);
  --background-overlay-hero: rgba(12, 12, 12, 0.85);
  /* Added from inline style in HTML */
  --font-header: 'Orbitron', sans-serif; 
  --font-body: 'Roboto', sans-serif;
  --text-light-secondary: #B0B0B0;
}

/* Old Sticky Top Banner Styles - REMOVE OR COMMENT OUT if using new Bootstrap navbar */
/*
.top-banner {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.95) 0%, rgba(16, 16, 16, 0.92) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    transition: background-color 0.3s ease;
    margin-top: 0;
}
.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.banner-logo {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-green);
    font-size: 1.8em;
    text-decoration: none;
    font-weight: 700;
    text-shadow: 0 0 8px var(--accent-green-glow-rgba);
}
.banner-logo:hover {
    color: #FFFFFF;
    text-shadow: 0 0 12px rgba(46, 125, 50, 1);
}
.banner-links {
    display: flex;
    gap: 30px;
}
.banner-button {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-light);
    background-color: var(--accent-green-bg-subtle-rgba);
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: bold;
    border: 1px solid var(--accent-green-border-rgba);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap;
}
.banner-button:hover {
    background-color: var(--primary-green);
    color: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.3);
}
*/

/* Body Styles & Adjustments - Some of these are now in inline <style> in HTML */
body {
    font-family: var(--font-body); /* Updated to use variable */
    background-color: #020602; /* Your original dark background */
    color: var(--text-light); 
    line-height: 1.8;
    position: relative; /* For ambient haze if still used */
    padding-top: 60px; /* Adjusted based on new navbar height */
    display: flex; /* Added for sticky footer */
    flex-direction: column; /* Added for sticky footer */
    min-height: 100vh; /* Added for sticky footer */
}

/* New Adapted Bootstrap Navbar Customizations */
.navbar-custom {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.98) 0%, rgba(16, 16, 16, 0.95) 100%);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(0,0,0,0.5);
    padding-top: 5px; /* Reduced padding */
    padding-bottom: 5px; /* Reduced padding */
}

/* Wrapper for all main page content */
.main-page-content {
    flex-grow: 1; /* Added for sticky footer */
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-header);
    color: var(--primary-green) !important; /* Ensure it overrides Bootstrap */
    font-size: 1.8em;
    font-weight: 700;
    text-shadow: 0 0 8px var(--accent-green-glow-rgba);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar-brand:hover {
    color: #FFFFFF !important;
    text-shadow: 0 0 12px rgba(46, 125, 50, 1);
}

.navbar-brand .logo-img {
    height: 40px; /* Adjust logo size */
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
}

.navbar-nav .nav-item {
    margin-left: 15px; /* Spacing between nav items */
}

.navbar-nav .nav-link {
    font-family: var(--font-header);
    color: var(--text-light) !important; /* Default link color */
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.95em;
    font-weight: bold;
    border: 1px solid var(--accent-green-border-rgba);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    background-color: var(--primary-green);
    color: #0A0A0A !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(46, 125, 50, 0.3);
}

/* Toggler icon color for dark background */
.navbar-toggler {
    border-color: rgba(46, 125, 50, 0.5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2846, 125, 50, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Responsive adjustments for navbar */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item {
        margin-left: 0;
        margin-bottom: 10px; /* Stack items on mobile */
    }
    .navbar-nav .nav-link {
        text-align: center;
        display: block;
    }
    .navbar-collapse {
        background: rgba(16, 16, 16, 0.98); /* Background for collapsed menu */
        padding-bottom: 10px;
        border-radius: 0 0 5px 5px;
    }
}

/* Body padding for fixed navbar */
body {
    padding-top: 60px; /* Adjusted based on new navbar height */
}

/* Jarallax Video Background Specifics */
.jarallax-video {
    pointer-events: none; /* Prevent interaction with the video */
    object-fit: cover; /* Ensure video covers the entire area */
    font-family: 'object-fit: cover;'; /* Fallback for older browsers */
    filter: brightness(0.6); /* Slightly darken the video to improve text readability */
}

#hero .hero-content {
    z-index: 2; /* Ensure content is above the video */
    position: relative;
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 20px;
}

#hero .hero-content h1 {
    /* This h1 is visually hidden, so no direct styling needed here for visibility */
}

/* Ambient Haze/Smoke Effect */
body::before, body::after { content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: -1; pointer-events: none; will-change: opacity, transform; }
body::before { background: radial-gradient(ellipse at 25% 30%, rgba(34, 139, 34, 0.12) 0%, transparent 70%), radial-gradient(ellipse at 75% 60%, rgba(57, 255, 20, 0.07) 0%, transparent 60%); animation: ambientHaze 35s ease-in-out infinite alternate; }
body::after { background: radial-gradient(circle at 50% 50%, rgba(34, 139, 34, 0.1) 0%, transparent 65%), radial-gradient(ellipse at 10% 80%, rgba(57, 255, 20, 0.08) 0%, transparent 70%); animation: ambientHazeTwo 45s ease-in-out infinite alternate; animation-delay: -10s; }
@keyframes ambientHaze { 0% { opacity: 0.35; transform: scale(1) translateX(0px) translateY(0px) rotate(0deg); } 50% { opacity: 0.65; transform: scale(1.05) translateX(-10px) translateY(5px) rotate(2deg); } 100% { opacity: 0.35; transform: scale(1) translateX(5px) translateY(-5px) rotate(-2deg); } }
@keyframes ambientHazeTwo { 0% { opacity: 0.45; transform: scale(1.02) translateX(0px) translateY(0px) rotate(0deg); } 50% { opacity: 0.75; transform: scale(1.07) translateX(8px) translateY(-12px) rotate(-3deg); } 100% { opacity: 0.45; transform: scale(1.02) translateX(-3px) translateY(7px) rotate(1deg); } }

/* Typography */
h1, h2, h3 { 
    font-family: var(--font-header); /* Updated to use variable */
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

/* Section Styling & Spacing */
.parallax-section,
.dark-block-section { 
    position: relative; 
    width: 100%; 
    margin-bottom: 60px; /* Keep consistent spacing */
}
.parallax-section { 
    min-height: 50vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #FFFFFF; 
    background-size: cover; 
    background-position: center center; 
}
#hero.parallax-section { 
    min-height: 100vh; /* Full viewport height for hero */
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/* Section Styling & Spacing */
.parallax-section,
.dark-block-section { 
    position: relative; 
    width: 100%; 
    margin-bottom: 60px; /* Keep consistent spacing */
}
.parallax-section { 
    min-height: 50vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #FFFFFF; 
    background-size: cover; 
    background-position: center center; 
}
#hero.parallax-section { 
    min-height: 100vh; /* Full viewport height for hero */
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

/* Fade-in on scroll animation */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* UNIFIED CONTENT WIDTH (Applies to wrappers within sections) */
.section-overlay,
.dark-block-content-wrapper,
#join-page-content { 
    padding-left: 30px; 
    padding-right: 30px; 
    box-sizing: border-box; 
    max-width: 1100px; 
    margin-left: auto; 
    margin-right: auto; 
}

/* Specific styling for overlays and dark blocks */
.section-overlay { 
    background-color: var(--background-overlay); 
    box-shadow: 0 0 25px rgba(10, 125, 30, 0.2); 
    padding-top: 40px; 
    padding-bottom: 40px; 
    border-radius: 6px; 
    z-index: 1; 
    position: relative; 
}
#hero .section-overlay.hero-video-overlay { 
    background-color: transparent; /* Keep transparent for video */
    box-shadow: none; 
    padding: 0; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.dark-block-section { 
    background: var(--background-dark-block-metallic); 
    border-top: 1px solid var(--primary-green); 
    border-bottom: 1px solid var(--primary-green); 
    text-align: center; 
    padding-top: 40px; 
    padding-bottom: 40px; 
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.2), inset 0 -5px 15px rgba(0,0,0,0.2); 
}
.dark-block-content-wrapper > h2,
.section-overlay > h2,
main#join-page-content > h2 { /* Assuming join page uses main tag with this ID */
    font-size: 2.8em; 
    color: var(--primary-green); 
    margin-bottom: 20px; 
    margin-top: 0; 
    position: relative; 
    display: inline-block; 
}
.dark-block-content-wrapper > h2::after,
.section-overlay > h2::after,
main#join-page-content > h2::after { 
    content: ''; 
    display: block; 
    width: 50%; 
    height: 2px; 
    background-color: var(--primary-green); 
    margin: 30px auto 0; 
    box-shadow: 0 0 6px var(--primary-green); 
}

/* HERO CONTENT STYLES */
.hero-content h1 { 
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Mission Section Specifics */
.section-tagline { 
    font-size: 2.2em; 
    color: var(--text-light); 
    text-shadow: 0 0 10px #000000, 0 0 5px #000000; 
    letter-spacing: 1.5px; 
    font-weight: 400; 
    margin-top: 0; 
    margin-bottom: 30px; 
    text-align: center; 
    font-family: var(--font-header); 
}
.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
    /* text-align: left; /* Removed from here, individual items can control alignment */
}

/* --- MODIFIED .feature-item and .feature-icon --- */
.feature-item { 
    background: var(--background-item-metallic); 
    padding: 25px; 
    border-radius: 4px; 
    border: 1px solid var(--metallic-item-border); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.4), inset 0 1px 0px var(--metallic-sheen-light); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;         /* ADDED for centering icon and text */
    flex-direction: column; /* ADDED to stack items vertically */
    align-items: center;    /* ADDED to center items horizontally */
    text-align: center;     /* ADDED to center text within h3 and p */
}
.feature-item:hover { 
    transform: translateY(-6px) scale(1.01); 
    box-shadow: 0 8px 15px rgba(0,0,0,0.5), inset 0 1px 1px var(--metallic-sheen-light); 
}
.feature-icon { 
    width: 100px;
    height: 100px;
    margin-bottom: 20px; 
}
/* --- END MODIFICATIONS for .feature-item and .feature-icon --- */

.feature-item h3 { 
    font-size: 1.5em; 
    color: var(--primary-green); 
    margin-bottom: 8px; 
    /* text-align: center; will be inherited from .feature-item */
}
/* .feature-item p { text-align: center; will be inherited } */

.corp-info-block { 
    margin-top: 50px; 
    text-align: left; /* Keep corp info block text left-aligned if desired */
    font-size: 1.05em; 
    line-height: 1.7; 
    color: var(--text-muted); 
}
.corp-info-block p { 
    margin-bottom: 1em; 
}
.corp-info-block p:last-child { 
    margin-bottom: 0; 
}

/* Video Section */
.video-section-overlay { 
    background-color: rgba(18,18,18, 0.92); 
}
.video-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
    gap: 25px; 
    width: 100%; 
}
.video-container { 
    background: var(--metallic-shadow); 
    padding: 15px; 
    border-radius: 4px; 
    border: 1px solid var(--metallic-item-border); 
    box-shadow: 0 0 15px rgba(46, 125, 50, 0.15), inset 0 3px 8px rgba(0,0,0,0.3); 
    transition: transform 0.3s ease; 
}
.video-container:hover { 
    transform: scale(1.02); 
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.25), inset 0 3px 8px rgba(0,0,0,0.3); 
}
.video-container iframe { 
    display: block; 
    width: 100%; 
    min-height: 300px; 
    border: none; 
    border-radius: 2px; 
}

/* Zkillboard Section Styling */
#zkillboard .section-intro { 
    color: var(--text-muted); 
    font-size: 1.05em; 
    margin-top: 0; 
    margin-bottom: 40px; 
}
.zkill-link { 
    color: var(--primary-green); 
    text-decoration: none; 
    font-weight: normal; 
}
.zkill-link:hover { 
    text-decoration: underline; 
    text-shadow: 0 0 4px var(--primary-green); 
}

.kill-scroller-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 15px;
}
.kill-scroll-arrow {
    background-color: var(--primary-green); color: #0A0A0A;
    border: 1px solid var(--secondary-green); border-radius: 50%;
    width: 40px; height: 40px; font-size: 1.5em; font-weight: bold;
    cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex; align-items: center; justify-content: center;
    padding: 0; line-height: 1;
}
.kill-scroll-arrow:hover {
    background-color: var(--secondary-green); color: var(--text-light);
    transform: scale(1.1);
}
.kill-scroll-arrow:disabled {
    background-color: var(--metallic-base); color: #555;
    cursor: not-allowed; opacity: 0.5;
}
.kill-highlights-grid-container {
    /* Container for potential overflow or width control */
    /* max-width: 100%; /* Ensure it doesn't exceed parent if needed */
    /* overflow: hidden; /* If using a fixed-width grid that might scroll */
}
.kill-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 columns for wider screens */
    gap: 25px;
}
.kill-card { 
    background: var(--background-item-metallic); 
    border: 1px solid var(--metallic-item-border); 
    border-radius: 4px; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 0px var(--metallic-sheen-light); 
}
.kill-card:hover { 
    transform: translateY(-5px) scale(1.01); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.6), inset 0 1px 1px var(--metallic-sheen-light); 
}
.kill-card-header { 
    display: flex; 
    align-items: center; 
    margin-bottom: 12px; 
    border-bottom: 1px solid rgba(46, 125, 50, 0.2); 
    padding-bottom: 12px; 
}
.ship-icon-placeholder { 
    font-size: 0.75em; 
    color: #888; 
    margin-right: 12px; 
}
.kill-card-header .ship-name { 
    font-family: var(--font-header); 
    color: #D0D0D0; 
    font-size: 1.4em; 
    margin: 0; 
    flex-grow: 1; 
}
.kill-card-header .kill-value { 
    color: var(--primary-green); 
    font-size: 1em; 
    font-weight: bold; 
    white-space: nowrap; 
}
.kill-card-body p { 
    font-size: 0.9em; 
    color: #B0B0B0; /* Lighter than text-muted for card body */
    margin: 6px 0; 
    line-height: 1.5; 
}
.kill-card-body p strong { 
    color: #D8D8D8; /* Even lighter for strong text in card */
}
.kill-card-footer { 
    margin-top: 15px; 
    text-align: center; 
}
.kill-link-button { /* This is a class applied to an <a> tag styled as a CTA button */
    padding: 8px 20px; 
    font-size: 0.9em; 
}

/* CTA Button & Section */
.cta-section .section-overlay { 
    background-color: rgba(18,18,18, 0.92); 
}
.cta-button { /* General CTA button style */
    display: inline-block; 
    padding: 15px 35px; 
    margin-top: 25px; 
    background: linear-gradient(45deg, var(--primary-green), var(--secondary-green)); 
    color: #FFFFFF; /* Text color for main CTA buttons */
    text-decoration: none; 
    font-size: 1.2em; 
    font-weight: bold; 
    font-family: var(--font-header); 
    border-radius: 30px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; /* Changed background-color to background for gradient transition */
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border: 1px solid var(--primary-green); 
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
}
.cta-button:hover { 
    transform: translateY(-5px) scale(1.03); /* Slightly more pronounced */
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.4), 0 3px 8px rgba(0,0,0,0.5); /* Stronger shadow */
    background: linear-gradient(45deg, var(--secondary-green), var(--primary-green)); 
    color: #FFFFFF; 
}
/* Kill link button specifically making it look less prominent than main CTAs */
.kill-link-button.cta-button { 
    color: var(--text-light); 
    background: linear-gradient(45deg, var(--metallic-base), var(--metallic-shadow)); 
    border-color: var(--metallic-item-border); 
    /* Overriding some .cta-button styles for a different look */
    font-size: 0.9em !important; /* Ensure it overrides */
    padding: 8px 20px !important; /* Ensure it overrides */
    margin-top: 0; /* It's in the card footer, no extra top margin needed */
    text-transform: none; /* Kill links don't need to be uppercase */
    letter-spacing: normal;
}
.kill-link-button.cta-button:hover { 
    color: #FFFFFF; 
    background: linear-gradient(45deg, var(--metallic-shadow), var(--metallic-base)); 
    border-color: var(--primary-green); 
    transform: translateY(-3px) scale(1.01); /* Slightly more pronounced */
    box-shadow: 0 6px 12px rgba(46, 125, 50, 0.3); /* Stronger shadow */
}

/* General Link Hover State */
a {
    color: inherit; /* Inherit color by default */
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
    color: var(--primary-green); /* Highlight on hover */
    text-shadow: 0 0 5px var(--accent-green-glow-rgba);
}

/* Footer */
footer { 
    background: var(--metallic-shadow); 
    color: #666666; /* Muted color for footer text */
    text-align: center; 
    padding: 25px; 
    font-size: 0.9em; 
    border-top: 1px solid #000; 
    margin-top: auto; /* For sticky footer behavior with flex body */
}
footer > p { 
    max-width: 1100px; 
    margin: 0 auto; 
}

/* Join Page Specifics (if you have a separate join page) */
main#join-page-content { 
    min-height: 70vh; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
#join-form { 
    text-align: left; 
    width: 100%; 
    max-width: 600px; 
    margin-top: 30px; 
}
.form-group { 
    margin-bottom: 20px; 
}
#join-form label { 
    display: block; 
    margin-bottom: 8px; 
    color: var(--primary-green); 
    font-size: 0.95em; 
    font-weight: bold; 
}
#join-form input[type="text"], 
#join-form textarea { 
    width: 100%; 
    padding: 12px; 
    background-color: rgba(35,35,35,0.8); 
    border: 1px solid var(--accent-green-border-rgba); 
    color: var(--text-light); 
    border-radius: 4px; 
    box-sizing: border-box; 
    font-family: var(--font-body); 
    font-size: 1em; 
}
#join-form input[type="text"]:focus, 
#join-form textarea:focus { 
    outline: none; 
    border-color: var(--primary-green); 
    box-shadow: 0 0 8px var(--accent-green-glow-rgba); 
}
.form-submit-group { 
    text-align: center; 
    margin-top: 30px; 
}
/* Ensuring submit button on join form uses CTA styles correctly */
#join-form button[type="submit"].cta-button { 
    font-size: 1.1em !important; 
    padding: 12px 30px !important; 
    color: #FFFFFF !important; 
}
.form-disclaimer { 
    text-align: center; 
    margin-top: 30px; 
    font-size: 0.9em; 
    color: var(--text-muted); 
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .kill-highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    }
}

@media (max-width: 768px) {
    /* If using new Bootstrap navbar, these .banner-* styles are less relevant */
    /* .banner-content { flex-direction: column; gap: 10px; } */
    /* .banner-links { justify-content: center; } */
    /* body padding-top will be adjusted by inline style for new navbar */
    /* body { padding-top: 100px; } /* Example if old banner was taller on mobile */

    .section-overlay,
    .dark-block-content-wrapper,
    #join-page-content { 
        width: 95%; 
        padding-left: 15px; 
        padding-right: 15px; 
    }
    .dark-block-section { 
        padding-top: 20px; 
        padding-bottom: 20px; 
    }

    .section-tagline { 
        font-size: 1.8em; 
        margin-bottom: 20px;
    }
    .corp-info-block { 
        margin-top: 30px; 
        font-size: 1em; 
    }

    /* Target main h2 in general way as well */
    h2, 
    main#join-page-content > h2,
    .dark-block-content-wrapper > h2,
    .section-overlay > h2 { 
        font-size: 2.2em; 
    }

    .feature-grid { 
        grid-template-columns: 1fr; /* Stack feature items on smaller screens */
    }
    .kill-highlights-grid {
        grid-template-columns: 1fr; /* Stack kill cards */
    }
    .video-grid { 
        grid-template-columns: 1fr; /* Stack videos */
    }
    .cta-button { 
        padding: 12px 30px; 
        font-size: 1.1em; 
    }

    body::before, body::after { 
        animation-duration: 50s; /* Slow down ambient haze on mobile if too demanding */
    }
}

@media (max-width: 480px) {
    /* .banner-logo { font-size: 1.5em; } */ /* If using new Bootstrap navbar */
    /* .banner-button { font-size: 0.85em; padding: 6px 12px; } */
    /* body padding-top will be adjusted by inline style for new navbar */
    /* body { padding-top: 90px; } */

    .section-tagline { 
        font-size: 1.5em; 
    }

    h2,
    main#join-page-content > h2,
    .dark-block-content-wrapper > h2,
    .section-overlay > h2 { 
        font-size: 1.8em; 
    }

    .video-container iframe { 
        min-height: 200px; 
    }
    .kill-card-header .ship-name { 
        font-size: 1.3em; 
    }
    .kill-card-header .kill-value { 
        font-size: 1em; 
    }
}
