:root {
    --bg-dark: #0f1115;
    --bg-darker: #0a0c0f;
    --bg-card: #161920;
    --primary: #fbbf24;
    --primary-hover: #d97706;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --border: rgba(255, 255, 255, 0.1);
    --gradient-hero: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', serif;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 12, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@keyframes logo-glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7));
    }
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    color: var(--primary);
}

.logo-img {
    height: 4rem;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
    animation: logo-glow 3s infinite ease-in-out;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.brand-slogan {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 1px;
}

header.scrolled .logo-img {
    height: 3.5rem;
    margin-bottom: 0;
}

.logo.small .logo-img {
    height: 3.5rem;
    margin-bottom: 0;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--primary);
}

.btn-nav-cta {
    background: var(--primary);
    color: #000 !important;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav-cta:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    background: radial-gradient(circle at 50% 50%, rgba(27, 32, 43, 0.8) 0%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 900;
}

.text-gold {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main);
}

.os-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.os-active {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Launcher Preview */
.launcher-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    background: #1a1d24;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    padding: 1rem;
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.launcher-preview:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.preview-header {
    display: flex;
    gap: 8px;
    margin-bottom: 1rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #10b981; }

.preview-body {
    display: flex;
    gap: 1rem;
    height: calc(100% - 2rem);
}

.preview-sidebar {
    width: 25%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.preview-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-hero {
    height: 60%;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.preview-hero::after {
    content: 'RELICTUM';
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.1);
    font-weight: 900;
}

.preview-row {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

/* Features */
.features {
    padding: 8rem 0;
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Expansions */
.expansions {
    padding: 8rem 0;
}

.expansion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.expansion-card {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    cursor: pointer;
}

.expansion-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.expansion-card:hover .card-bg {
    transform: scale(1.1);
}

.classic .card-bg { background-image: linear-gradient(to bottom, rgba(15, 17, 21, 0.2), rgba(15, 17, 21, 0.95)), url('images/classic.png'); }
.tbc .card-bg { background-image: linear-gradient(to bottom, rgba(15, 17, 21, 0.2), rgba(15, 17, 21, 0.95)), url('images/tbc.png'); }
.wotlk .card-bg { background-image: linear-gradient(to bottom, rgba(15, 17, 21, 0.2), rgba(15, 17, 21, 0.95)), url('images/wotlk.png'); }

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.card-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.version {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary);
    color: #000;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* CTA Banner */
.cta-banner {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1d24, #0f1115);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.btn-primary.large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    margin-top: 2rem;
}

/* Support Section */
.support-section {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.donation-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.donation-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.donation-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.donation-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.donation-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.crypto-address {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    width: 100%;
    position: relative;
}

.crypto-address:hover {
    border-color: var(--primary);
    background: rgba(251, 191, 36, 0.05);
}

.crypto-address code {
    font-family: 'Consolas', monospace;
    color: var(--primary);
    font-size: 0.85rem;
    word-break: break-all;
}

.copy-icon {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Legal Disclaimer */
.legal-disclaimer {
    padding: 4rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    text-align: center;
}

.legal-disclaimer h4 {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-disclaimer p {
    color: #6b7280;
    font-size: 0.875rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h5 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .hero-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        border-left: 1px solid var(--border);
    }
    
    nav.active {
        right: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 4rem;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .logo {
        flex-direction: column;
    }

    /* Mobile adjustments for sections */
    .features, .expansions, .support-section, .cta-banner {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .donation-options {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .donation-card {
        width: 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
    }

    .crypto-address {
        padding: 0.75rem 0.5rem;
    }
    
    .crypto-address code {
        font-size: 0.75rem;
    }
}
