* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #d4af37;
    --dark-gold: #a08428;
    --purple: #4a148c;
    --deep-purple: #2d0a54;
    --emerald: #2e7d32;
    --stone: #424242;
    --midnight: #0d1b2a;
    --bg-dark: #0a0e1a;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--midnight) 0%, var(--bg-dark) 100%);
    color: #e0e0e0;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 0;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

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

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

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

.page-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(74, 20, 140, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(46, 125, 50, 0.2) 0%, transparent 50%);
    animation: pulse 8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    color: var(--gold);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.8),
                 0 0 80px rgba(212, 175, 55, 0.4);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero .hero-description {
    color: #888;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    border-radius: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: var(--midnight);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.8);
}

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

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

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

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 4rem 0;
    position: relative;
}

.divider::before,
.divider::after {
    content: '◆';
    position: absolute;
    color: var(--gold);
    font-size: 1.5rem;
    top: -12px;
}

.divider::before { left: 48%; }
.divider::after { right: 48%; }

.online-status {
    background: rgba(46, 125, 50, 0.2);
    border: 2px solid var(--emerald);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 4rem 0;
    box-shadow: 0 0 30px rgba(46, 125, 50, 0.3);
}

.online-status h2 {
    font-family: 'Cinzel', serif;
    color: var(--emerald);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.player-count {
    font-size: 3rem;
    color: #4ade80;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(74, 222, 128, 0.6);
}

.section-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card {
    background: rgba(13, 27, 42, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #b0b0b0;
    line-height: 1.6;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(46, 125, 50, 0.2);
    border-color: var(--emerald);
    color: #4ade80;
}

.alert-error {
    background: rgba(220, 53, 69, 0.2);
    border-color: #dc3545;
    color: #ff6b6b;
}

.alert-info {
    background: rgba(102, 126, 234, 0.2);
    border-color: #667eea;
    color: #9db4ff;
}

footer {
    background: rgba(10, 14, 26, 0.95);
    border-top: 2px solid var(--gold);
    padding: 3rem 2rem;
    margin-top: 6rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-title {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

footer p {
    color: #808080;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}