@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;900&family=Raleway:wght@300;400;600&display=swap');

:root {
    --mystical-purple: #6a4c93;
    --deep-blue: #1e3a8a;
    --royal-purple: #8b5cf6;
    --silver: #c0c0c0;
    --dark-void: #0a0a0f;
    --light-lavender: #e9d5ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: radial-gradient(circle at top, var(--deep-blue), var(--dark-void));
    color: var(--light-lavender);
    line-height: 1.8;
    min-height: 100vh;
}

/* Top Navigation Bar */
.top-bar {
    background: linear-gradient(to right, rgba(106, 76, 147, 0.9), rgba(30, 58, 138, 0.9));
    padding: 0.8rem 0;
    border-bottom: 2px solid var(--royal-purple);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 30px rgba(139, 92, 246, 0.4);
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--silver);
    text-decoration: none;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--silver);
    border-radius: 2px;
    transition: 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-family: 'Cinzel', serif;
    color: var(--light-lavender);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav a:hover {
    color: var(--royal-purple);
    background: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 10px var(--royal-purple);
}

/* Main Container */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(106, 76, 147, 0.3), rgba(139, 92, 246, 0.2));
    border-radius: 25px;
    border: 2px solid var(--mystical-purple);
    box-shadow: 0 10px 50px rgba(106, 76, 147, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-section h1 {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--silver);
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.8);
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light-lavender);
    position: relative;
    z-index: 1;
}

/* Content Blocks */
.content-block {
    background: rgba(10, 10, 15, 0.7);
    border: 2px solid var(--mystical-purple);
    border-radius: 20px;
    padding: 3rem;
    margin: 2.5rem 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.content-block h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: var(--royal-purple);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.content-block h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--silver);
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.content-block p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

/* Notice Box */
.notice-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(106, 76, 147, 0.2));
    border: 3px solid var(--royal-purple);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem 0;
}

.notice-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: var(--silver);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
}

.notice-list {
    list-style: none;
}

.notice-list li {
    padding: 1rem 0;
    padding-left: 3rem;
    position: relative;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--royal-purple);
    font-size: 1.5rem;
}

/* Column Layout */
.columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.column-item {
    background: rgba(106, 76, 147, 0.2);
    border: 2px solid var(--mystical-purple);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
}

.column-item:hover {
    transform: translateY(-10px);
    border-color: var(--royal-purple);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.4);
}

.column-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--silver);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Game Section */
.game-section {
    margin: 4rem 0;
    text-align: center;
}

.game-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    color: var(--silver);
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
}

.game-section > p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: var(--light-lavender);
}

.game-container {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 25px;
    border: 3px solid var(--mystical-purple);
    display: inline-block;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.6);
}

.game-frame {
    width: 100%;
    max-width: 900px;
    height: 700px;
    border: none;
    border-radius: 15px;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 15, 0.9));
    padding: 4rem 2rem;
    border-top: 2px solid var(--mystical-purple);
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--silver);
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light-lavender);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--royal-purple);
    text-shadow: 0 0 10px var(--royal-purple);
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-content {
    background: linear-gradient(135deg, var(--mystical-purple), var(--deep-blue));
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--silver);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.8);
    margin: 1rem;
}

.age-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--silver);
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.age-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    font-family: 'Cinzel', serif;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 2px;
}

.btn-yes {
    background: var(--silver);
    color: var(--dark-void);
    box-shadow: 0 5px 25px rgba(192, 192, 192, 0.5);
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(192, 192, 192, 0.7);
}

.btn-no {
    background: transparent;
    color: var(--light-lavender);
    border: 2px solid var(--light-lavender);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--silver);
    color: var(--silver);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: linear-gradient(to bottom, var(--mystical-purple), var(--deep-blue));
        transition: right 0.3s;
        padding-top: 5rem;
        border-left: 2px solid var(--silver);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .columns {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 500px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
