@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Merriweather:wght@300;400;700&display=swap');

:root {
    --royal: #4B0082;
    --gold: #FFD700;
    --burgundy: #800020;
    --cream: #FFF8DC;
    --dark: #2C1810;
    --silver: #C0C0C0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    background: linear-gradient(to bottom, #f5f0e8, #e8dcc8);
    color: var(--dark);
    line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

header {
    background: linear-gradient(135deg, var(--royal), var(--burgundy));
    color: var(--cream);
    padding: 1.5rem 0;
    box-shadow: 0 6px 20px rgba(75, 0, 130, 0.4);
    position: sticky;
    top: 0;
    z-index: 800;
    border-bottom: 3px solid var(--gold);
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2.5rem;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.site-title::before {
    content: '♔ ';
    color: var(--gold);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--gold);
    border-radius: 3px;
    transition: 0.3s;
}

.content {
    max-width: 1250px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    background: linear-gradient(135deg, rgba(75, 0, 130, 0.1), rgba(128, 0, 32, 0.1));
    border: 4px double var(--gold);
    border-radius: 15px;
    padding: 4rem 3rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(75, 0, 130, 0.2);
}

.hero-section h1 {
    font-size: 3.5rem;
    color: var(--royal);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--dark);
    max-width: 850px;
    margin: 0 auto;
    line-height: 2;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-box {
    background: white;
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(75, 0, 130, 0.2);
    border-color: var(--royal);
}

.feature-box h3 {
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #555;
    line-height: 1.8;
}

.text-section {
    background: white;
    border: 2px solid var(--silver);
    border-radius: 15px;
    padding: 3.5rem 3rem;
    margin: 3rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.text-section h2 {
    font-size: 2.8rem;
    color: var(--royal);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--gold);
}

.text-section h3 {
    font-size: 2rem;
    color: var(--burgundy);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.text-section p {
    margin-bottom: 1.5rem;
    color: #444;
    line-height: 2;
}

.text-section ul {
    margin-left: 3rem;
    margin-bottom: 1.5rem;
}

.text-section li {
    margin-bottom: 0.8rem;
    color: #555;
}

.game-container {
    background: linear-gradient(to bottom, white, var(--cream));
    border: 4px double var(--gold);
    border-radius: 15px;
    padding: 3.5rem 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 35px rgba(75, 0, 130, 0.2);
}

.game-container h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--royal);
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 650px;
    border: 3px solid var(--gold);
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

footer {
    background: linear-gradient(135deg, var(--dark), var(--burgundy));
    color: var(--cream);
    padding: 3.5rem 2rem;
    margin-top: 5rem;
    border-top: 4px solid var(--gold);
}

.footer-content {
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    color: var(--gold);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gold);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-content p {
    margin-top: 2rem;
    color: rgba(255, 248, 220, 0.8);
}

.verification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 24, 16, 0.95);
    z-index: 1200;
    align-items: center;
    justify-content: center;
}

.verification-modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, white, var(--cream));
    border: 4px double var(--gold);
    border-radius: 15px;
    padding: 3.5rem 3rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(75, 0, 130, 0.5);
}

.modal-content h2 {
    font-size: 2.8rem;
    color: var(--royal);
    margin-bottom: 1.5rem;
}

.modal-content p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.modal-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.action-btn {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-accept {
    background: linear-gradient(135deg, var(--royal), var(--burgundy));
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-accept:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(75, 0, 130, 0.4);
}

.btn-decline {
    background: #666;
    color: white;
}

.btn-decline:hover {
    background: #444;
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(135deg, var(--royal), var(--burgundy));
        padding: 5rem 2rem;
        transition: right 0.3s;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    nav a {
        font-size: 1.2rem;
    }

    .hero-section {
        padding: 3rem 2rem;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .text-section {
        padding: 2.5rem 2rem;
    }

    .text-section h2 {
        font-size: 2.2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 2.5rem 2rem;
    }

    .modal-content h2 {
        font-size: 2.2rem;
    }

    .modal-actions {
        flex-direction: column;
        gap: 1.5rem;
    }
}