/* Main Menu */
:root {
    --bg: #05070a;
    --accent: #3498db;
    --glow: rgba(52, 152, 219, 0.5);
    --white: #f5f6fa;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: 'Rajdhani', sans-serif;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #888;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.dl-btn a {
    color: #9b59b6 !important; /* Purple accent */
    border: 1px solid #9b59b6;
    padding: 5px 15px;
    border-radius: 4px;
}

.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.main-logo {
    max-width: 600px;
    width: 90%;
    filter: drop-shadow(0 0 20px var(--glow));
    margin-bottom: 20px;
}

.tagline {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.btn-blue {
    background: var(--accent);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    margin-right: 15px;
    border-radius: 2px;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
}






/* About Page */
.content-container {
    margin-top: 100px;
    padding: 40px 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 2.5rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 40px;
}

.info-block {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-left: 3px solid var(--accent);
}

.info-block h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #ecf0f1;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.info-block p {
    line-height: 1.8;
    color: #bdc3c7;
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 15px;
    color: #bdc3c7;
    padding-left: 20px;
    position: relative;
}

.features-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.8rem;
    top: 4px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-family: 'Rajdhani', sans-serif;
    background: rgba(0, 0, 0, 0.3);
}

.specs-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid var(--accent);
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.specs-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #bdc3c7;
    font-size: 0.95rem;
}

.specs-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.specs-table strong {
    color: #ecf0f1;
}

/* Models Hangar */
#hangar-overlay {
    position: fixed; /* Locks it to the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;      /* Vertical Center */
    justify-content: center;   /* Horizontal Center */
    background-color: #121212; 
    z-index: 1;               /* Keeps it behind the Navbar but above the body */
}

.ui-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 !important; /* Overrides any previous alignment */
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100; /* Higher than the hangar-overlay */
}


/* Team StarFox */
.fleet-page {
    margin: 0;
    overflow: hidden;
    height: 100vh;
    background: #000;
}

.fleet-layout {
    display: flex;
    height: 100vh;
    padding-top: 70px; /* Space for Navbar */
}

.ship-sidebar {
    width: 380px; /* Slightly wider for bigger text */
    background: rgba(0, 0, 0, 0.9);
    border-right: 3px solid var(--accent);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.sidebar-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 2px;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.ship-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 20px;
    margin-bottom: 10px;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

.ship-btn .btn-text {
    font-size: 1rem; /* Bigger button text */
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.ship-btn.active, .ship-btn:hover {
    background: rgba(52, 152, 219, 0.2);
    border-color: var(--accent);
    color: #fff;
}

.viewer-section {
    flex: 1; /* Takes up all remaining space */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, #0e1117 0%, #000 100%);
}

#main-display {
    width: 100%;
    height: 100%;
    outline: none;
}

.ship-description-box {
    position: absolute;
    bottom: 60px;
    right: 60px;
    text-align: right;
    pointer-events: none;
}

.ship-description-box h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem; /* HUGE SHIP NAME */
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 0 20px var(--accent);
}

.ship-description-box p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem; /* Bigger description */
    color: var(--accent);
    max-width: 500px;
    margin-top: 10px;
    line-height: 1.2;
}

.back-btn {
    margin-top: auto;
    color: #555;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    padding-top: 20px;
}


/* StarWolf Fleet */
.starwolf-border 
{
    border-right: 3px solid #e74c3c !important;
}

.wolf-btn:hover, .wolf-btn.active {
    background: rgba(231, 76, 60, 0.2) !important;
    border-color: #e74c3c !important;
    color: #e74c3c !important;
}

.starwolf-theme .viewer-section {
    background: radial-gradient(circle, #1a0a0a 0%, #000 100%) !important;
}

.starwolf-theme .ship-description-box p 
{
    color: #e74c3c !important;
}


/* Bosses Campaign Selection */
.boss-menu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;      /* Horizontal Center */
    justify-content: center;   /* Vertical Center */
    
    position: fixed;           /* Pulls it out of the layout flow */
    top: 0;
    left: 0;
    width: 100vw;              /* Force full browser width */
    height: 100vh;             /* Force full browser height */
    
    background: #000;          /* Deep black background */
    margin: 0 !important;      /* Kill any accidental offsets */
    padding: 0 !important;
    text-align: center;
    z-index: 9999;
}

.archive-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 10px;
    margin-bottom: 70px; 
    color: #fff;
    text-shadow: 0 0 15px rgba(241, 196, 15, 0.6);
    text-transform: uppercase;
}

.campaign-selection-list {
    display: flex;
    flex-direction: column;
    gap: 45px;                /* Consistent spacing between titles */
}

