:root {
    --bg-color: #fdf2f8; /* pinkish white */
    --text-color: #111827;
    --primary: #ec4899; /* hot pink */
    --accent-1: #eab308; /* yellow */
    --accent-2: #3b82f6; /* blue */
    --accent-3: #10b981; /* green */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Grotesk', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.cursor-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236,72,153,0.4) 0%, rgba(253,242,248,0) 70%);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease-out, top 0.1s ease-out;
}

nav {
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid var(--text-color);
    background: white;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    padding: 1rem 2rem;
    background: var(--accent-1);
    border-bottom: 4px solid var(--text-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.marquee {
    background: var(--text-color);
    color: var(--accent-1);
    padding: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    font-size: 1.2rem;
}

.marquee p {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    text-align: center;
    overflow: hidden;
    background-image: radial-gradient(var(--accent-1) 2px, transparent 2px);
    background-size: 30px 30px;
}

.hero-content {
    z-index: 10;
    background: white;
    padding: 3rem;
    border: 4px solid var(--text-color);
    border-radius: 20px;
    box-shadow: 12px 12px 0px var(--text-color);
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 8px 8px 0px var(--text-color);
}

.eyebrow {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.glitch {
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    text-shadow: 4px 4px 0px var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.money-btn {
    background: var(--accent-3);
    color: white;
    border: 4px solid var(--text-color);
    padding: 1.2rem 2.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 6px 6px 0px var(--text-color);
    transition: all 0.2s;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.money-btn:hover {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0px var(--text-color);
    background: #0ea5e9;
}

.money-btn:active {
    transform: translate(6px, 6px);
    box-shadow: 0px 0px 0px var(--text-color);
}

.hero-stickers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sticker {
    font-size: 4rem;
    position: absolute;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.2));
}

.cat { top: 15%; left: 10%; animation-delay: 0s; }
.dog { bottom: 25%; right: 15%; animation-delay: 1s; }
.money { top: 20%; right: 10%; animation-delay: 2s; font-size: 5rem; z-index: 2;}
.sparkle { bottom: 15%; left: 20%; animation-delay: 1.5s; font-size: 3rem; }
.planet { top: 40%; left: 5%; animation-delay: 0.5s; font-size: 3.5rem; }

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.story-section {
    padding: 6rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    padding: 3rem;
    border: 4px solid var(--text-color);
    border-radius: 20px;
    box-shadow: 10px 10px 0px var(--text-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-15px) rotate(0deg);
}

.math-card {
    background-color: var(--primary);
    color: white;
    transform: rotate(-3deg);
}

.smart-card {
    background-color: var(--accent-1);
    transform: rotate(3deg);
}

.card h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #000;
}

.smart-card h2 {
    text-shadow: 3px 3px 0px #fff;
    color: var(--text-color);
}

.card p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.smart-card p {
    color: var(--text-color);
    font-weight: 500;
}

.hobbies-section {
    padding: 6rem 2rem;
    text-align: center;
    background: white;
    border-top: 4px solid var(--text-color);
    border-bottom: 4px solid var(--text-color);
    position: relative;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px var(--accent-1);
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary);
    border-radius: 4px;
}

.hobbies-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.hobby-pill {
    background: var(--bg-color);
    border: 3px solid var(--text-color);
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 5px 5px 0px var(--text-color);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hobby-pill:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg) translateY(-5px);
    box-shadow: 8px 8px 0px var(--text-color);
}

.hobby-pill:nth-child(even):hover {
    background: var(--accent-2);
    transform: scale(1.1) rotate(-5deg) translateY(-5px);
}

footer {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--text-color);
    color: white;
    border-top: 4px solid #000;
}

.game-section {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--accent-2);
}

.game-section .section-title {
    color: white;
    text-shadow: 4px 4px 0px #000;
}

.game-section .section-title::after {
    background-color: white;
}

.game-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border: 4px solid var(--text-color);
    border-radius: 20px;
    box-shadow: 10px 10px 0px var(--text-color);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.game-ui {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 3px dashed var(--text-color);
    padding-bottom: 1rem;
}

#game-board {
    width: 100%;
    height: 400px;
    background: var(--bg-color);
    border: 3px solid var(--text-color);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

#start-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.game-item {
    position: absolute;
    font-size: 3rem;
    user-select: none;
    cursor: pointer;
    transition: transform 0.1s;
    -webkit-user-drag: none;
}

.game-item:active {
    transform: scale(1.2);
}

.game-instruction {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Make it responsive */
@media (max-width: 768px) {
    .story-section {
        grid-template-columns: 1fr;
    }
    .glitch { font-size: 3.5rem; }
    .logo { text-align: center; }
    .hero-content {
        padding: 2rem;
        width: 95%;
    }
    .hobby-pill {
        font-size: 1.2rem;
        padding: 0.8rem 1.5rem;
    }
}
