@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Quicksand:wght@400;500;600;700&display=swap');

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

:root {
    --pink: #ec4899;
    --purple: #8b5cf6;
    --teal: #14b8a6;
    --yellow: #fbbf24;
    --dark: #1f1f2e;
    --darker: #151521;
    --light: #fdfcff;
    --gray: #a1a1b5;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Fredoka One', cursive;
    font-weight: 400;
}

.navbar {
    background: var(--dark);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.2);
}

.navbar-content {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 25px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-shape {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transform: rotate(10deg);
}

.logo-name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.6rem;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--pink);
}

.ham-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.ham-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--pink);
    margin: 6px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 20px;
}

.mobile-nav.showing {
    display: block;
}

.mobile-nav a {
    display: block;
    color: var(--light);
    text-decoration: none;
    padding: 15px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(236, 72, 153, 0.2);
    font-weight: 600;
}

.main-area {
    margin-top: 80px;
}

.welcome-hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--pink) 50%, var(--teal) 100%);
    padding: 100px 25px 80px;
    text-align: center;
    position: relative;
}

.welcome-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--darker));
}

.welcome-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: white;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.welcome-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.95;
}

.fun-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.fun-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-emoji {
    font-size: 1.4rem;
}

.game-section {
    padding: 70px 25px;
}

.game-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--yellow);
}

.game-box {
    max-width: 1050px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 25px;
    overflow: hidden;
    border: 4px solid var(--pink);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.3);
}

.game-box iframe {
    width: 100%;
    height: 570px;
    border: none;
    display: block;
}

.perks {
    padding: 80px 25px;
    background: var(--dark);
}

.perks h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--teal);
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.perk-card {
    background: linear-gradient(145deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.1));
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.perk-card:hover {
    border-color: var(--pink);
    transform: translateY(-8px);
}

.perk-emoji {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.perk-card h3 {
    color: var(--yellow);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.perk-card p {
    color: var(--gray);
}

.info-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 25px;
}

.info-col {
    background: var(--dark);
    padding: 35px;
    border-radius: 16px;
    border-left: 5px solid var(--teal);
}

.info-col h3 {
    color: var(--pink);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.info-col p {
    color: var(--gray);
}

.site-footer {
    background: var(--dark);
    padding: 55px 25px;
    border-top: 3px solid var(--purple);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-menu a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 600;
}

.footer-menu a:hover {
    color: var(--pink);
}

.help-section {
    margin-top: 35px;
    padding-top: 35px;
    border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.help-section p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.help-orgs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.help-orgs a {
    color: var(--teal);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-copy {
    margin-top: 30px;
    color: var(--gray);
    font-size: 0.85rem;
}

.gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(21, 21, 33, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gate-overlay.dismissed {
    display: none;
}

.gate-box {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 450px;
    margin: 20px;
    border: 3px solid var(--pink);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.3);
}

.gate-emoji {
    font-size: 5rem;
    margin-bottom: 20px;
}

.gate-box h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gate-box p {
    color: var(--gray);
    margin-bottom: 30px;
}

.gate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-fun {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Quicksand', sans-serif;
    border: none;
}

.btn-pink {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
}

.btn-pink:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.4);
}

.btn-clear {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--gray);
}

.btn-clear:hover {
    border-color: var(--light);
    color: var(--light);
}

.page-top {
    background: linear-gradient(135deg, var(--purple), var(--pink));
    padding: 130px 25px 60px;
    text-align: center;
}

.page-top h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
}

.text-area {
    padding: 55px 25px;
    max-width: 900px;
    margin: 0 auto;
}

.text-area h2 {
    color: var(--pink);
    margin: 35px 0 18px;
    font-size: 1.5rem;
}

.text-area p {
    color: var(--gray);
    margin-bottom: 18px;
}

.text-area ul {
    color: var(--gray);
    margin: 18px 0 18px 30px;
}

.text-area li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .ham-btn {
        display: block;
    }
    
    .game-box iframe {
        height: 380px;
    }
    
    .welcome-hero {
        padding: 70px 20px 60px;
    }
    
    .fun-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .gate-buttons {
        flex-direction: column;
    }
}
