* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.97);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.age-overlay.active {
    display: flex;
}

.age-dialog {
    background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #8b7355;
    padding: 60px 50px;
    border-radius: 8px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(139, 115, 85, 0.4);
}

.age-icon {
    font-size: 80px;
    margin-bottom: 25px;
}

.age-dialog h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #d4af37;
    letter-spacing: 2px;
}

.age-message {
    font-size: 18px;
    margin-bottom: 15px;
    color: #c0c0c0;
}

.age-info {
    font-size: 16px;
    margin-bottom: 35px;
    color: #a0a0a0;
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-confirm, .btn-decline {
    padding: 15px 35px;
    font-size: 17px;
    font-weight: 600;
    border: 2px solid #8b7355;
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.btn-confirm {
    background: #8b7355;
    color: #0a0a0a;
}

.btn-confirm:hover {
    background: #a0845e;
    border-color: #a0845e;
    transform: translateY(-2px);
}

.btn-decline {
    color: #8b7355;
}

.btn-decline:hover {
    background: rgba(139, 115, 85, 0.1);
}

/* Navigation */
.main-nav {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #8b7355;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-symbol {
    font-size: 32px;
    color: #d4af37;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 3px;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-hamburger span {
    width: 30px;
    height: 3px;
    background: #8b7355;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #c0c0c0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
}

.nav-menu a:hover {
    color: #d4af37;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    border-bottom: 2px solid #8b7355;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 115, 85, 0.03) 2px, rgba(139, 115, 85, 0.03) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 115, 85, 0.03) 2px, rgba(139, 115, 85, 0.03) 4px);
}

.hero-section .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 72px;
    margin-bottom: 25px;
    color: #d4af37;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.hero-text {
    font-size: 22px;
    color: #a0a0a0;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* Warning Section */
.warning-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.warning-box {
    padding: 50px 30px;
    text-align: center;
    border: 2px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.warning-box:hover {
    transform: translateY(-8px);
}

.warning-box.purple {
    border-color: #9b59b6;
    background: rgba(155, 89, 182, 0.05);
}

.warning-box.purple:hover {
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.3);
}

.warning-box.teal {
    border-color: #1abc9c;
    background: rgba(26, 188, 156, 0.05);
}

.warning-box.teal:hover {
    box-shadow: 0 10px 40px rgba(26, 188, 156, 0.3);
}

.warning-box.gold {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.05);
}

.warning-box.gold:hover {
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
}

.warning-symbol {
    font-size: 56px;
    display: block;
    margin-bottom: 20px;
}

.warning-box h3 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #d4af37;
}

.warning-box p {
    font-size: 18px;
    color: #c0c0c0;
}

/* Story Section */
.story-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.story-content h2 {
    font-size: 48px;
    margin-bottom: 40px;
    color: #d4af37;
    text-align: center;
    letter-spacing: 2px;
}

.story-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #b0b0b0;
    text-align: justify;
}

/* Game Showcase */
.game-showcase {
    padding: 100px 0;
    background: #0a0a0a;
}

.section-heading {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    color: #d4af37;
    letter-spacing: 2px;
}

.section-subtext {
    text-align: center;
    font-size: 18px;
    margin-bottom: 60px;
    color: #909090;
    font-style: italic;
}

.game-frame-wrapper {
    background: #1a1a1a;
    border: 2px solid #8b7355;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.7);
    margin-bottom: 30px;
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
}

.game-warning {
    background: rgba(139, 115, 85, 0.1);
    border: 1px solid #8b7355;
    padding: 20px;
    text-align: center;
}

.game-warning p {
    font-size: 16px;
    color: #d0d0d0;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.features-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 60px;
}

.feature-box {
    text-align: center;
}

.feature-icon {
    font-size: 64px;
    margin-bottom: 25px;
    display: block;
}

.feature-box h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #d4af37;
    letter-spacing: 1px;
}

.feature-box p {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.7;
}

/* Principles Section */
.principles-section {
    padding: 100px 0;
    background: #0a0a0a;
}

