* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #3498db;
    --dark-text: #2c3e50;
    --medium-gray: #7f8c8d;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --border-color: #dfe6e9;
    --hover-bg: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    line-height: 1.8;
    background: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Gate */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-gate.hidden {
    display: none;
}

.age-gate-box {
    background: var(--white);
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.age-gate-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.age-gate-box h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.age-gate-box p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.age-notice {
    font-size: 0.9rem;
    margin-bottom: 2rem !important;
}

.age-gate-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--medium-gray);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--medium-gray);
}

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--medium-gray);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: var(--dark-text);
}

.nav-item.active {
    color: var(--primary-blue);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
}

/* Hero Section */
.hero-minimal {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--white), var(--light-gray));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    font-weight: 300;
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    text-align: center;
    background: var(--light-gray);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.page-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
}

/* Sections */
.section-light {
    padding: 5rem 0;
    background: var(--light-gray);
}

.section-dark {
    padding: 5rem 0;
    background: var(--dark-text);
}

.section-white {
    padding: 5rem 0;
    background: var(--white);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-text);
}

.section-heading.white {
    color: var(--white);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper p {
    color: var(--medium-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.subtitle-text {
    color: var(--medium-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.info-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Game Box */
.game-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.game-embed {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Benefits List */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--hover-bg);
    transform: translateY(-3px);
}

.benefit-number {
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    opacity: 0.15;
}

.benefit-item h3 {
    margin-bottom: 0.75rem;
    color: var(--dark-text);
    font-weight: 500;
}

.benefit-item p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Game Section (Play Page) */
.section-game {
    background: #000;
    padding: 0;
}

.game-container-full {
    width: 100%;
}

.game-embed-full {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

/* Instructions Grid */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.instruction-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.instruction-box h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.instruction-box p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Tips Container */
.tips-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tip-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.tip-box h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

.tip-box p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.legal-section.important {
    border-left: 4px solid var(--primary-blue);
    background: #e3f2fd;
}

.legal-section h2 {
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.legal-section p {
    color: var(--medium-gray);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--white);
}

.footer-col p {
    color: #b2bec3;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.5rem;
}

.footer-list a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-list a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b2bec3;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        right: -100%;
        background: var(--white);
        flex-direction: column;
        width: 250px;
        padding: 2rem;
        border-left: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        transition: right 0.3s ease;
        gap: 1.5rem;
        box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cards-grid,
    .benefits-list,
    .tips-container {
        grid-template-columns: 1fr;
    }

    .game-embed {
        height: 400px;
    }

    .game-embed-full {
        height: 500px;
    }

    .age-gate-box {
        padding: 2rem;
        margin: 1rem;
    }

    .age-gate-actions {
        flex-direction: column;
    }
}
