* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sunny-orange: #ff9800;
    --deep-orange: #f57c00;
    --light-orange: #ffb74d;
    --warm-yellow: #ffc107;
    --cream: #fff8e1;
    --dark-brown: #4e342e;
    --light-bg: #fff3e0;
    --danger: #e53935;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom, #fff8e1 0%, #ffecb3 50%, #ffe082 100%);
    background-attachment: fixed;
    color: var(--dark-brown);
    line-height: 1.8;
}

h1, h2, h3, h4 {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
}

.site-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.site-header {
    background: linear-gradient(135deg, var(--deep-orange) 0%, var(--sunny-orange) 100%);
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-emoji {
    font-size: 2.5rem;
    animation: spin 10s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.brand-name {
    font-size: 1.8rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.header-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-option {
    padding: 0.75rem 1.25rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-option:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-option.current {
    background: var(--warm-yellow);
    color: var(--dark-brown);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

main {
    flex: 1;
}

.hero-area {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 193, 7, 0.3) 100%);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 4px solid var(--sunny-orange);
}

.hero-h1 {
    font-size: 3rem;
    color: var(--deep-orange);
    margin-bottom: 1rem;
}

.hero-intro {
    font-size: 1.3rem;
    color: var(--dark-brown);
    font-style: italic;
}

.hero-decoration {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--sunny-orange), transparent);
    margin: 2rem auto 0;
}

.section-light {
    background: var(--light-bg);
    padding: 4rem 0;
}

.section-dark {
    background: linear-gradient(135deg, var(--deep-orange) 0%, var(--sunny-orange) 100%);
    color: white;
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    color: var(--deep-orange);
    margin-bottom: 2rem;
    text-align: center;
}

.section-dark .section-title {
    color: white;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-block p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
}

.red-theme {
    border-color: var(--danger);
}

.yellow-theme {
    border-color: var(--warm-yellow);
}

.orange-theme {
    border-color: var(--sunny-orange);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-emoji {
    font-size: 2.5rem;
}

.info-card h4 {
    color: var(--deep-orange);
    font-size: 1.3rem;
}

.info-card p {
    color: var(--dark-brown);
}

.game-presentation {
    max-width: 900px;
    margin: 0 auto 2rem;
}

.game-desc {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.game-box {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--sunny-orange);
}

.game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-hint {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    border-left: 5px solid var(--sunny-orange);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.perk-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.perk-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.3);
}

.perk-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.perk-item h4 {
    color: white;
    margin-bottom: 1rem;
}

.responsibility-zone {
    max-width: 900px;
    margin: 0 auto;
}

.responsibility-zone p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.responsibility-box {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2) 0%, rgba(255, 193, 7, 0.2) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid var(--sunny-orange);
    margin-top: 2rem;
}

.site-footer {
    background: linear-gradient(to top, var(--deep-orange) 0%, var(--sunny-orange) 100%);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    color: var(--warm-yellow);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--warm-yellow);
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.95;
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(78, 52, 46, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.age-popup.hidden {
    display: none;
}

.popup-inner {
    background: linear-gradient(135deg, var(--sunny-orange) 0%, var(--warm-yellow) 100%);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 4px solid white;
}

.popup-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.popup-inner h2 {
    color: var(--dark-brown);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.popup-inner p {
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 0.5rem;
}

.popup-note {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.popup-actions {
    display: flex;
    gap: 1rem;
}

.action-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.confirm-btn {
    background: #4caf50;
    color: white;
}

.confirm-btn:hover {
    background: #45a049;
    transform: scale(1.05);
}

.deny-btn {
    background: var(--danger);
    color: white;
}

.deny-btn:hover {
    background: #d32f2f;
    transform: scale(1.05);
}

.page-top {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.3) 0%, rgba(255, 193, 7, 0.3) 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 4px solid var(--sunny-orange);
}

.warning-top {
    border-bottom-color: var(--danger);
}

.page-top h2 {
    font-size: 2.5rem;
    color: var(--deep-orange);
    margin-bottom: 0.5rem;
}

.page-lead {
    font-size: 1.2rem;
    color: var(--dark-brown);
    font-style: italic;
}

.steps-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.play-step {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--sunny-orange);
}

.step-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sunny-orange);
    font-family: 'Archivo Black', sans-serif;
    min-width: 50px;
}

.step-text h4 {
    color: var(--deep-orange);
    margin-bottom: 0.5rem;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-block {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid white;
}

.feature-block strong {
    color: var(--warm-yellow);
}

.tech-info {
    max-width: 800px;
    margin: 0 auto;
}

.tech-info p {
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--sunny-orange);
}

.reminder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.reminder-point {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid white;
    text-align: center;
    font-weight: 600;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--sunny-orange);
}

.terms-item h3 {
    color: var(--deep-orange);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.terms-item p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.terms-item ul {
    margin: 1rem 0 1rem 2rem;
}

.terms-item li {
    margin-bottom: 0.5rem;
}

.highlight-item {
    border: 4px solid var(--danger);
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.1) 0%, white 100%);
}

.strong-text {
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .header-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        flex-direction: column;
        background: linear-gradient(to bottom, var(--deep-orange) 0%, var(--sunny-orange) 100%);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        transition: left 0.3s ease;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .header-nav.active {
        left: 0;
    }

    .nav-option {
        border-radius: 0;
    }

    .hero-h1, .page-top h2 {
        font-size: 2rem;
    }

    .hero-intro, .page-lead {
        font-size: 1.1rem;
    }

    .cards-row, .perks-grid, .steps-layout, .features-row, .reminder-grid {
        grid-template-columns: 1fr;
    }

    .popup-inner {
        margin: 1rem;
        padding: 2rem;
    }

    .popup-actions {
        flex-direction: column;
    }

    .game-box {
        padding-bottom: 120%;
    }
}
