* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', 'Open Sans', sans-serif;
    background: radial-gradient(140% 140% at 0% 0%, #1a1446 0%, #050818 55%, #02040b 100%);
    color: #dde4ff;
    line-height: 1.6;
}

.header-bar {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 18px rgba(142, 68, 173, 0.3);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    font-size: 2.1rem;
    font-weight: 700;
}

.logo-image {
    width: 46px;
    height: 46px;
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.primary-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.7rem 1.4rem;
    border-radius: 7px;
    transition: all 0.3s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.9rem;
    cursor: pointer;
}

.mobile-menu-panel {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #9b59b6 0%, #8e44ad 100%);
    padding: 1.75rem;
    box-shadow: 0 7px 28px rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.mobile-menu-panel.visible {
    display: block;
}

.mobile-menu-panel ul {
    list-style: none;
}

.mobile-menu-panel li {
    margin-bottom: 0.85rem;
}

.mobile-menu-panel a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 1rem 1.25rem;
    font-weight: 600;
    border-radius: 7px;
    transition: background 0.3s ease;
}

.mobile-menu-panel a:hover,
.mobile-menu-panel a.active {
    background: rgba(255, 255, 255, 0.18);
}

.main-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3.5rem;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
}

.masonry-item {
    display: flex;
}

.content-box {
    background: rgba(6, 10, 26, 0.35);
    border-radius: 30px;
    padding: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 25px 60px rgba(2, 3, 12, 0.65);
    backdrop-filter: blur(20px);
    color: #e6ecff;
    width: 100%;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.content-box h1,
.content-box h2,
.content-box h3,
.content-box h4 {
    color: #fdfcff;
}

.content-box p {
    color: rgba(228, 233, 255, 0.85);
}

.content-box:hover {
    transform: translateY(-6px);
    border-color: rgba(134, 234, 255, 0.35);
    box-shadow: 0 35px 70px rgba(1, 5, 25, 0.85);
}

.hero-box {
    background: radial-gradient(circle at top left, rgba(76, 201, 240, 0.35), rgba(91, 33, 182, 0.6));
    border: 1px solid rgba(153, 255, 255, 0.3);
}

.warning-box {
    background: linear-gradient(135deg, rgba(255, 99, 99, 0.1), rgba(255, 99, 99, 0.3));
    border: 1px solid rgba(255, 166, 166, 0.45);
}

.warning-box ul {
    margin-left: 1.4rem;
}

.warning-box li {
    margin-bottom: 0.7rem;
    color: rgba(255, 219, 219, 0.9);
}

.accent-box {
    background: linear-gradient(145deg, rgba(0, 255, 199, 0.08), rgba(46, 213, 178, 0.25));
    border-color: rgba(0, 255, 213, 0.32);
}

.game-box {
    background: linear-gradient(160deg, rgba(12, 15, 35, 0.85), rgba(20, 25, 55, 0.95));
    padding: 1.8rem;
}

.game-box iframe {
    width: 100%;
    border: none;
    border-radius: 22px;
    min-height: 420px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.feature-box {
    text-align: left;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.footer-box {
    background: rgba(10, 12, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

.footer-box h3 {
    color: #a8f1ff;
}

.footer-box p {
    color: rgba(255, 255, 255, 0.75);
}

.play-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.card-surface {
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
}

.play-hero {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 55%, #b06bd7 100%);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.play-hero h1,
.play-hero h2,
.play-hero h3,
.play-hero p {
    color: white;
}

.play-hero-content h1 {
    margin-bottom: 0.5rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.35rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.hero-highlights span {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.play-hero-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.play-hero-details h3 {
    margin-bottom: 0.5rem;
}

.game-fullwidth {
    width: 100%;
}

.game-shell {
    background: linear-gradient(145deg, #101725, #182033);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 12px 40px rgba(16, 23, 37, 0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    color: #dfe6ed;
}

.game-meta h2 {
    color: #fff;
    margin-bottom: 0.75rem;
}

.game-meta p {
    color: rgba(255, 255, 255, 0.85);
}

.game-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.game-meta-list li {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.game-meta-list strong {
    color: #f5f7fa;
    font-size: 0.9rem;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
}

.game-meta-list span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.game-frame {
    width: 100%;
}

.game-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 520px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45);
    background: #000;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.experience-card {
    background: white;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(142, 68, 173, 0.18);
}

.guidance-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: center;
}

.support-links p {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

h1 {
    color: #8e44ad;
    font-size: 2.8rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

h2 {
    color: #9b59b6;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

h3 {
    color: #8e44ad;
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.15rem;
    font-size: 1.05rem;
    color: #495057;
}

.feature-icon {
    font-size: 3.25rem;
    margin-bottom: 1rem;
}

.footer-link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.85rem;
    margin-top: 1.15rem;
}

.footer-link-group a {
    color: #9b59b6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.footer-link-group a:hover {
    color: #8e44ad;
}

.age-check-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(142, 68, 173, 0.96);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}

.age-check-overlay.show {
    display: flex;
}

.age-check-dialog {
    background: white;
    padding: 3.5rem;
    border-radius: 22px;
    text-align: center;
    max-width: 560px;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.6);
}

.age-check-dialog h2 {
    color: #8e44ad;
    margin-bottom: 1.5rem;
}

.age-check-dialog p {
    margin: 1.25rem 0;
    color: #495057;
}

.age-check-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.25rem;
}

.age-check-actions button {
    padding: 1.15rem 2.75rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.accept-button {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    color: white;
}

.accept-button:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 30px rgba(142, 68, 173, 0.4);
}

.reject-button {
    background: #dee2e6;
    color: #495057;
}

.reject-button:hover {
    background: #ced4da;
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .main-container {
        padding: 2rem 1.25rem 2.75rem;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .content-box {
        padding: 1.75rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.65rem;
    }

    .play-main {
        padding: 2rem 1.25rem 2.5rem;
    }

    .card-surface {
        padding: 2rem 1.5rem;
    }

    .play-hero-details {
        grid-template-columns: 1fr;
    }

    .game-shell {
        padding: 1.75rem;
    }

    .game-meta {
        flex-direction: column;
    }

    .game-frame iframe {
        min-height: 320px;
        height: 60vh;
        aspect-ratio: auto;
    }

    .age-check-dialog {
        padding: 2.5rem;
    }

    .age-check-actions {
        flex-direction: column;
    }

    .age-check-actions button {
        width: 100%;
    }
}

ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.55rem;
    line-height: 1.65;
}
