* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #9f7aea;
    --secondary-color: #b794f4;
    --dark-bg: #1a0a2e;
    --darker-bg: #0f0520;
    --text-light: #e2d9f3;
    --text-white: #ffffff;
    --accent-gold: #d4af37;
    --border-color: #4a2472;
}

body {
    font-family: 'Crimson Text', serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    padding: 0;
}

/* Header Styles */
header {
    background: rgba(15, 5, 32, 0.95);
    border-bottom: 2px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 3px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--secondary-color);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    background: rgba(15, 5, 32, 0.98);
    border-bottom: 2px solid var(--border-color);
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.mobile-nav a:hover {
    background: rgba(159, 122, 234, 0.1);
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.2) 0%, rgba(74, 36, 114, 0.3) 100%);
    padding: 80px 0;
    text-align: center;
    border-bottom: 3px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(159, 122, 234, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(159, 122, 234, 0.5);
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 22px;
    font-style: italic;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

/* Content Sections */
.intro, .notices, .game-preview, .features, .responsible-gaming,
.play-header, .play-info, .page-header, .content-section {
    padding: 60px 0;
}

.intro-card, .content-card, .responsible-card {
    background: rgba(74, 36, 114, 0.2);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.intro-card h2, .content-card h2, .responsible-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.intro-card p, .content-card p, .responsible-card p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Notice Grid */
.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.notice-card {
    background: linear-gradient(135deg, rgba(74, 36, 114, 0.3) 0%, rgba(159, 122, 234, 0.1) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(159, 122, 234, 0.3);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.notice-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.notice-card p {
    font-size: 16px;
    line-height: 1.7;
}

/* Game Section */
.game-preview, .game-full {
    background: rgba(15, 5, 32, 0.5);
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.game-preview h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 40px;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    background: #000;
    border: 3px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(159, 122, 234, 0.4);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    display: block;
}

.game-wrapper {
    background: #000;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 40px rgba(159, 122, 234, 0.4);
}

.game-wrapper iframe {
    width: 100%;
    height: 700px;
    display: block;
}

.game-cta {
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(159, 122, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(159, 122, 234, 0.5);
}

/* Features Grid */
.features h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(74, 36, 114, 0.2);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(74, 36, 114, 0.3);
    border-color: var(--secondary-color);
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 16px;
    line-height: 1.7;
}

/* Play Page Styles */
.play-header {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.2) 0%, rgba(74, 36, 114, 0.3) 100%);
    text-align: center;
    padding: 50px 0;
    border-bottom: 2px solid var(--border-color);
}

.play-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.info-box {
    background: rgba(74, 36, 114, 0.2);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.info-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.info-box ul {
    list-style: none;
    margin-bottom: 20px;
}

.info-box li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(159, 122, 234, 0.2);
}

.info-box li:last-child {
    border-bottom: none;
}

.reminder {
    background: rgba(159, 122, 234, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(159, 122, 234, 0.2) 0%, rgba(74, 36, 114, 0.3) 100%);
    text-align: center;
    padding: 50px 0;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--text-white);
    margin-bottom: 10px;
}

.last-updated {
    font-style: italic;
    color: var(--secondary-color);
}

/* Content Card */
.content-card h2 {
    color: var(--secondary-color);
    font-family: 'Cinzel', serif;
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.content-card h3 {
    color: var(--text-white);
    font-family: 'Cinzel', serif;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-card ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-card li {
    margin-bottom: 10px;
}

/* Disclaimer Specific Styles */
.critical-notice {
    background: rgba(212, 175, 55, 0.1);
    border: 3px solid var(--accent-gold);
    border-radius: 10px;
    padding: 30px;
    margin: 30px 0;
}

.critical-notice h2 {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.reminder-box {
    background: rgba(159, 122, 234, 0.15);
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.reminder-box ul {
    list-style: none;
}

.reminder-box li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(159, 122, 234, 0.2);
}

.reminder-box li:last-child {
    border-bottom: none;
}

/* Age Verification 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;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    border: 3px solid var(--accent-gold);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.age-modal-header {
    background: rgba(212, 175, 55, 0.2);
    padding: 25px;
    border-bottom: 2px solid var(--accent-gold);
}

.age-modal-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--accent-gold);
    text-align: center;
    margin: 0;
}

.age-modal-body {
    padding: 30px;
}

.age-modal-body p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: center;
}

.age-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-accept, .btn-deny {
    flex: 1;
    padding: 15px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    border-color: var(--secondary-color);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(159, 122, 234, 0.5);
}

.btn-deny {
    background: transparent;
    color: var(--text-light);
    border-color: var(--border-color);
}

.btn-deny:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

/* Footer */
footer {
    background: var(--darker-bg);
    border-top: 3px solid var(--border-color);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--secondary-color);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.footer-links h4, .footer-responsible h4 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 15px;
}

.footer-links a, .footer-responsible a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-responsible a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .tagline {
        font-size: 18px;
    }

    .intro-card, .content-card, .responsible-card {
        padding: 25px;
    }

    .notice-grid, .features-grid {
        grid-template-columns: 1fr;
    }

    .game-container iframe {
        height: 400px;
    }

    .game-wrapper iframe {
        height: 500px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .age-modal-content {
        width: 95%;
    }

    .age-buttons {
        flex-direction: column;
    }
}
