/* ==========================================================================
   Tactically Rejected CSS - Premium EVE Online Space Aesthetic
   ========================================================================== */

/* --- Custom Variables & Theme Tokens --- */
:root {
    --bg-deep: #060709;
    --bg-darker: #0c0e12;
    --bg-dark: #12161f;
    --bg-card: rgba(18, 22, 31, 0.65);
    
    --accent-cyan: #00f0ff;
    --accent-cyan-rgb: 0, 240, 255;
    --accent-red: #ff3860;
    --accent-red-rgb: 255, 56, 96;
    --accent-amber: #ff9f43;
    --accent-purple: #a55eea;
    --accent-green: #2ecc71;
    
    --text-primary: #f1f2f6;
    --text-secondary: #a4b0be;
    --text-muted: #57606f;
    
    --border-color: rgba(255, 255, 255, 0.04);
    --border-glow-cyan: rgba(0, 240, 255, 0.25);
    --border-glow-red: rgba(255, 56, 96, 0.25);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-sub: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Reset & Core Layout --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-deep);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-color: var(--bg-deep);
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(255, 56, 96, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.04) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.006) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.006) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 80px 80px, 80px 80px;
}

/* --- Scrollbar Customization --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: #1e272e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* --- Typography Utilities --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.font-tech {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.text-muted {
    color: var(--text-muted) !important;
}

.accent-cyan { color: var(--accent-cyan) !important; }
.accent-red { color: var(--accent-red) !important; }
.accent-amber { color: var(--accent-amber) !important; }
.accent-green { color: var(--accent-green) !important; }
.accent-purple { color: var(--accent-purple) !important; }

.icon-cyan { color: var(--accent-cyan); filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4)); }
.icon-red { color: var(--accent-red); filter: drop-shadow(0 0 8px rgba(255, 56, 96, 0.4)); }

/* --- Glassmorphism UI Panels --- */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

/* Hover Glow Effects */
.hover-glow-cyan:hover {
    border-color: var(--border-glow-cyan);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
    transition: var(--transition-smooth);
}

.hover-glow-red:hover {
    border-color: var(--border-glow-red);
    box-shadow: 0 0 25px rgba(255, 56, 96, 0.15);
    transform: translateY(-2px);
    transition: var(--transition-smooth);
}

.hover-glow-purple:hover {
    border-color: rgba(165, 94, 234, 0.3);
    box-shadow: 0 0 25px rgba(165, 94, 234, 0.15);
    transform: translateY(-2px);
    transition: var(--transition-smooth);
}

.hover-glow-amber:hover {
    border-color: rgba(255, 159, 67, 0.3);
    box-shadow: 0 0 25px rgba(255, 159, 67, 0.15);
    transform: translateY(-2px);
    transition: var(--transition-smooth);
}

/* --- Badges & Status Indicators --- */
.status-badge {
    background: rgba(255, 56, 96, 0.1);
    color: var(--accent-red);
    border: 1px solid rgba(255, 56, 96, 0.3);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
}

.status-badge-green {
    background: rgba(46, 204, 113, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(46, 204, 113, 0.3);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tag-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.pulse-red {
    background-color: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
    animation: blinker 1.5s infinite;
}

.pulse-green {
    background-color: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: blinker 1.8s infinite;
}

.status-badge-green.pulse-green {
    background-color: rgba(46, 204, 113, 0.08) !important;
    box-shadow: 0 0 8px rgba(46, 204, 113, 0.2);
    animation: greenGlow 2s infinite alternate;
}

@keyframes blinker {
    50% { opacity: 0.3; }
}

@keyframes greenGlow {
    0% {
        box-shadow: 0 0 4px rgba(46, 204, 113, 0.2);
        border-color: rgba(46, 204, 113, 0.3);
    }
    100% {
        box-shadow: 0 0 12px rgba(46, 204, 113, 0.6);
        border-color: rgba(46, 204, 113, 0.8);
    }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-red);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: #ff5277;
    transform: translateY(-2px);
}

.btn-glow-red {
    box-shadow: 0 0 15px rgba(255, 56, 96, 0.4);
}
.btn-glow-red:hover {
    box-shadow: 0 0 25px rgba(255, 56, 96, 0.7);
}

.btn-cyan {
    background-color: var(--accent-cyan);
    color: var(--bg-deep);
    font-weight: 700;
}
.btn-cyan:hover {
    background-color: #33f3ff;
    transform: translateY(-2px);
}
.btn-glow-cyan {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}
.btn-glow-cyan:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 7, 9, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(6, 7, 9, 0.95);
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.3));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 8px var(--accent-cyan);
    transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    border: 1px solid var(--accent-red);
    background: rgba(255, 56, 96, 0.05);
    padding: 8px 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 56, 96, 0.2);
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    background: var(--accent-red);
    box-shadow: 0 0 20px rgba(255, 56, 96, 0.5);
    transform: translateY(-1px);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 20px 80px 20px;
    text-align: center;
    background-image: linear-gradient(rgba(6, 7, 9, 0.55), rgba(6, 7, 9, 0.85)), url('../assets/space_battle_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-deep) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    margin: auto 0;
}

