* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #4a148c 50%, #6a1b9a 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

/* 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: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #ffd700;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

.age-modal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.age-modal-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.age-btn {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    min-width: 180px;
}

.yes-btn {
    background: #4caf50;
    color: white;
}

.yes-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.no-btn {
    background: #f44336;
    color: white;
}

.no-btn:hover {
    background: #da190b;
    transform: scale(1.05);
}

/* Header */
.main-header {
    background: rgba(26, 0, 51, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ffd700;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #ffd700;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 3px;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(26, 0, 51, 0.98);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        border-left: 2px solid #ffd700;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 1.2rem;
        padding: 1rem;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-6px, -6px);
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 80px);
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    padding: 5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 215, 0, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    border: 2px solid #ffd700;
    font-weight: 600;
    font-size: 1rem;
}

/* Info Section */
.info-section {
    padding: 5rem 2rem;
}

.info-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffd700;
}

.info-section > .content-wrapper > p {
    font-size: 1.2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Game Section */
.game-section {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.game-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #ffd700;
}

.game-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem;
    border-radius: 15px;
    border: 3px solid #ffd700;
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.game-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #ffd700;
    border-radius: 5px;
}

/* Notice Section */
.notice-section {
    padding: 5rem 2rem;
}

.notice-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffd700;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.notice-card {
    padding: 2.5rem;
    border-radius: 15px;
    border: 3px solid;
}

.notice-card.warning {
    background: rgba(244, 67, 54, 0.1);
    border-color: #f44336;
}

.notice-card.info {
    background: rgba(33, 150, 243, 0.1);
    border-color: #2196f3;
}

.notice-card.age {
    background: rgba(255, 152, 0, 0.1);
    border-color: #ff9800;
}

.notice-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.notice-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Extra Section */
.extra-section {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.extra-section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffd700;
}

.benefits-list {
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.benefit-number {
    font-size: 3rem;
    font-weight: 900;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
    min-width: 80px;
}

.benefit-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.benefit-content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #ffd700;
    color: #1a0033;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 3px solid #ffd700;
}

.cta-button:hover {
    background: transparent;
    color: #ffd700;
    transform: scale(1.05);
}

/* Play Page */
.play-header {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.play-header h1 {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.play-subtitle {
    font-size: 1.3rem;
    color: #e0e0e0;
}

.game-play-section {
    padding: 3rem 2rem 5rem;
}

.game-info-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.game-info-box h2 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.game-instructions {
    list-style: none;
    margin: 1rem 0;
}

.game-instructions li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.browser-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 5px;
    font-size: 1rem;
}

.game-container.full-width {
    max-width: 100%;
}

.play-notice {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid #ff9800;
    border-radius: 15px;
}

.play-notice h3 {
    color: #ff9800;
    margin-bottom: 1rem;
}

/* Legal Pages */
.legal-page {
    background: rgba(0, 0, 0, 0.2);
}

.legal-header {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid #ffd700;
}

.legal-header h1 {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.legal-updated {
    color: #e0e0e0;
    font-style: italic;
}

.legal-content {
    padding: 3rem 2rem 5rem;
}

.terms-container,
.privacy-container,
.disclaimer-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.terms-container h2,
.privacy-container h2,
.disclaimer-container h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-container p,
.privacy-container p,
.disclaimer-container p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.terms-container ul,
.privacy-container ul,
.disclaimer-container ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.terms-container li,
.privacy-container li,
.disclaimer-container li {
    margin-bottom: 0.5rem;
}

.terms-acknowledgment,
.privacy-summary,
.disclaimer-acknowledgment {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border: 3px solid #ffd700;
    border-radius: 10px;
}

.disclaimer-highlight {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 152, 0, 0.1);
    border-left: 5px solid #ff9800;
    border-radius: 5px;
}

.disclaimer-acknowledgment ul {
    list-style: none;
    margin-left: 0;
}

.disclaimer-acknowledgment li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

/* Footer */
.main-footer {
    background: rgba(26, 0, 51, 0.95);
    padding: 3rem 2rem 1rem;
    border-top: 3px solid #ffd700;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #ffd700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        width: 100%;
        max-width: 300px;
    }

    .info-section h2,
    .game-section h2,
    .notice-section h2,
    .extra-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }

    .feature-grid,
    .notice-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 500px;
    }

    .benefit-item {
        flex-direction: column;
        gap: 1rem;
    }

    .benefit-number {
        min-width: auto;
    }

    .play-header h1 {
        font-size: 2.2rem;
    }

    .legal-header h1 {
        font-size: 2.2rem;
    }

    .terms-container,
    .privacy-container,
    .disclaimer-container {
        padding: 2rem 1.5rem;
    }

    .age-modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 400px;
    }
}