@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Quicksand:wght@400;500;600&display=swap');

:root {
    --mist-blue: #93c5fd;
    --deep-indigo: #312e81;
    --ethereal-white: #f8fafc;
    --twilight: #1e1b4b;
    --dawn-pink: #fce7f3;
    --starlight: #c4b5fd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: linear-gradient(180deg, var(--twilight) 0%, var(--deep-indigo) 100%);
    min-height: 100vh;
    color: var(--ethereal-white);
    line-height: 1.7;
}

.ethereal-header {
    background: rgba(30, 27, 75, 0.9);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(147, 197, 253, 0.2);
}

.header-row {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-mark {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--mist-blue);
    text-decoration: none;
    letter-spacing: 3px;
}

.mobile-menu {
    display: none;
    background: none;
    border: 1px solid var(--mist-blue);
    color: var(--mist-blue);
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    border-radius: 6px;
}

.ethereal-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.ethereal-nav a {
    font-size: 0.9rem;
    color: var(--ethereal-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.ethereal-nav a:hover {
    color: var(--starlight);
}

.wrapper {
    padding-top: 70px;
}

.mystic-hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(147, 197, 253, 0.2), transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(196, 181, 253, 0.15), transparent 40%);
}

.hero-center {
    max-width: 850px;
}

.hero-center h1 {
    font-family: 'Marcellus', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--ethereal-white);
}

.hero-center h1 span {
    color: var(--mist-blue);
}

.hero-center .desc {
    font-size: 1.2rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 3rem;
}

.glow-tags {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.glow-tag {
    background: rgba(147, 197, 253, 0.1);
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 30px;
    padding: 0.8rem 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.glow-tag .icon {
    font-size: 1.3rem;
}

.glow-tag span {
    font-weight: 600;
    color: var(--mist-blue);
}

.realm-game {
    padding: 5rem 2rem;
    background: rgba(49, 46, 129, 0.3);
}

.realm-title {
    text-align: center;
    margin-bottom: 2.5rem;
}

.realm-title h2 {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--ethereal-white);
}

.realm-title span {
    color: var(--starlight);
}

.game-orb {
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(147, 197, 253, 0.15);
}

.game-orb iframe {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.blessing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.blessing {
    background: rgba(30, 27, 75, 0.6);
    border: 1px solid rgba(196, 181, 253, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.blessing .b-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blessing h3 {
    font-family: 'Marcellus', serif;
    color: var(--starlight);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.blessing p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
}

.chronicle {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, transparent, rgba(49, 46, 129, 0.4));
}

.chronicle-inner {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.chronicle-inner h2 {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    color: var(--mist-blue);
    margin-bottom: 2rem;
}

.chronicle-inner p {
    font-size: 1.1rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 1.5rem;
}

.ethereal-footer {
    background: rgba(30, 27, 75, 0.9);
    border-top: 1px solid rgba(147, 197, 253, 0.2);
    padding: 3rem 2rem;
    text-align: center;
}

.ethereal-footer h5 {
    font-family: 'Marcellus', serif;
    color: var(--mist-blue);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--ethereal-white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--starlight);
}

.footer-note {
    color: rgba(248, 250, 252, 0.5);
    font-size: 0.85rem;
}

.veil-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 27, 75, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.veil-box {
    background: linear-gradient(145deg, var(--twilight), var(--deep-indigo));
    border: 1px solid rgba(147, 197, 253, 0.3);
    border-radius: 20px;
    padding: 3rem;
    max-width: 480px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 0 80px rgba(147, 197, 253, 0.2);
}

.veil-box h2 {
    font-family: 'Marcellus', serif;
    color: var(--mist-blue);
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
}

.veil-box p {
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 2rem;
}

.veil-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.mist-btn {
    font-family: 'Quicksand', sans-serif;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.mist-btn.enter {
    background: linear-gradient(135deg, var(--mist-blue), var(--starlight));
    color: var(--twilight);
}

.mist-btn.leave {
    background: transparent;
    border: 1px solid rgba(248, 250, 252, 0.4);
    color: var(--ethereal-white);
}

.mist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(147, 197, 253, 0.3);
}

.hidden {
    display: none !important;
}

.page-head {
    padding: 4rem 2rem;
    background: rgba(49, 46, 129, 0.4);
    text-align: center;
    border-bottom: 1px solid rgba(147, 197, 253, 0.2);
}

.page-head h1 {
    font-family: 'Marcellus', serif;
    font-size: 2.5rem;
    color: var(--ethereal-white);
}

.prose {
    max-width: 850px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.prose h2 {
    font-family: 'Marcellus', serif;
    color: var(--starlight);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
}

.prose p {
    margin-bottom: 1.2rem;
    color: rgba(248, 250, 252, 0.8);
    font-size: 1.05rem;
}

.prose ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.prose li {
    margin-bottom: 0.75rem;
    color: rgba(248, 250, 252, 0.8);
}

.guide-box {
    background: rgba(147, 197, 253, 0.1);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.guide-box h3 {
    font-family: 'Marcellus', serif;
    color: var(--mist-blue);
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .blessing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    .ethereal-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(30, 27, 75, 0.98);
        padding: 1rem;
        display: none;
        border-bottom: 1px solid rgba(147, 197, 253, 0.2);
    }

    .ethereal-nav.visible {
        display: block;
    }

    .ethereal-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-center h1 {
        font-size: 2.3rem;
    }

    .glow-tags {
        flex-direction: column;
        align-items: center;
    }

    .game-orb iframe {
        height: 400px;
    }

    .veil-actions {
        flex-direction: column;
    }
}