.hero-tag {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 20px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: 4px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-weight: 300;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Section Global Structure --- */
.scroll-section {
    padding: 100px 20px;
    min-height: auto;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: 60px;
}

.sub-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.title-line.red-line {
    background-color: var(--accent-red);
    box-shadow: 0 0 10px var(--accent-red);
}

/* --- About Section Specifics --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    padding: 40px 30px;
    transition: var(--transition-smooth);
}

.card-icon {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.about-card:hover .card-icon {
    transform: scale(1.08);
}

.about-card.hover-glow-cyan:hover .card-icon {
    color: var(--accent-cyan);
    border-color: var(--border-glow-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.about-card.hover-glow-red:hover .card-icon {
    color: var(--accent-red);
    border-color: var(--border-glow-red);
    box-shadow: 0 0 15px rgba(255, 56, 96, 0.3);
}

.about-card.hover-glow-purple:hover .card-icon {
    color: var(--accent-purple);
    border-color: rgba(165, 94, 234, 0.3);
    box-shadow: 0 0 15px rgba(165, 94, 234, 0.3);
}

.about-card h3 {
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* --- Recruitment Portal Specifics --- */
.apply-single-panel {
    max-width: 800px;
    margin: 0 auto;
}

.requirements-panel {
    padding: 35px;
}

.req-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.req-title-wrapper h3 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirements-panel p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.req-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.checkbox-checked {
    font-size: 1.15rem;
    color: var(--accent-red);
}

.req-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.req-list div {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.apply-actions {
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* --- Footer --- */
.footer {
    background-color: rgba(6, 7, 9, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px 20px;
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 320px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.2));
}

.copyright-text {
    font-size: 0.75rem;
    margin-top: 8px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-col h5 {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.link-col a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.link-col a:hover {
    color: var(--accent-cyan);
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* --- Animations & Utilities --- */
.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll Fade Animation triggered via JS class */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-card:nth-child(3) {
        grid-column: span 2;
    }
    

}

@media (max-width: 768px) {
    .header-container {
        padding: 15px;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-deep);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        padding: 50px 0;
        border-top: 1px solid rgba(0, 240, 255, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
    }
    
    .stat-num {
        font-size: 1.8rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-card:nth-child(3) {
        grid-column: span 1;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
}

/* --- Alliance & Coalition Section Specifics --- */
.alignment-section {
    background-color: var(--bg-dark);
}

.alliance-cards-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 50px;
}

.alliance-hero-banner {
    position: relative;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-dark);
    transition: var(--transition-smooth);
}

.alliance-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 7, 9, 0.95) 0%, rgba(6, 7, 9, 0.8) 50%, rgba(6, 7, 9, 0.4) 100%);
    z-index: 1;
}

.alliance-hero-banner.ootb-banner {
    background-image: url('../assets/ootb_bg.png');
}

.alliance-hero-banner.ootb-banner:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
}

.alliance-hero-banner.imperium-banner {
    background-image: url('../assets/imperium_bg.png');
}

.alliance-hero-banner.imperium-banner:hover {
    border-color: rgba(255, 56, 96, 0.3);
    box-shadow: 0 0 30px rgba(255, 56, 96, 0.15);
}

.alliance-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    text-align: left;
}

.alliance-hero-tag {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    width: fit-content;
}

.alliance-hero-tag.tag-cyan {
    color: var(--accent-cyan);
    border-color: rgba(0, 240, 255, 0.2);
    background: rgba(0, 240, 255, 0.03);
}

.alliance-hero-tag.tag-red {
    color: var(--accent-red);
    border-color: rgba(255, 56, 96, 0.2);
    background: rgba(255, 56, 96, 0.03);
}

.alliance-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.2;
}

.alliance-hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Adjust responsive design */
@media (max-width: 768px) {
    .alliance-hero-banner {
        padding: 40px 25px;
        min-height: auto;
    }
    
    .alliance-hero-banner::before {
        background: rgba(6, 7, 9, 0.9);
    }
    
    .alliance-hero-title {
        font-size: 2rem;
    }
}
    

