/*
Theme Name: Exodus Vanguard Terminal
Theme URI: https://exv-sc.net
Author: Exodus Vanguard
Author URI: https://exv-sc.net
Description: Modern space terminal-themed WordPress theme for Exodus Vanguard Star Citizen organization. Features a sleek ship terminal interface design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exv-terminal
*/

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700;800&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-light: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #e5e5e5;
    --text-dark: #000000;
    --border-white: rgba(255, 255, 255, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    --accent-white: #ffffff;
    --accent-gray: #808080;
    --terminal-green: #00ff88;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background: var(--bg-darker);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle Grid Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -10;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    pointer-events: none;
}

/* Cover the gap above header - prevents content showing through when scrolling */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 1.5rem;
    background: var(--bg-darker);
    z-index: 10001;
    pointer-events: none;
}


@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes slideUp {
    0% {
        transform: translateY(20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Terminal Window */
.terminal-window {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.5),
        inset 0 0 60px rgba(255, 255, 255, 0.02);
    margin: 0.5rem 0;
}

.terminal-header {
    background: rgba(20, 20, 20, 0.5);
    border-bottom: 1px solid var(--border-white);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
}

.terminal-dots {
    display: flex;
    gap: 0.5rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: rgba(255, 255, 255, 0.4); }
.terminal-dot.amber { background: rgba(255, 255, 255, 0.3); }
.terminal-dot.green { background: rgba(255, 255, 255, 0.5); }

.terminal-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.terminal-prompt {
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 1rem;
}

.terminal-text {
    color: var(--text-secondary);
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--accent-white);
    margin-left: 4px;
    animation: blink 1s step-end infinite;
}

.glow-text {
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
}

/* Space Button */
.space-button {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-white);
    border-radius: 8px;
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    display: inline-block;
}

.space-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.space-button:hover::before {
    transform: translateX(100%);
}

.space-button:hover {
    border-color: var(--accent-white);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--accent-white);
}

/* Card Space */
.card-space {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.5s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.card-space:hover {
    border-color: var(--accent-white);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

/* Navigation */
.site-header {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    background: rgba(10, 10, 10, 1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}


.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    background: rgba(10, 10, 10, 1);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-box {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logo-box:hover {
    border-color: var(--accent-white);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.logo-text {
    color: var(--accent-white);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.logo-box:hover .logo-text {
    color: var(--accent-white);
}

.logo-info {
    display: none;
}

@media (min-width: 768px) {
    .logo-info {
        display: block;
    }
}

.logo-title {
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-subtitle {
    color: var(--accent-gray);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.nav-link-space {
    padding: 0.5rem 1rem;
    color: var(--accent-gray);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
}

.nav-link-space::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-white);
    transition: width 0.3s ease;
}

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

.nav-link-space:hover,
.nav-link-space.active {
    color: var(--accent-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Main Content */
.site-main {
    margin-top: 120px;
    min-height: calc(100vh - 200px);
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 1rem 0;
    text-align: center;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px) {
    .site-header {
        top: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
    }
    
    body::after {
        height: 0.75rem;
    }
    
    .site-main {
        margin-top: 100px;
    }
    
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-white);
    background: rgba(10, 10, 10, 0.5);
    margin-top: 4rem;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-text {
    color: var(--accent-gray);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--accent-gray);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-white);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-white);
    border-radius: 8px;
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

label {
    display: block;
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Mobile Menu */
.menu-toggle {
    display: block;
    background: transparent;
    border: 1px solid var(--border-white);
    color: var(--accent-white);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-toggle:hover {
    border-color: var(--accent-white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--border-white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu .nav-link-space {
    display: block;
    padding: 0.75rem 1rem;
}

.exv-access-notice {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(10, 10, 10, 0.98);
    border: 2px solid var(--border-white);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0;
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    z-index: 12000;
    animation: slideUp 0.35s ease-out;
    max-width: 400px;
    min-width: 300px;
    overflow: hidden;
}

.exv-access-notice-content {
    padding: 1.25rem 1.5rem;
}

.exv-access-notice strong {
    color: var(--accent-white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.exv-access-notice p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.exv-access-notice-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: 1px solid var(--border-white);
    color: var(--accent-white);
    width: 28px;
    height: 28px;
    border-radius: 4px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    font-weight: 300;
}

.exv-access-notice-close:hover {
    border-color: var(--accent-white);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Header Buttons */
.exv-header-buttons {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.exv-header-buttons .space-button {
    margin: 0;
}

/* Profile Modal - Complete Rebuild */
.exv-profile-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px) brightness(0.7);
    -webkit-backdrop-filter: blur(10px) brightness(0.7);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-top: 8rem;
}

.exv-profile-modal.active {
    display: flex !important;
}

.exv-profile-modal-content {
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid var(--border-white);
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.8),
        inset 0 0 60px rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: calc(85vh - 8rem);
    overflow-y: auto;
    position: relative;
    margin: auto;
    z-index: 10001;
    display: block;
}

.exv-profile-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(20, 20, 20, 0.5);
    border-bottom: 1px solid var(--border-white);
    border-radius: 8px 8px 0 0;
}

.exv-profile-modal-header .terminal-dots {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.exv-profile-modal-header .terminal-text {
    flex: 1;
}

.exv-profile-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-white);
    color: var(--accent-white);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    font-weight: 300;
}

.exv-profile-modal-close:hover {
    border-color: var(--accent-white);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.exv-profile-modal-body {
    padding: 1.5rem;
}

/* Role Badges */
.exv-role-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-white);
    border-radius: 4px;
    color: var(--accent-white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.exv-role-badge:hover {
    border-color: var(--accent-white);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Role badges with custom colors */
.exv-role-badge[style*="border-color"]:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px currentColor;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .exv-header-buttons {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .exv-header-buttons .space-button {
        width: 100%;
    }
    
    .exv-profile-modal {
        padding: 1rem;
    }
    
    .exv-profile-modal-content {
        max-width: 100%;
    }
}

