/* === Dragons Within — Landing Page === */

:root {
    --bg-primary: #0a0a12;
    --bg-secondary: #12121f;
    --bg-card: #1a1a2e;
    --text-primary: #e8e6e3;
    --text-secondary: #a09d98;
    --text-muted: #6b6966;
    --accent-gold: #d4a843;
    --accent-gold-light: #f0d078;
    --accent-purple: #7c3aed;
    --accent-purple-light: #a78bfa;
    --accent-red: #dc2626;
    --accent-chakra: #e67e22;
    --gradient-hero: linear-gradient(135deg, #0a0a12 0%, #1a0a2e 50%, #0a1a2e 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-gold), var(--accent-chakra));
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --shadow-glow: 0 0 40px rgba(212, 168, 67, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Particle Canvas */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(10, 10, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.03em;
}

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

.nav-cta {
    background: var(--gradient-accent) !important;
    color: var(--bg-primary) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    background: var(--gradient-hero);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(transparent, var(--bg-primary));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-tagline {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-release {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.03em;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(212, 168, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(212, 168, 67, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(212, 168, 67, 0.3);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
    color: var(--text-muted);
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-gold-light);
}

.section-lead {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 3.5rem;
    line-height: 1.8;
}

/* About — Feature Cards */
.section-about {
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(212, 168, 67, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(212, 168, 67, 0.25);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent-gold-light);
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Features List */
.section-features {
    background: var(--bg-primary);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 168, 67, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(26, 26, 46, 0.5);
    border-color: rgba(212, 168, 67, 0.15);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(212, 168, 67, 0.15);
    min-width: 70px;
    line-height: 1;
}

.feature-text h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--accent-gold-light);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Signup */
.section-signup {
    background: var(--bg-secondary);
    text-align: center;
}

.signup-form {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto 1rem;
    flex-wrap: wrap;
}

.signup-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 0.85rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(212, 168, 67, 0.2);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.signup-form input:focus {
    border-color: var(--accent-gold);
}

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

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(212, 168, 67, 0.08);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(212, 168, 67, 0.05);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Mobile */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    .hero {
        padding: 1.5rem;
    }
    .section {
        padding: 4rem 1.5rem;
    }
    .feature-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    .feature-number {
        font-size: 1.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
