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

:root {
--sky: #5bc8f5;
--yellow: #FFD740;
--blue-deep: #1a4fa0;
--white: #ffffff;
--card-radius: 18px;
--shadow-soft: 0 6px 20px rgba(0,0,0,0.12);
--shadow-hover: 0 14px 34px rgba(0,0,0,0.2);

--theme-green: #5de87a;
--theme-blue: #5bc8f5;
--theme-purple: #c77dff;
--theme-orange: #ffb03a;
--theme-pink: #ff7eb9;
--theme-red: #ff6b6b;
}

body {
font-family: 'Nunito', sans-serif;
background: radial-gradient(ellipse at top, #8de0ff 0%, #5bc8f5 45%, #1a6fa8 100%);
min-height: 100vh;
overflow-x: hidden;
color: var(--blue-deep);
}

.stars-bg {
position: fixed;
inset: 0;
pointer-events: none;
z-index: 0;
}

.star {
position: absolute;
font-size: 18px;
opacity: 0.35;
animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.35; }
50% { transform: scale(1.25) rotate(15deg); opacity: 0.75; }
}

.container {
position: relative;
z-index: 1;
max-width: 1040px;
margin: 0 auto;
padding: 26px 16px 20px;
}

header {
text-align: center;
margin-bottom: 24px;
}

header h1 {
font-size: clamp(2.25rem, 6vw, 3.4rem);
font-weight: 900;
color: var(--white);
text-shadow: 0 4px 0 var(--blue-deep);
margin-bottom: 4px;
}

header p {
font-size: clamp(1rem, 2.5vw, 1.15rem);
font-weight: 800;
color: rgba(255,255,255,0.9);
}

.activities-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
gap: 16px;
}

.activity-card {
background: var(--white);
border-radius: var(--card-radius);
overflow: hidden;
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s, border-color 0.25s;
box-shadow: var(--shadow-soft);
position: relative;
border: 3px solid transparent;
animation: slideUp 0.5s ease backwards;
min-height: 188px;
}

@keyframes slideUp {
from { opacity: 0; transform: translateY(22px); }
to { opacity: 1; transform: translateY(0); }
}

.activity-card:hover {
transform: translateY(-7px) scale(1.015);
box-shadow: var(--shadow-hover);
border-color: var(--yellow);
}

.activity-card:active {
transform: translateY(-2px) scale(0.99);
}

.card-thumb {
height: 104px;
display: flex;
align-items: center;
justify-content: center;
font-size: clamp(3rem, 8vw, 4.2rem);
position: relative;
}

.theme-green  { background: var(--theme-green); }
.theme-blue   { background: var(--theme-blue); }
.theme-purple { background: var(--theme-purple); }
.theme-orange { background: var(--theme-orange); }
.theme-pink   { background: var(--theme-pink); }
.theme-red    { background: var(--theme-red); }

.card-body {
padding: 14px;
background: white;
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
gap: 10px;
}

.card-title {
font-size: 1.08rem;
line-height: 1.08;
font-weight: 900;
color: var(--blue-deep);
}

.card-chips {
display: flex;
gap: 6px;
flex-wrap: wrap;
}

.chip {
padding: 5px 10px;
background: #f0f4f8;
border-radius: 999px;
font-size: 0.75rem;
line-height: 1;
font-weight: 900;
color: var(--blue-deep);
white-space: nowrap;
}

footer {
text-align: center;
padding: 24px;
color: var(--white);
font-weight: 700;
opacity: 0.8;
}

@media (max-width: 600px) {
.container {
padding: 20px 10px 16px;
}

header {
margin-bottom: 16px;
}

.activities-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
}

.activity-card {
min-height: 145px;
border-width: 2px;
border-radius: 14px;
}

.card-thumb {
height: 72px;
font-size: 2.4rem;
}

.card-body {
padding: 8px;
gap: 6px;
}

.card-title {
font-size: 0.82rem;
line-height: 1.05;
}

.card-chips {
gap: 4px;
}

.chip {
font-size: 0.58rem;
padding: 4px 6px;
}
}
