:root {
    --outline: #13213C;
    --white: #FFFFFF;
    --blue-sky: #76B9EF;
    --blue-light: #9AD3F7;
    --pink: #F582B0;
    --yellow: #F7D046;
    --mint: #88D8C0;
    --snow-bg: #E8F4FC;
    
    --border-width: 5px;
    --shadow-offset: 6px;
    
    --font-display: 'Cherry Bomb One', cursive;
    --font-ui: 'Nunito', sans-serif;
}

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

body {
    font-family: var(--font-ui);
    background: linear-gradient(180deg, var(--blue-sky) 0%, var(--blue-light) 40%, var(--snow-bg) 100%);
    min-height: 100vh;
    color: var(--outline);
    overflow-x: hidden;
    position: relative;
}


.scenery {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.mountain-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 40vh;
    background-repeat: repeat-x;
    background-position: bottom;
    background-size: 50% 100%;
}

.mountain-back {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cpath d='M0,300 L0,150 Q100,50 200,100 T400,120 T600,80 T800,140 T1000,90 L1000,300 Z' fill='%23C1E4F9' stroke='%2313213C' stroke-width='4'/%3E%3C/svg%3E");
    animation: pan 60s linear infinite;
    z-index: 1;
    opacity: 0.7;
}

.mountain-front {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 300' preserveAspectRatio='none'%3E%3Cpath d='M0,300 L0,200 Q150,150 250,220 T500,180 T750,250 T1000,190 L1000,300 Z' fill='%23FFFFFF' stroke='%2313213C' stroke-width='6'/%3E%3C/svg%3E");
    animation: pan 40s linear infinite reverse;
    z-index: 2;
}

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

.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
}

.snow {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    border: 2px solid var(--outline);
    animation: fall linear infinite;
}

@keyframes fall {
    0% { transform: translateY(-10vh) translateX(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) translateX(20px) rotate(360deg); opacity: 0; }
}


.container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}


.sticker {
    background: var(--white);
    border: var(--border-width) solid var(--outline);
    border-radius: 32px;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px var(--outline);
    padding: 2rem;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticker.angled {
    transform: rotate(-2deg);
}
.sticker.angled-right {
    transform: rotate(2deg);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--yellow);
    color: var(--outline);
    font-family: var(--font-ui);
    font-weight: 900;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2rem;
    border: var(--border-width) solid var(--outline);
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--outline);
    text-decoration: none;
    color: inherit;
    transition: all 0.1s ease;
}

.btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px var(--outline);
}

.btn-pink { background: var(--pink); color: white; text-shadow: 2px 2px 0 var(--outline); }
.btn-mint { background: var(--mint); }


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
}

.badge {
    background: var(--pink);
    color: var(--white);
    border: 3px solid var(--outline);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    box-shadow: 2px 2px 0 var(--outline);
    animation: pulse 2s infinite;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 3px solid var(--outline);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    box-shadow: 2px 2px 0 var(--outline);
}

.music-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--outline);
    display: flex;
    align-items: center;
    padding: 0;
    transition: transform 0.1s;
}

.music-btn:hover {
    transform: scale(1.1);
}

.volume-slider {
    width: 60px;
    cursor: pointer;
    accent-color: var(--pink);
}


@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(-3deg); }
    50% { transform: scale(1.05) rotate(3deg); }
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}


.logo-text {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    color: var(--white);
    -webkit-text-stroke: var(--border-width) var(--outline);
    text-shadow: 8px 8px 0 var(--blue-sky), 8px 8px 0 var(--outline);
    display: flex;
}

