/* CSS Variables for consistent theming */
:root {
    --color-bg: #0a0f1c;
    --color-accent: #00d4ff;
    --color-text: #ffffff;
    --color-text-muted: #8892b0;
    --color-card-bg: rgba(13, 20, 39, 0.7);
    --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --shadow-card: 0 4px 20px rgba(0, 212, 255, 0.1);
    --transition-smooth: all 0.3s ease;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Star field background */
.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Header Navigation */
.header {
    padding: 1rem 0;
    position: sticky;
    top: 0;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

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

.nav-links a.beta-access {
    background: var(--color-accent);
    color: var(--color-bg);
    font-weight: 600;
}

.nav-links a.beta-access:hover {
    background: #33ddff;
    transform: translateY(-2px);
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: shimmer 10s infinite;
}

@keyframes shimmer {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, var(--color-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* Stats Dashboard */
.stats-dashboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--color-card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Server Status */
.server-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-card-bg);
    border-radius: 50px;
    margin: 2rem 0;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff3e3e;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* Command Center Section */
.command-center {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-accent);
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.command-card {
    background: var(--color-card-bg);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.command-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
    color: var(--color-accent);
    font-size: 1.25rem;
}

.card-content {
    padding: 1.5rem;
}

/* Activity Feed */
.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-details {
    flex: 1;
}

.activity-text {
    display: block;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Guild Recruitment */
.guild-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.guild-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.guild-description {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.guild-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.guild-tag {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .command-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .stats-dashboard,
    .command-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
