* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6B46C1;
    --primary-dark: #553399;
    --secondary: #D4AF37;
    --accent: #9F7AEA;
    --bg-main: #0F0A1E;
    --bg-secondary: #1A1333;
    --bg-card: #251B3D;
    --text-main: #F7FAFC;
    --text-secondary: #CBD5E0;
    --border: #4A3B66;
    --success: #48BB78;
    --warning: #ECC94B;
    --danger: #F56565;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-secondary) 100%);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--secondary);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

.age-modal-content h2 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    font-size: 28px;
    margin-bottom: 20px;
}

.age-modal-content p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.age-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-confirm,
.btn-deny {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.4);
}

.btn-deny {
    background: var(--danger);
    color: white;
}

.btn-deny:hover {
    background: #C53030;
}

/* Header */
header {
    background: var(--bg-card);
    border-bottom: 2px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 16px;
}

nav a:hover,
nav a.active {
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 80px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(107, 70, 193, 0.2) 0%, transparent 70%);
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(107, 70, 193, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(107, 70, 193, 0.5);
}

/* Intro Section */
.intro {
    padding: 60px 20px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.intro-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.intro-card h2 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.intro-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Important Notices */
.important-notices {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.important-notices h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.notice-box {
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid;
}

.notice-box.warning {
    background: rgba(245, 101, 101, 0.1);
    border-color: var(--danger);
}

.notice-box.info {
    background: rgba(66, 153, 225, 0.1);
    border-color: #4299E1;
}

.notice-box.age {
    background: rgba(236, 201, 75, 0.1);
    border-color: var(--warning);
}

.notice-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 15px;
}

.notice-box p {
    color: var(--text-secondary);
}

/* Game Section */
.game-section {
    padding: 60px 20px;
}

.game-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

.game-wrapper {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--border);
    margin-bottom: 30px;
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.game-info {
    background: rgba(107, 70, 193, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--primary);
}

.game-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.game-info p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.features h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.feature-emoji {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Responsible Gaming */
.responsible-gaming {
    padding: 60px 20px;
}

.responsible-gaming h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--secondary);
    text-align: center;
}

.responsible-gaming p {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.responsibility-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.responsibility-list li {
    padding: 15px 0;
    color: var(--text-secondary);
    font-size: 16px;
    border-bottom: 1px solid var(--border);
}

.responsibility-list li:last-child {
    border-bottom: none;
}

/* Play Page Styles */
.play-hero {
    padding: 60px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(107, 70, 193, 0.2) 0%, transparent 70%);
}

.play-hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.page-intro {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.game-play-section {
    padding: 40px 20px;
}

.game-container-full {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--border);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.game-instructions {
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
}

.game-instructions h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.instruction-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.instruction-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.instruction-card ul {
    list-style: none;
}

.instruction-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.instruction-card li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary);
}

.tips-section {
    padding: 60px 20px;
}

.tips-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary);
}

.tips-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.tips-content p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
}

.tips-content p:last-child {
    margin-bottom: 0;
}

/* Legal Pages */
.page-header {
    padding: 60px 20px 40px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(107, 70, 193, 0.2) 0%, transparent 70%);
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.legal-content {
    padding: 40px 20px 80px;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.legal-text h2 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text h3 {
    font-family: 'Cinzel', serif;
    color: var(--accent);
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-text ul {
    margin: 15px 0;
    padding-left: 30px;
    color: var(--text-secondary);
}

.legal-text ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.disclaimer-box {
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 5px solid;
}

.warning-box {
    background: rgba(245, 101, 101, 0.1);
    border-color: var(--danger);
}

.info-box {
    background: rgba(66, 153, 225, 0.1);
    border-color: #4299E1;
}

.recreational-box {
    background: rgba(72, 187, 120, 0.1);
    border-color: var(--success);
}

.disclaimer-box p {
    margin-bottom: 15px;
}

.disclaimer-box ul {
    margin-top: 15px;
}

.final-statement {
    text-align: center;
    color: var(--danger);
    font-size: 18px;
    margin-top: 40px;
    padding: 20px;
    background: rgba(245, 101, 101, 0.1);
    border-radius: 10px;
}

/* Footer */
footer {
    background: var(--bg-card);
    border-top: 2px solid var(--border);
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--bg-card);
        transition: left 0.3s ease;
        border-bottom: 2px solid var(--border);
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    nav ul li {
        border-bottom: 1px solid var(--border);
    }

    nav a {
        display: block;
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .intro-grid,
    .notice-grid,
    .features-grid,
    .instructions-grid {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .legal-text {
        padding: 30px 20px;
    }

    .age-modal-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .age-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }

    .game-frame {
        height: 350px;
    }

    .game-frame-full {
        height: 400px;
    }
}