.logo-text span {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.logo-text span:nth-child(2) { animation-delay: 0.1s; }
.logo-text span:nth-child(3) { animation-delay: 0.2s; }
.logo-text span:nth-child(4) { animation-delay: 0.3s; }
.logo-text span:nth-child(5) { animation-delay: 0.4s; }
.logo-text span:nth-child(6) { animation-delay: 0.5s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-sub {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--white);
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 3px solid var(--outline);
    border-radius: 12px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 0 var(--outline);
}


.mascot-stage {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot {
    position: relative;
    width: 250px;
    height: 280px;
    animation: float-mascot 4s ease-in-out infinite;
}

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


.m-body {
    position: absolute;
    bottom: 0;
    width: 250px;
    height: 220px;
    background: var(--white);
    border: var(--border-width) solid var(--outline);
    border-radius: 120px 120px 80px 80px;
    box-shadow: inset -20px -20px 0 rgba(0,0,0,0.05), var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
    overflow: hidden;
    z-index: 2;
}


.m-suit-left, .m-suit-right {
    position: absolute;
    background: var(--outline);
    width: 80px;
    height: 100%;
    top: 0;
}
.m-suit-left { left: -20px; border-radius: 0 100px 100px 0; }
.m-suit-right { right: -20px; border-radius: 100px 0 0 100px; }


.m-eyes {
    position: absolute;
    top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 5;
}
.m-eye {
    width: 24px;
    height: 36px;
    background: var(--outline);
    border-radius: 50%;
    position: relative;
}
.m-eye::after { 
    content: '';
    position: absolute;
    top: 6px;
    right: 4px;
    width: 8px;
    height: 12px;
    background: white;
    border-radius: 50%;
}


.m-beak {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background: var(--yellow);
    border: 4px solid var(--outline);
    border-radius: 30px;
    z-index: 5;
    box-shadow: inset -5px -5px 0 rgba(0,0,0,0.1);
}


.m-beanie {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 100px;
    background: var(--pink);
    border: var(--border-width) solid var(--outline);
    border-radius: 90px 90px 20px 20px;
    z-index: 10;
}
.m-beanie-fold {
    position: absolute;
    bottom: -15px;
    left: -10px;
    width: 200px;
    height: 40px;
    background: var(--pink);
    border: var(--border-width) solid var(--outline);
    border-radius: 20px;
    box-shadow: inset 0 -10px 0 rgba(0,0,0,0.1);
}
.m-beanie-pom {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--mint);
    border: var(--border-width) solid var(--outline);
    border-radius: 50%;
}


.bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}


.card-pump {
    grid-column: span 2;
    background: var(--white);
    border: var(--border-width) solid var(--outline);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--outline);
    position: relative;
}

.card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--pink);
    -webkit-text-stroke: 2px var(--outline);
    margin-bottom: 1rem;
    line-height: 1;
}

.progress-wrap {
    width: 100%;
    height: 48px;
    background: var(--snow-bg);
    border: 4px solid var(--outline);
    border-radius: 999px;
    padding: 4px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--mint);
    border-radius: 999px;
    width: 69%; 
    border-right: 4px solid var(--outline);
    position: relative;
}


.progress-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(
        -45deg, 
        rgba(255, 255, 255, 0.2) 25%, 
        transparent 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.2) 75%, 
        transparent 75%, 
        transparent
    );
    background-size: 50px 50px;
    animation: move-stripes 2s linear infinite;
}

@keyframes move-stripes {
    100% { background-position: 50px 0; }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
}


.card-contract {
    background: var(--yellow);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ca-box {
    background: var(--white);
    border: 3px solid var(--outline);
    border-radius: 12px;
    padding: 1rem;
    font-family: monospace;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    cursor: copy;
    position: relative;
}
.ca-box:active { background: #f0f0f0; }


.card-stats {
    background: var(--mint);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    background: var(--white);
    border: 3px solid var(--outline);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-weight: 900;
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    background: var(--white);
    border: 4px solid var(--outline);
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0 var(--outline);
    cursor: pointer;
    transition: 0.1s;
    text-decoration: none;
    color: inherit;
}
.social-btn:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0 var(--outline);
}
.social-btn svg { width: 32px; height: 32px; fill: var(--outline); }


@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .logo-text { font-size: 4.5rem; justify-content: center; }
    .bento { grid-template-columns: 1fr; }
    .card-pump { grid-column: span 1; }
    .mascot-stage { height: 300px; }
}
