:root {
--bg-top: #f9e2ff;
--bg-bottom: #cfe8ff;
--lane-bg: rgba(255, 255, 255, 0.2);
--lane-active: rgba(255, 255, 255, 0.5);
--accent: #ff9edc;
--accent-2: #a4c8ff;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: 'Nunito', system-ui, sans-serif;
min-height: 100vh;
background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
color: #4b2d62;
overflow-x: hidden;
}
.sky-charms {
position: fixed;
inset: 0;
font-size: 6rem;
opacity: 0.05;
text-align: center;
padding-top: 2rem;
letter-spacing: 1.5rem;
pointer-events: none;
}
.wrap {
max-width: 1100px;
margin: 0 auto;
padding: 2rem clamp(1rem, 5vw, 4rem) 4rem;
position: relative;
z-index: 1;
}
h1, h2 {
font-family: 'Baloo 2', 'Nunito', sans-serif;
margin: 0;
color: #ff62c3;
}
.top {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 1rem;
align-items: center;
}
.tag {
margin-top: 0.4rem;
color: #745483;
}
.stats {
background: rgba(255, 255, 255, 0.7);
padding: 0.8rem 1.2rem;
border-radius: 1rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
font-weight: 600;
box-shadow: 0 15px 35px rgba(173, 137, 255, 0.35);
}
.btn {
border: none;
border-radius: 999px;
padding: 0.5rem 1.5rem;
font-weight: 700;
font-size: 1rem;
background: linear-gradient(120deg, var(--accent), var(--accent-2));
color: white;
cursor: pointer;
box-shadow: 0 15px 30px rgba(168, 198, 255, 0.45);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 0.8rem 2.5rem; font-size: 1.2rem; }
.stage {
margin-top: 2.5rem;
background: rgba(255, 255, 255, 0.4);
border-radius: 2rem;
padding: 2rem;
box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.6), 0 25px 50px rgba(136, 160, 255, 0.4);
}
.lanes {
position: relative;
display: grid;
grid-template-columns: repeat(4, minmax(60px, 1fr));
gap: 1rem;
height: 380px;
}
.lane {
position: relative;
background: var(--lane-bg);
border-radius: 1.5rem;
overflow: hidden;
border: 2px dashed rgba(255, 255, 255, 0.4);
}
.lane--active {
background: var(--lane-active);
box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6);
}
.lane .label {
position: absolute;
top: 0.4rem;
left: 50%;
transform: translateX(-50%);
font-weight: 700;
color: #fff;
opacity: 0.7;
}
.target-line {
position: absolute;
left: 0;
right: 0;
bottom: 70px;
border-bottom: 6px solid rgba(255, 255, 255, 0.8);
pointer-events: none;
box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}
.note {
position: absolute;
width: 70%;
left: 15%;
padding: 0.4rem 0;
border-radius: 999px;
text-align: center;
font-size: 1.4rem;
box-shadow: 0 8px 20px rgba(255, 130, 210, 0.45);
}
.hit-buttons {
display: grid;
grid-template-columns: repeat(4, minmax(70px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.hit-buttons button {
border: none;
border-radius: 1rem;
font-size: 1.7rem;
padding: 0.6rem;
cursor: pointer;
background: rgba(255, 255, 255, 0.8);
box-shadow: 0 12px 25px rgba(143, 154, 255, 0.4);
transition: transform 0.15s ease;
}
.hit-buttons button:active { transform: translateY(2px); }
.instructions {
margin-top: 2rem;
background: rgba(255, 255, 255, 0.8);
border-radius: 1.5rem;
padding: 1.5rem 2rem;
box-shadow: 0 18px 45px rgba(150, 180, 255, 0.35);
}
.overlay {
position: fixed;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
background: rgba(233, 208, 255, 0.8);
z-index: 20;
transition: opacity 0.3s ease;
}
.overlay.hidden { opacity: 0; pointer-events: none; }
.card {
background: white;
border-radius: 2rem;
padding: 2rem 3rem;
text-align: center;
box-shadow: 0 30px 60px rgba(175, 140, 255, 0.45);
}
@media (max-width: 700px) {
.lanes { height: 320px; }
.target-line { bottom: 60px; }
}