/* ================================================================
   WARFALLEN - LANDING PAGE
   Rise Through Conquest - Dark Fantasy Medieval Strategy MMO
   ================================================================ */

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@700;900&family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Variables */
:root {
    --color-black: #0a0a0a;
    --color-charcoal: #1a1a1a;
    --color-dark: #2b2b2b;
    --color-gold: #d4af37;
    --color-antique-gold: #c9a227;
    --color-brass: #b08d57;
    --color-crimson: #dc143c;
    --color-blood: #8b0000;
    --color-steel: #3d5a80;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-white: #ffffff;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --radius-md: 4px;
    --radius-lg: 8px;
    --radius-xl: 12px;
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.9), 0 4px 6px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.95), 0 10px 10px rgba(0, 0, 0, 0.8);
    --glow-gold: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    --transition-base: 0.3s ease;
}

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

body {
    width: 100%;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    background: var(--color-black) url('images/Dashboard_Background.png') no-repeat center center fixed;
    background-size: cover;
    color: var(--text-primary);
    position: relative;
}

/* Dark vignette overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Noise texture */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence baseFrequency="0.9"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.landing-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.landing-header {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), var(--glow-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b08d57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    letter-spacing: 2px;
}

.header-nav {
    display: flex;
    gap: 10px;
}

/* Buttons */
.btn {
    font-family: 'Cinzel', serif;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-steel) 0%, var(--color-steel) 100%);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: rgba(107, 107, 107, 0.3);
    color: var(--text-primary);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--color-gold);
}

.btn-success {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-brass) 100%);
    color: var(--color-black);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg), var(--glow-gold);
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--color-antique-gold) 0%, var(--color-gold) 100%);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.3em;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), var(--glow-gold);
    border: 2px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

/* Ornate corners */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(212, 175, 55, 0.5);
}

.hero::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: var(--radius-lg);
}

.hero::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: var(--radius-lg);
}

.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 4em;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b08d57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.5em;
    color: var(--text-secondary);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl), var(--glow-gold);
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 3em;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 50%, #b08d57 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1em;
    font-weight: 600;
}

/* Features Section */
.features-section,
.benefits-section,
.cta-section {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
}

.section-header {
    font-family: 'Cinzel', serif;
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-brass) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--color-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--color-gold);
    margin-bottom: 10px;
    font-size: 1.3em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Benefits List */
.benefits-list {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    margin: 15px 0;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-gold);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.benefit-item strong {
    color: var(--color-gold);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 40px;
}

.cta-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--color-gold);
    font-size: 2.5em;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Footer */
.landing-footer {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
    color: var(--text-secondary);
}

.landing-footer a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.landing-footer a:hover {
    color: var(--color-antique-gold);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-header {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-cta {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

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