/* Spinterra - Earthy Natural Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --earth-brown: #8b4513;
    --forest-green: #228b22;
    --sand-beige: #f5deb3;
    --clay-red: #a0522d;
    --moss-green: #6b8e23;
    --bark-dark: #3e2723;
    --soil-black: #1a1410;
    --cream: #fffdd0;
    --text-light: #f5f5dc;
    --text-dark: #4a4a4a;
}

body {
    font-family: 'Saira Condensed', sans-serif;
    background: linear-gradient(180deg, #1a1410 0%, #3e2723 50%, #1a1410 100%);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

/* Age Verification Screen */
.age-screen {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 20, 16, 0.98);
    align-items: center;
    justify-content: center;
}

.age-screen.active {
    display: flex;
}

.age-card {
    background: linear-gradient(135deg, var(--bark-dark), var(--earth-brown));
    border: 4px solid var(--moss-green);
    border-radius: 25px;
    padding: 60px 55px;
    max-width: 650px;
    width: 92%;
    text-align: center;
    box-shadow: 0 0 80px rgba(107, 142, 35, 0.5);
}

.age-symbol {
    font-size: 70px;
    margin-bottom: 25px;
}

.age-card h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 42px;
    color: var(--sand-beige);
    margin-bottom: 20px;
    font-weight: 700;
}

.age-card p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.age-query {
    font-size: 22px;
    color: var(--cream);
    margin-top: 30px;
    margin-bottom: 35px;
    font-weight: 600;
}

.age-options {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.age-button {
    padding: 18px 45px;
    font-family: 'Saira Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.age-button.confirm {
    background: linear-gradient(135deg, var(--moss-green), var(--forest-green));
    color: var(--cream);
}

.age-button.confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(107, 142, 35, 0.6);
}

.age-button.reject {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--clay-red);
}

.age-button.reject:hover {
    background: rgba(160, 82, 45, 0.2);
}

/* Header Bar */
.header-bar {
    background: rgba(62, 39, 35, 0.95);
    border-bottom: 4px solid var(--moss-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo h1 {
    font-family: 'Zilla Slab', serif;
    font-size: 36px;
    color: var(--moss-green);
    margin-bottom: 5px;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 14px;
    color: var(--sand-beige);
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: var(--moss-green);
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--cream);
    transition: 0.3s;
}

.main-menu {
    display: flex;
    gap: 20px;
}

.menu-item {
    color: var(--text-light);
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-item:hover,
.menu-item.active {
    background: linear-gradient(135deg, var(--moss-green), var(--forest-green));
    color: var(--cream);
}

/* Welcome Area */
.welcome-area {
    background: linear-gradient(135deg, var(--earth-brown), var(--clay-red));
    border-bottom: 4px solid var(--moss-green);
    padding: 80px 40px;
}

.welcome-text {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.welcome-text h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 50px;
    color: var(--sand-beige);
    margin-bottom: 25px;
    font-weight: 700;
}

.welcome-text p {
    font-size: 19px;
    line-height: 1.8;
}

/* Body Content */
.body-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    padding: 40px;
    border-radius: 15px;
    border: 3px solid;
    transition: transform 0.3s ease;
}

.card.earth {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(160, 82, 45, 0.2));
    border-color: var(--earth-brown);
}

.card.forest {
    background: linear-gradient(135deg, rgba(107, 142, 35, 0.2), rgba(34, 139, 34, 0.2));
    border-color: var(--moss-green);
}

.card:hover {
    transform: translateY(-5px);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 42px;
}

.card h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 26px;
    color: var(--sand-beige);
    font-weight: 700;
}

.card p {
    line-height: 1.7;
}

/* Important Info */
.important-info {
    background: rgba(107, 142, 35, 0.2);
    border: 4px solid var(--moss-green);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
}

.important-info h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 32px;
    color: var(--sand-beige);
    margin-bottom: 30px;
    font-weight: 700;
}

.info-rows {
    display: grid;
    gap: 20px;
}

.info-row {
    background: rgba(62, 39, 35, 0.6);
    padding: 25px;
    border-radius: 10px;
    border-left: 5px solid var(--moss-green);
    line-height: 1.8;
}

.info-row strong {
    color: var(--sand-beige);
}

/* Game Spotlight */
.game-spotlight {
    margin-bottom: 60px;
    text-align: center;
}

.game-spotlight h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 44px;
    color: var(--sand-beige);
    margin-bottom: 20px;
    font-weight: 700;
}

.spotlight-desc {
    font-size: 18px;
    margin-bottom: 40px;
}

.game-box {
    max-width: 1000px;
    margin: 0 auto;
    background: #000;
    border: 4px solid var(--moss-green);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(107, 142, 35, 0.3);
}

.game-screen {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

/* Advantages Section */
.advantages h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 40px;
    color: var(--sand-beige);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.advantages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.advantage {
    background: rgba(62, 39, 35, 0.5);
    border: 2px solid var(--bark-dark);
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
}

.advantage:hover {
    border-color: var(--moss-green);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(107, 142, 35, 0.2);
}

.advantage h4 {
    font-family: 'Zilla Slab', serif;
    font-size: 22px;
    color: var(--sand-beige);
    margin-bottom: 15px;
    font-weight: 700;
}

.advantage p {
    line-height: 1.7;
}

/* Final Note */
.final-note {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.2), rgba(107, 142, 35, 0.2));
    border: 4px solid var(--earth-brown);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.final-note h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 30px;
    color: var(--sand-beige);
    margin-bottom: 20px;
    font-weight: 700;
}

