@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy-dark: #2a0a0f;
    --burgundy-medium: #4a1520;
    --burgundy-light: #6b2030;
    --gold: #d4af37;
    --gold-light: #f4d876;
    --cream: #f5f0e8;
    --text-light: #ecdfd0;
    --text-muted: #c4b5a5;
    --border-gold: #b8941f;
    --shadow-dark: rgba(42, 10, 15, 0.6);
}

body {
    font-family: 'Raleway', sans-serif;
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, #1a0508 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
}

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.4s ease;
}

.age-modal.hidden {
    display: none;
}

.modal-content {
    background: linear-gradient(145deg, var(--burgundy-medium) 0%, var(--burgundy-dark) 100%);
    border: 3px solid var(--gold);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 10px 50px var(--shadow-dark), 0 0 40px rgba(212, 175, 55, 0.3);
    animation: slideIn 0.5s ease;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.4));
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.modal-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.modal-notice {
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--gold);
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: var(--gold-light);
    font-style: italic;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-confirm,
.btn-deny {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--burgundy-dark);
}

.btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.btn-deny {
    background: transparent;
    border: 2px solid var(--burgundy-light);
    color: var(--text-muted);
}

.btn-deny:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Page Wrapper */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background: var(--burgundy-medium);
    border-bottom: 3px solid var(--gold);
    padding: 1.3rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px var(--shadow-dark);
    position: relative;
}

.brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

nav a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    flex: 1;
    padding: 3rem 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--burgundy-medium) 0%, rgba(74, 21, 32, 0.6) 100%);
    border: 2px solid var(--border-gold);
    border-radius: 16px;
    padding: 4rem 3rem;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 8px 30px var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 6px var(--shadow-dark);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 2px solid var(--gold);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    font-weight: 600;
    color: var(--gold-light);
    font-size: 1rem;
}

/* Section Styles */
section {
    margin-bottom: 3rem;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Info Section */
.info-section {
    margin-bottom: 3rem;
}

.info-box {
    background: var(--burgundy-medium);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 6px 25px var(--shadow-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-item {
    text-align: center;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
}

/* Game Section */
.game-section {
    background: var(--burgundy-medium);
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 6px 25px var(--shadow-dark);
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.game-embed {
    background: #000;
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 1rem;
    margin: 2rem 0;
}

.game-embed iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.game-note {
    text-align: center;
    color: var(--gold-light);
    font-style: italic;
    margin-top: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--burgundy-medium);
    border: 2px solid var(--burgundy-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 12px 30px var(--shadow-dark);
}

.benefit-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gold);
    color: var(--burgundy-dark);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.benefit-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    background: var(--burgundy-medium);
    border: 2px solid var(--border-gold);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 6px 25px var(--shadow-dark);
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--burgundy-light);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Game Info */
.game-info,
.instructions-section,
.technical-section {
    background: var(--burgundy-medium);
    border: 2px solid var(--burgundy-light);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-dark);
}

.info-content,
.technical-content {
    color: var(--text-light);
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: var(--burgundy-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.tech-category {
    margin-bottom: 2rem;
}

.tech-category:last-child {
    margin-bottom: 0;
}

/* Notice Section */
.notice-section {
    margin: 3rem 0;
}

.notice-box {
    background: rgba(212, 175, 55, 0.1);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.notice-box h3 {
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Legal Document */
.legal-document {
    background: var(--burgundy-medium);
    border: 2px solid var(--burgundy-light);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 6px 25px var(--shadow-dark);
}

.legal-document h2 {
    margin-top: 2.5rem;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document ul {
    list-style: none;
    margin: 1.5rem 0;
}

.legal-document ul li {
    padding: 0.7rem 0 0.7rem 2rem;
    position: relative;
    color: var(--text-muted);
}

.legal-document ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.8rem;
}

.critical-notice {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 3px solid var(--gold);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.notice-item {
    text-align: center;
}

.notice-item h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: var(--burgundy-medium);
    border-top: 3px solid var(--gold);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-section p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--burgundy-light);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .brand {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .nav-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--burgundy-dark);
        border-top: 2px solid var(--gold);
        display: none;
        padding: 1rem 0;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--burgundy-light);
    }

    nav a::before {
        display: none;
    }

    .hero-section {
        padding: 2.5rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .info-grid,
    .benefits-grid,
    .instructions-grid,
    .notice-grid {
        grid-template-columns: 1fr;
    }

    .game-embed iframe {
        height: 400px;
    }

    .legal-document {
        padding: 2rem 1.5rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .btn-confirm,
    .btn-deny {
        width: 100%;
    }
}
