* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: linear-gradient(to bottom right, #fffbeb 0%, #fef3c7 30%, #fde68a 60%, #fcd34d 100%);
    color: #78350f;
    line-height: 1.7;
    min-height: 100vh;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.modal-overlay.visible {
    display: flex;
}

.modal-container {
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
    padding: 3rem;
    border-radius: 30px;
    max-width: 550px;
    width: 100%;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
    border: 4px solid #f59e0b;
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-icon {
    font-size: 4.5rem;
    display: block;
    margin-bottom: 1rem;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: #d97706;
    letter-spacing: 1px;
}

.modal-body {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-text {
    font-size: 1.1rem;
    color: #92400e;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.modal-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #78350f;
    margin-top: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.modal-btn {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.modal-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.modal-btn.secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4);
}

.modal-btn.secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.5);
}

.main-header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #f59e0b;
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo svg {
    height: 50px;
    width: auto;
}

.primary-nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-item {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-item:hover {
    color: #f59e0b;
    transform: translateY(-2px);
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 6px;
}

.mobile-menu-btn .menu-line {
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: 0.3s;
    border-radius: 3px;
}

.page-content {
    padding: 2rem 0;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-banner {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(254, 243, 199, 0.9) 100%);
    border-radius: 35px;
    margin-bottom: 4rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.5rem;
    color: #92400e;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 60px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #fbbf24;
}

.highlight-icon {
    font-size: 2rem;
}

.highlight-text {
    font-weight: 700;
    color: #92400e;
    font-size: 1.1rem;
}

.welcome-section {
    padding: 4rem 0;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #92400e;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.section-title.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.welcome-paragraph {
    font-size: 1.1rem;
    color: #78350f;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.welcome-visual {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid #fbbf24;
}

.visual-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 1.2rem;
}

.visual-card p {
    font-size: 1.05rem;
    color: #78350f;
    line-height: 1.8;
}

.features-showcase {
    padding: 5rem 0;
    background: white;
    border-radius: 35px;
    margin: 3rem 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.showcase-card {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 3rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.showcase-card:hover {
    transform: translateY(-10px);
    border-color: #f59e0b;
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.3);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1.2rem;
}

.card-description {
    font-size: 1.05rem;
    color: #78350f;
    line-height: 1.9;
}

.game-display {
    padding: 4rem 0;
}

.section-description {
    text-align: center;
    font-size: 1.15rem;
    color: #78350f;
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.game-frame-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    border: 5px solid #f59e0b;
}

.game-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.information-section {
    padding: 4rem 0;
}

.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.info-panel {
    padding: 3rem;
    border-radius: 25px;
    border: 4px solid;
    background: white;
}

.info-panel.warning {
    border-color: #dc2626;
    background: linear-gradient(135deg, #fff 0%, #fee2e2 100%);
}

.info-panel.info {
    border-color: #2563eb;
    background: linear-gradient(135deg, #fff 0%, #dbeafe 100%);
}

.info-panel.alert {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #fff 0%, #ede9fe 100%);
}

.panel-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 1.2rem;
}

.panel-text {
    font-size: 1.05rem;
    color: #78350f;
    line-height: 1.9;
}

.about-zenthory {
    padding: 4rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(254, 243, 199, 0.95) 100%);
    border-radius: 35px;
    margin: 3rem 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.about-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3.5rem;
}

.about-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #d97706;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.about-text p {
    font-size: 1.05rem;
    color: #78350f;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

.community-stats {
    padding: 5rem 0;
}

.centered-content {
    text-align: center;
}

.community-text {
    font-size: 1.15rem;
    color: #78350f;
    max-width: 850px;
    margin: 0 auto 3.5rem;
    line-height: 1.9;
}

.stats-display {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: white;
    padding: 2.5rem 3.5rem;
    border-radius: 25px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 3px solid #fbbf24;
    min-width: 180px;
}

.stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: #92400e;
    font-weight: 700;
}

.final-message {
    padding: 3rem 0;
}

.message-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 3.5rem;
    border-radius: 30px;
    text-align: center;
    border: 4px solid #f59e0b;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.message-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    font-weight: 900;
    color: #92400e;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.message-box p {
    font-size: 1.15rem;
    color: #78350f;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}

.page-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(254, 243, 199, 0.9) 100%);
    border-radius: 30px;
    margin-bottom: 3rem;
}

.page-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #f59e0b, #fbbf24, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.page-lead {
    font-size: 1.4rem;
    color: #92400e;
    font-style: italic;
}

.gameplay-info {
    padding: 3rem 0;
}

.info-grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #fbbf24;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    border-color: #f59e0b;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.25);
}

.info-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
}

.info-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1rem;
}

.info-card-text {
    font-size: 1.05rem;
    color: #78350f;
    line-height: 1.8;
}

.play-game-section {
    padding: 3rem 0;
}

.full-game-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
    border: 5px solid #f59e0b;
}

.play-reminder-section {
    padding: 3rem 0;
}

.reminder-container {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    border: 4px solid #f59e0b;
}

.reminder-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #92400e;
    margin-bottom: 1.2rem;
}

.reminder-text {
    font-size: 1.15rem;
    color: #78350f;
    line-height: 1.9;
}

.legal-page-header {
    padding: 3.5rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(254, 243, 199, 0.9) 100%);
    border-radius: 30px;
    margin-bottom: 3rem;
}

.legal-effective-date {
    font-size: 1.15rem;
    color: #92400e;
    margin-top: 0.5rem;
    font-style: italic;
}

.legal-document {
    padding: 2rem 0;
}

.legal-wrapper {
    max-width: 950px;
}

.legal-block {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 2.5rem;
    border-left: 6px solid #f59e0b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.legal-block.important {
    border-left-color: #dc2626;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}

.legal-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.legal-block h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #78350f;
    margin: 1.5rem 0 1rem;
}

.legal-block p {
    font-size: 1.05rem;
    color: #78350f;
    margin-bottom: 1.3rem;
    line-height: 1.9;
}

.legal-block ul {
    color: #78350f;
    margin-left: 2.5rem;
    margin-bottom: 1.3rem;
    line-height: 1.9;
}

.legal-block li {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.legal-block strong {
    color: #92400e;
    font-weight: 700;
}

.site-footer {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
    color: #fef3c7;
    padding: 3.5rem 2rem;
    margin-top: 4rem;
    border-top: 5px solid #f59e0b;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.footer-text {
    color: #fde68a;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.footer-resources {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.resource-link {
    color: #fcd34d;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.resource-link:hover {
    color: #fbbf24;
    padding-left: 0.7rem;
}

.footer-navigation {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-link {
    color: #fde68a;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-link:hover {
    color: #fbbf24;
    padding-left: 0.7rem;
}

.footer-copyright {
    color: #fde68a;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 85px;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: calc(100vh - 85px);
        background: white;
        flex-direction: column;
        padding: 2.5rem;
        transition: right 0.3s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
        align-items: flex-start;
        gap: 0;
        border-left: 4px solid #f59e0b;
    }

    .primary-nav.active {
        right: 0;
    }

    .nav-item {
        padding: 1.2rem 0;
        width: 100%;
        border-bottom: 2px solid #fef3c7;
    }

    .hero-heading {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }

    .stats-display {
        gap: 2rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .about-zenthory {
        padding: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-heading {
        font-size: 2.2rem;
    }

    .page-main-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .stat-value {
        font-size: 2.8rem;
    }

    .content-wrapper {
        padding: 0 1.2rem;
    }
}