@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Work+Sans:wght@300;400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --royal-red: #991b1b;
    --rich-gold: #d97706;
    --deep-crimson: #450a0a;
    --cream-ivory: #fef3c7;
    --velvet-black: #0c0a09;
    --warm-gold: #fbbf24;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--velvet-black);
    color: var(--cream-ivory);
    min-height: 100vh;
    line-height: 1.7;
}

.royal-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--deep-crimson);
    border-bottom: 3px solid var(--rich-gold);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.regal-brand {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: var(--warm-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-crown {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--rich-gold), var(--warm-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--rich-gold);
    color: var(--rich-gold);
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 5px;
}

.royal-nav {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.royal-nav a {
    color: var(--cream-ivory);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.royal-nav a:hover { color: var(--warm-gold); }

.kingdom { padding-top: 75px; }

.throne-hero {
    min-height: calc(100vh - 75px);
    background: linear-gradient(135deg, var(--deep-crimson) 0%, var(--velvet-black) 100%);
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
}

.hero-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Marcellus', serif;
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--cream-ivory);
}

.hero-text h1 span { color: var(--warm-gold); }

.hero-text p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.9; }

.crown-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--rich-gold), var(--warm-gold));
    color: var(--deep-crimson);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
}

.crown-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
}

.royal-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.royal-card {
    background: rgba(69, 10, 10, 0.6);
    border: 1px solid rgba(217, 119, 6, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
}

.royal-card h3 {
    font-family: 'Marcellus', serif;
    color: var(--warm-gold);
    margin-bottom: 0.4rem;
}

.game-throne {
    padding: 5rem 2rem;
    background: var(--velvet-black);
}

.throne-title {
    font-family: 'Marcellus', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--warm-gold);
}

.game-arena {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--deep-crimson);
    border: 3px solid var(--rich-gold);
    border-radius: 10px;
    overflow: hidden;
}

.game-arena iframe {
    width: 100%;
    height: 640px;
    border: none;
    display: block;
}

.royal-features {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--deep-crimson) 0%, var(--velvet-black) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    background: rgba(12, 10, 9, 0.8);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.feature-item:hover { border-color: var(--rich-gold); }

.feat-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-item h4 { font-family: 'Marcellus', serif; color: var(--warm-gold); margin-bottom: 0.5rem; }
.feature-item p { font-size: 0.9rem; opacity: 0.8; }

.royal-story {
    padding: 5rem 2rem;
    background: var(--velvet-black);
}

.story-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.story-inner p { font-size: 1.1rem; margin-bottom: 1.2rem; opacity: 0.9; }

.crown-footer {
    background: var(--deep-crimson);
    padding: 3rem 2rem;
    border-top: 3px solid var(--rich-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h5 { font-family: 'Marcellus', serif; color: var(--warm-gold); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--cream-ivory); text-decoration: none; opacity: 0.8; }
.footer-col a:hover { opacity: 1; color: var(--warm-gold); }
.footer-col p { opacity: 0.8; }

.footer-end {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(217, 119, 6, 0.3);
    opacity: 0.7;
    font-size: 0.85rem;
}

.gate-royal {
    position: fixed;
    inset: 0;
    background: rgba(12, 10, 9, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate-royal.opened { display: none; }

.gate-throne {
    background: linear-gradient(135deg, var(--deep-crimson), var(--royal-red));
    border: 3px solid var(--rich-gold);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    max-width: 460px;
}

.gate-throne h2 { font-family: 'Marcellus', serif; color: var(--warm-gold); margin-bottom: 1rem; }
.gate-throne p { margin-bottom: 2rem; opacity: 0.9; }

.gate-btns { display: flex; gap: 1rem; justify-content: center; }

.gate-enter, .gate-leave {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.gate-enter {
    background: linear-gradient(135deg, var(--rich-gold), var(--warm-gold));
    color: var(--deep-crimson);
}

.gate-leave {
    background: transparent;
    border: 2px solid var(--cream-ivory);
    color: var(--cream-ivory);
}

.page-header {
    padding: 8rem 2rem 3rem;
    background: linear-gradient(135deg, var(--deep-crimson), var(--royal-red));
    text-align: center;
}

.page-header h1 { font-family: 'Marcellus', serif; font-size: 3rem; color: var(--warm-gold); }

.page-content {
    padding: 3rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 { font-family: 'Marcellus', serif; color: var(--warm-gold); margin: 2.5rem 0 1rem; }
.page-content p { margin-bottom: 1rem; opacity: 0.9; }
.page-content ul { margin: 1rem 0; padding-left: 1.5rem; opacity: 0.9; }
.page-content li { margin-bottom: 0.5rem; }

@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .royal-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--deep-crimson);
        flex-direction: column; align-items: center;
        padding: 0; max-height: 0; overflow: hidden; transition: all 0.3s;
    }
    .royal-nav.show { max-height: 300px; padding: 1rem 0; }
    .royal-nav li { width: 100%; text-align: center; }
    .royal-nav a { display: block; padding: 0.8rem; }
    .hero-text h1 { font-size: 2.3rem; }
    .features-grid { grid-template-columns: 1fr; }
    .game-arena iframe { height: 420px; }
    .gate-throne { margin: 1rem; padding: 2rem; }
}
