@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --primary: #8b5cf6;
    --secondary: #6d28d9;
    --dark: #0f0a1e;
    --darker: #050208;
    --light: #e9d5ff;
    --accent: #c084fc;
    --text: #f3e8ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #1a0b2e 100%);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(15, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
    letter-spacing: 2px;
}

.logo::before {
    content: "✦ ";
    color: var(--accent);
}

.logo::after {
    content: " ✦";
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover {
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--light);
}

/* Card Styles */
.card {
    background: rgba(15, 10, 30, 0.7);
    border: 1px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.card h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.card h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card li::before {
    content: "✧";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Notice Box */
.notice-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.notice-box h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.notice-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0.8rem 0;
    font-weight: 500;
}

.notice-item::before {
    content: "⚠";
    font-size: 1.3rem;
    color: var(--accent);
}

/* Game Container */
.game-container {
    margin: 3rem 0;
    text-align: center;
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 2rem;
    display: inline-block;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
}

.game-wrapper iframe {
    border-radius: 8px;
    border: none;
    max-width: 100%;
}

/* Footer */
footer {
    background: rgba(5, 2, 8, 0.9);
    border-top: 2px solid var(--primary);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin: 0.3rem 0;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--primary);
    color: var(--light);
    font-size: 0.9rem;
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(8px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    border: 3px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Raleway', sans-serif;
}

.btn-yes {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.btn-no {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border: 2px solid var(--primary);
}

.btn-no:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(15, 10, 30, 0.98);
        backdrop-filter: blur(10px);
        transition: right 0.3s ease;
        padding-top: 4rem;
        border-left: 2px solid var(--primary);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .game-wrapper iframe {
        width: 100%;
        height: auto;
    }
}

/* Additional decorative elements */
.content-section {
    margin: 3rem 0;
}

.highlight {
    color: var(--accent);
    font-weight: 600;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 2rem 0;
}