.principles-text > p {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    color: #b0b0b0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.principle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.principle-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border: 1px solid #8b7355;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: #d4af37;
}

.principle-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #d4af37;
}

.principle-card p {
    font-size: 15px;
    color: #a0a0a0;
    line-height: 1.7;
}

/* Page Hero */
.page-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
    border-bottom: 2px solid #8b7355;
}

.page-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    color: #d4af37;
    letter-spacing: 3px;
}

.page-hero p {
    font-size: 20px;
    color: #a0a0a0;
    font-style: italic;
}

/* Play Guide */
.play-guide {
    padding: 80px 0;
    background: #0a0a0a;
}

.play-guide h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    color: #d4af37;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.guide-item {
    text-align: center;
    padding: 30px 20px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
}

.guide-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.guide-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #d4af37;
}

.guide-item p {
    font-size: 15px;
    color: #a0a0a0;
    line-height: 1.6;
}

/* Play Area */
.play-area {
    padding: 80px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.play-notes {
    background: #1a1a1a;
    padding: 30px;
    border: 1px solid #8b7355;
    margin-top: 30px;
}

.play-notes h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #d4af37;
}

.play-notes ul {
    list-style-position: inside;
}

.play-notes li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #b0b0b0;
}

/* Troubleshoot */
.troubleshoot {
    padding: 80px 0;
    background: #0a0a0a;
}

.troubleshoot h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: #d4af37;
    text-align: center;
}

.troubleshoot > p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #b0b0b0;
    text-align: center;
}

.troubleshoot-list {
    list-style-position: inside;
    max-width: 800px;
    margin: 0 auto;
}

.troubleshoot-list li {
    font-size: 16px;
    margin-bottom: 12px;
    color: #a0a0a0;
}

/* Play Reminder */
.play-reminder {
    padding: 80px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.reminder-panel {
    background: #1a1a1a;
    padding: 50px;
    border: 2px solid #8b7355;
    max-width: 900px;
    margin: 0 auto;
}

.reminder-panel h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: #d4af37;
}

.reminder-panel p {
    font-size: 17px;
    margin-bottom: 20px;
    color: #b0b0b0;
    line-height: 1.8;
}

/* Legal Pages */
.legal-hero {
    padding: 80px 0 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-bottom: 2px solid #8b7355;
}

.legal-hero h1 {
    font-size: 52px;
    margin-bottom: 15px;
    color: #d4af37;
    letter-spacing: 2px;
}

.legal-date {
    font-size: 16px;
    color: #909090;
    font-style: italic;
}

.legal-content {
    padding: 80px 0;
    background: #0a0a0a;
}

.terms-article h2 {
    font-size: 32px;
    margin-top: 50px;
    margin-bottom: 20px;
    color: #d4af37;
}

.terms-article h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #c0a05e;
}

.terms-article p {
    font-size: 16px;
    margin-bottom: 18px;
    color: #b0b0b0;
    line-height: 1.8;
}

.terms-article ul {
    margin: 20px 0 20px 40px;
}

.terms-article li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #a0a0a0;
}

.terms-article a {
    color: #d4af37;
    text-decoration: none;
}

.terms-article a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #0d0d0d;
    border-top: 2px solid #8b7355;
    padding: 80px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-block h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #d4af37;
    letter-spacing: 1px;
}

.footer-block p {
    font-size: 15px;
    color: #909090;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #909090;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #3a3a3a;
}

.footer-bottom p {
    font-size: 14px;
    color: #707070;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        flex-direction: column;
        background: rgba(20, 20, 20, 0.98);
        padding: 40px 30px;
        gap: 25px;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .age-dialog {
        margin: 20px;
        padding: 40px 30px;
    }

    .age-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-confirm, .btn-decline {
        width: 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-heading {
        font-size: 36px;
    }

    .game-iframe {
        height: 450px;
    }

    .features-layout {
        grid-template-columns: 1fr;
    }

    .reminder-panel {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .logo-text {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .game-iframe {
        height: 350px;
    }
}