.campaign-hero-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;      /* Centers sub-text over titles */
    transition: transform 0.3s ease;
}

.campaign-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    color: #f1c40f;
    letter-spacing: 5px;
    margin-bottom: 5px;
    opacity: 0.7;
}

.campaign-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 4px;
    transition: 0.3s ease;
}

/* --- HOVER EFFECTS --- */
.campaign-hero-link:hover {
    transform: scale(1.05);
}

.campaign-hero-link:hover .campaign-name {
    color: #fff;
    text-shadow: 0 0 20px #f1c40f;
}

.menu-footer {
    margin-top: 80px;
}

.back-link-gold {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #444;
    text-decoration: none;
    letter-spacing: 2px;
    transition: 0.3s;
}

.back-link-gold:hover {
    color: #f1c40f;
}



/* Second Lylat War */
.boss-theme-lylat {
    background: #000;
    overflow: hidden;
}

.gold-text { color: #f1c40f !important; }
.gold-border { border-right: 3px solid #f1c40f !important; }

.ship-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 12px;
    margin-top: 20px;
    
    height: calc(100vh - 250px); 
    overflow-y: auto;
    overflow-x: hidden;
}

.ship-list::-webkit-scrollbar {
    width: 4px;
}
.ship-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.ship-list::-webkit-scrollbar-thumb {
    background: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.ship-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(241, 196, 15, 0.1);
    color: #888;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ship-btn:hover {
    background: rgba(241, 196, 15, 0.05);
    border-color: #f1c40f;
    color: #fff;
}

.ship-btn.active {
    background: rgba(241, 196, 15, 0.15) !important;
    border-left: 5px solid #f1c40f !important;
    color: #fff !important;
}

.threat-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #f1c40f;
    border: 1px solid #f1c40f;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ship-description-box {
    position: absolute;
    bottom: 50px;
    right: 50px;
    max-width: 450px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-right: 4px solid #f1c40f;
    pointer-events: none;
    backdrop-filter: blur(5px);
}


/* Sauria Crisis*/

.boss-theme-sauria {
    background: #000;
    overflow: hidden;
}

.gold-text { color: #f1c40f !important; }
.gold-border { border-right: 3px solid #f1c40f !important; }

.ship-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 12px;
    margin-top: 20px;
    
    height: calc(100vh - 250px); 
    overflow-y: auto;
    overflow-x: hidden;
}

.ship-list::-webkit-scrollbar {
    width: 4px;
}
.ship-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.ship-list::-webkit-scrollbar-thumb {
    background: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.ship-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(241, 196, 15, 0.1);
    color: #888;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ship-btn:hover {
    background: rgba(241, 196, 15, 0.05);
    border-color: #f1c40f;
    color: #fff;
}

.ship-btn.active {
    background: rgba(241, 196, 15, 0.15) !important;
    border-left: 5px solid #f1c40f !important;
    color: #fff !important;
}

.threat-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #f1c40f;
    border: 1px solid #f1c40f;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ship-description-box {
    position: absolute;
    bottom: 50px;
    right: 50px;
    max-width: 450px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-right: 4px solid #f1c40f;
    pointer-events: none;
    backdrop-filter: blur(5px);
}

/* Talan Bosses */
.boss-theme-talan {
    background: #000;
    overflow: hidden;
}

.gold-text { color: #f1c40f !important; }
.gold-border { border-right: 3px solid #f1c40f !important; }

.ship-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 12px;
    margin-top: 20px;
    
    height: calc(100vh - 250px); 
    overflow-y: auto;
    overflow-x: hidden;
}

.ship-list::-webkit-scrollbar {
    width: 4px;
}
.ship-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
.ship-list::-webkit-scrollbar-thumb {
    background: #f1c40f;
    box-shadow: 0 0 10px rgba(241, 196, 15, 0.5);
}

.ship-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(241, 196, 15, 0.1);
    color: #888;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ship-btn:hover {
    background: rgba(241, 196, 15, 0.05);
    border-color: #f1c40f;
    color: #fff;
}

.ship-btn.active {
    background: rgba(241, 196, 15, 0.15) !important;
    border-left: 5px solid #f1c40f !important;
    color: #fff !important;
}

.threat-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: #f1c40f;
    border: 1px solid #f1c40f;
    padding: 4px 10px;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.ship-description-box {
    position: absolute;
    bottom: 50px;
    right: 50px;
    max-width: 450px;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-right: 4px solid #f1c40f;
    pointer-events: none;
    backdrop-filter: blur(5px);
}