.final-note p {
    font-size: 18px;
    line-height: 1.8;
}

/* Play Page */
.play-intro {
    background: linear-gradient(135deg, var(--earth-brown), var(--clay-red));
    border-bottom: 4px solid var(--moss-green);
    padding: 60px 40px;
    text-align: center;
}

.play-intro h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 48px;
    color: var(--sand-beige);
    margin-bottom: 15px;
    font-weight: 700;
}

.play-intro p {
    font-size: 19px;
}

.guide-section {
    margin-bottom: 50px;
}

.guide-panel {
    background: rgba(107, 142, 35, 0.2);
    border: 4px solid var(--moss-green);
    border-radius: 12px;
    padding: 35px;
}

.guide-panel h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 30px;
    color: var(--sand-beige);
    margin-bottom: 25px;
    font-weight: 700;
}

.guide-panel p {
    margin-bottom: 18px;
    line-height: 1.8;
}

.play-zone {
    display: flex;
    justify-content: center;
}

.play-container {
    width: 100%;
    max-width: 1200px;
    background: #000;
    border: 4px solid var(--moss-green);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(107, 142, 35, 0.3);
}

.play-screen {
    width: 100%;
    height: 750px;
    border: none;
    display: block;
}

/* Legal Pages */
.doc-header {
    background: linear-gradient(135deg, var(--earth-brown), var(--clay-red));
    border-bottom: 4px solid var(--moss-green);
    padding: 60px 40px;
    text-align: center;
}

.doc-header h2 {
    font-family: 'Zilla Slab', serif;
    font-size: 46px;
    color: var(--sand-beige);
    margin-bottom: 15px;
    font-weight: 700;
}

.doc-date {
    font-size: 17px;
    color: var(--cream);
}

.doc-body {
    max-width: 1100px;
}

.legal-text {
    background: rgba(62, 39, 35, 0.5);
    border: 4px solid var(--bark-dark);
    border-radius: 15px;
    padding: 50px;
}

.legal-text h3 {
    font-family: 'Zilla Slab', serif;
    font-size: 28px;
    color: var(--sand-beige);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-text h3:first-child {
    margin-top: 0;
}

.legal-text p {
    line-height: 1.9;
    margin-bottom: 20px;
}

.legal-text ul {
    margin: 20px 0;
    padding-left: 35px;
}

.legal-text li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.emphasis-panel {
    background: rgba(107, 142, 35, 0.15);
    border: 4px solid var(--moss-green);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
}

.emphasis-panel h3 {
    margin-top: 0;
}

/* Footer Area */
.footer-area {
    background: rgba(62, 39, 35, 0.95);
    border-top: 4px solid var(--moss-green);
    padding: 50px 40px 30px;
    margin-top: 80px;
}

.footer-main {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-block h4 {
    font-family: 'Zilla Slab', serif;
    font-size: 22px;
    color: var(--sand-beige);
    margin-bottom: 12px;
    font-weight: 700;
}

.footer-block p {
    color: var(--text-light);
}

.footer-resources {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-resources a {
    color: var(--cream);
    text-decoration: none;
    padding: 12px 25px;
    border: 2px solid var(--bark-dark);
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-resources a:hover {
    background: linear-gradient(135deg, var(--moss-green), var(--forest-green));
    border-color: var(--moss-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 2px solid var(--bark-dark);
    color: var(--sand-beige);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .main-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        background: rgba(62, 39, 35, 0.98);
        width: 280px;
        height: calc(100vh - 90px);
        flex-direction: column;
        padding: 30px 20px;
        transition: right 0.3s ease;
        border-left: 4px solid var(--moss-green);
        gap: 15px;
    }

    .main-menu.show {
        right: 0;
    }

    .menu-item {
        width: 100%;
        text-align: center;
    }

    .welcome-area {
        padding: 60px 30px;
    }

    .welcome-text h2 {
        font-size: 38px;
    }

    .body-content {
        padding: 40px 25px;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .game-screen {
        height: 450px;
    }

    .play-screen {
        height: 550px;
    }

    .advantages-list {
        grid-template-columns: 1fr;
    }

    .legal-text {
        padding: 35px 25px;
    }

    .footer-main {
        flex-direction: column;
        text-align: center;
    }

    .footer-resources {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .brand-logo h1 {
        font-size: 28px;
    }

    .welcome-text h2 {
        font-size: 30px;
    }

    .age-card {
        padding: 40px 30px;
    }

    .age-card h2 {
        font-size: 34px;
    }

    .age-options {
        flex-direction: column;
        gap: 15px;
    }

    .age-button {
        width: 100%;
    }

    .game-screen {
        height: 350px;
    }

    .play-screen {
        height: 450px;
    }

    .footer-resources {
        flex-direction: column;
        width: 100%;
    }

    .footer-resources a {
        width: 100%;
        text-align: center;
    }
}
