@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito:wght@300;400;600;700&display=swap');

:root {
    --sunny-yellow: #ffd93d;
    --coral-orange: #ff6b6b;
    --sky-blue: #4ecdc4;
    --deep-purple: #6c5ce7;
    --soft-white: #fefefe;
    --charcoal: #2d3436;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--soft-white) 100%);
    color: var(--charcoal);
    line-height: 1.7;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--soft-white);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Fredoka One', cursive;
    font-size: 1.8rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--coral-orange), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: var(--sunny-yellow);
    color: var(--charcoal);
}

.mobile-trigger {
    display: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
}

.mobile-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--coral-orange);
    border-radius: 4px;
    transition: all 0.3s;
}

.mobile-trigger span:nth-child(1) { top: 0; }
.mobile-trigger span:nth-child(2) { top: 13px; }
.mobile-trigger span:nth-child(3) { bottom: 0; }

.mobile-trigger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 13px;
}

.mobile-trigger.open span:nth-child(2) {
    opacity: 0;
}

.mobile-trigger.open span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 13px;
}

.mobile-menu {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 75px);
    background: var(--soft-white);
    transition: right 0.3s;
    z-index: 999;
    padding: 1.5rem;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    display: block;
    padding: 1rem;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--light-gray);
    transition: all 0.3s;
}

.mobile-menu a:hover {
    background: var(--sunny-yellow);
    border-radius: 10px;
}

.welcome-section {
    min-height: 100vh;
    padding: 120px 2rem 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
}

.fun-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--sunny-yellow), var(--coral-orange));
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.welcome-section h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.welcome-section h1 span {
    background: linear-gradient(135deg, var(--coral-orange), var(--deep-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.welcome-section p {
    font-size: 1.2rem;
    color: #636e72;
    max-width: 650px;
    margin-bottom: 2.5rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-fun {
    background: linear-gradient(135deg, var(--coral-orange), var(--deep-purple));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-fun:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--deep-purple);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: 3px solid var(--deep-purple);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--deep-purple);
    color: white;
}

.info-bubbles {
    padding: 4rem 2rem;
    background: var(--soft-white);
}

.bubbles-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.bubble {
    background: linear-gradient(145deg, var(--light-gray), var(--soft-white));
    border-radius: 30px;
    padding: 2rem;
    text-align: center;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.bubble:hover {
    border-color: var(--sky-blue);
    transform: translateY(-5px);
}

.bubble-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.bubble h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--deep-purple);
    margin-bottom: 0.5rem;
}

.bubble p {
    color: #636e72;
    font-size: 0.95rem;
}

.game-area {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--soft-white) 0%, var(--light-gray) 100%);
}

.game-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.game-heading h2 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: var(--charcoal);
}

.game-heading h2 span {
    color: var(--coral-orange);
}

.game-heading p {
    color: #636e72;
    margin-top: 0.5rem;
}

.game-box {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--soft-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.game-box iframe {
    width: 100%;
    height: 620px;
    border: none;
}

.perks-section {
    padding: 5rem 2rem;
    background: var(--soft-white);
}

.perks-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.perk-card {
    background: linear-gradient(145deg, #fff, var(--light-gray));
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.perk-card .perk-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.perk-card h4 {
    font-family: 'Fredoka One', cursive;
    color: var(--deep-purple);
    margin-bottom: 0.5rem;
}

.perk-card p {
    color: #636e72;
    font-size: 0.9rem;
}

footer {
    background: var(--charcoal);
    color: var(--soft-white);
    padding: 4rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand .brand {
    display: inline-block;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--sunny-yellow), var(--coral-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: #b2bec3;
    font-size: 0.95rem;
}

.footer-nav h5 {
    font-family: 'Fredoka One', cursive;
    color: var(--sunny-yellow);
    margin-bottom: 1rem;
}

.footer-nav a {
    display: block;
    color: #b2bec3;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--sunny-yellow);
}

.footer-help h5 {
    font-family: 'Fredoka One', cursive;
    color: var(--sunny-yellow);
    margin-bottom: 1rem;
}

.footer-help a {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: #b2bec3;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0.2rem;
    transition: background 0.3s;
}

.footer-help a:hover {
    background: var(--coral-orange);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #636e72;
    font-size: 0.85rem;
}

.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(45, 52, 54, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.age-popup.hidden {
    display: none;
}

.age-popup-box {
    background: var(--soft-white);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
}

.age-popup-box .popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-popup-box h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--deep-purple);
    margin-bottom: 1rem;
}

.age-popup-box p {
    color: #636e72;
    margin-bottom: 2rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-buttons button {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform 0.3s;
}

.popup-yes {
    background: linear-gradient(135deg, var(--sky-blue), var(--deep-purple));
    color: white;
}

.popup-yes:hover {
    transform: scale(1.05);
}

.popup-no {
    background: var(--light-gray);
    color: var(--charcoal);
    border: 2px solid var(--charcoal) !important;
}

.page-main {
    padding: 120px 2rem 60px;
    min-height: 70vh;
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--deep-purple);
    text-align: center;
    margin-bottom: 2.5rem;
}

.content-bubble {
    background: var(--soft-white);
    border-radius: 25px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    border-left: 5px solid var(--sky-blue);
}

.content-bubble h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--coral-orange);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.content-bubble p {
    color: #636e72;
    margin-bottom: 0.8rem;
}

.content-bubble ul {
    color: #636e72;
    padding-left: 1.5rem;
}

.content-bubble li {
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-trigger {
        display: block;
    }
    
    .game-box iframe {
        height: 450px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
}
