* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(180deg, #faf5ff 0%, #f3e8ff 100%);
    color: #3f3f46;
    line-height: 1.8;
}

/* Modal/Age Gate */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(88, 28, 135, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.show {
    display: flex;
}

.modal-box {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 520px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid #a78bfa;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.modal-box h2 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.modal-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #52525b;
}

.modal-info {
    background: #faf5ff;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #a78bfa;
    margin: 1.5rem 0;
    text-align: left;
    font-size: 0.95rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-confirm, .btn-decline {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
}

.btn-confirm {
    background: #7c3aed;
    color: white;
}

.btn-confirm:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-decline {
    background: #e4e4e7;
    color: #52525b;
}

.btn-decline:hover {
    background: #d4d4d8;
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand svg {
    height: 60px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #7c3aed;
    border-radius: 2px;
    transition: all 0.3s;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #71717a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    font-size: 1.05rem;
}

.nav-link:hover {
    color: #7c3aed;
}

.nav-link.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="15" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="35" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.6;
}

.hero-overlay {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-overlay h1 {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text {
    color: white;
    font-size: 1.3rem;
    opacity: 0.95;
}

/* Main Container */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
}

/* Important Notices */
.important-notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.notice-box {
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
}

.notice-box.purple {
    background: white;
    border-color: #7c3aed;
}

.notice-box.violet {
    background: white;
    border-color: #8b5cf6;
}

.notice-box.indigo {
    background: white;
    border-color: #6366f1;
}

.notice-header {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: #7c3aed;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.notice-box p {
    color: #52525b;
}

/* Introduction */
.introduction {
    margin-bottom: 3rem;
}

.intro-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.intro-card h2 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.intro-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #52525b;
}

/* Game Showcase */
.game-showcase {
    margin-bottom: 3rem;
}

.game-showcase h2 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.game-subtitle {
    text-align: center;
    color: #71717a;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.game-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.game-guidance {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guidance-item {
    background: #faf5ff;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1rem;
    align-items: start;
    border-left: 4px solid #a78bfa;
}

.guidance-icon {
    font-size: 2rem;
}

.guidance-text {
    flex: 1;
}

.guidance-text strong {
    color: #7c3aed;
}

/* Virtues Section */
.virtues-section {
    margin-bottom: 3rem;
}

.virtues-section h2 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.virtues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.virtue-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    border-top: 3px solid #a78bfa;
}

.virtue-card:hover {
    transform: translateY(-8px);
}

.virtue-symbol {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.virtue-card h3 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.virtue-card p {
    color: #71717a;
}

/* Wisdom Section */
.wisdom-section {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 3rem;
    border-radius: 16px;
    border: 3px solid #f59e0b;
    margin-bottom: 3rem;
}

.wisdom-section h2 {
    font-family: 'Cinzel', serif;
    color: #92400e;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.wisdom-content p {
    color: #78350f;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

/* Play Guidance Section */
.play-guidance-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.guidance-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.guidance-icon-large {
    font-size: 3.5rem;
}

.guidance-content h3 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.guidance-content p {
    color: #71717a;
}

/* Play Reminders */
.play-reminders {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.reminder {
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid;
}

.reminder.purple-reminder {
    background: #faf5ff;
    border-color: #7c3aed;
}

.reminder.violet-reminder {
    background: #f5f3ff;
    border-color: #8b5cf6;
}

.reminder.indigo-reminder {
    background: #eef2ff;
    border-color: #6366f1;
}

.reminder strong {
    color: #7c3aed;
}

/* Legal Pages */
.legal-container {
    padding: 2rem 0;
}

.legal-title {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 4px solid #a78bfa;
}

.legal-title h1 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: #a1a1aa;
    font-size: 1rem;
}

.legal-document {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legal-article {
    margin-bottom: 2.5rem;
}

.legal-article h2 {
    font-family: 'Cinzel', serif;
    color: #7c3aed;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.legal-article p {
    color: #52525b;
    margin-bottom: 0.75rem;
}

.critical-warning {
    background: #fef2f2;
    padding: 2.5rem;
    border-radius: 12px;
    border: 3px solid #dc2626;
    margin-bottom: 2.5rem;
}

.critical-warning h2 {
    font-family: 'Cinzel', serif;
    color: #dc2626;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.critical-warning p {
    color: #7f1d1d;
    margin-bottom: 1rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #3f3f46, #27272a);
    color: #e4e4e7;
    padding: 3rem 2rem 1.5rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-family: 'Cinzel', serif;
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #d4d4d8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #a78bfa;
}

.footer-base {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #52525b;
    color: #a1a1aa;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 88px;
        left: -100%;
        width: 85%;
        max-width: 320px;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        height: calc(100vh - 88px);
        overflow-y: auto;
        gap: 0;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #f4f4f5;
    }
    
    .hero-overlay h1 {
        font-size: 2.2rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .play-guidance-section {
        grid-template-columns: 1fr;
    }
    
    .legal-document {
        padding: 1.5rem;
    }
    
    .main-container {
        padding: 2rem 1rem;
    }
}
