/* --- Basic Setup --- */
:root {
    --font-family: 'Itim', cursive;
    --primary-purple: #9b59b6;
    --secondary-purple: #8e44ad;
    --light-pink: #f39c12;
    --text-color: #ecf0f1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-family);
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple));
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* --- Animated Background --- */
.background-shapes {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
}
.shape {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 5vw;
    animation: float 20s infinite linear;
}
/* Distribute shapes randomly */
.shape:nth-child(1) { top: 10%; left: 15%; animation-duration: 22s; }
.shape:nth-child(2) { top: 20%; left: 80%; animation-duration: 18s; }
.shape:nth-child(3) { top: 70%; left: 10%; animation-duration: 25s; }
.shape:nth-child(4) { top: 80%; left: 90%; animation-duration: 15s; }
.shape:nth-child(5) { top: 40%; left: 50%; animation-duration: 20s; }
.shape:nth-child(6) { top: 5%; left: 40%; animation-duration: 28s; }
.shape:nth-child(7) { top: 90%; left: 30%; animation-duration: 17s; }
.shape:nth-child(8) { top: 50%; left: 5%; animation-duration: 23s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-120vh) rotate(360deg); }
}

/* --- Main Content --- */
.main-container {
    width: 100%;
    text-align: center;
}
.main-header {
    margin-bottom: 2rem;
}
.main-header h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

/* --- 3D Carousel --- */
.activity-carousel-container {
    perspective: 1000px;
    height: 350px;
}
.carousel {
    position: relative;
    width: 250px;
    height: 100%;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.card {
    position: absolute;
    width: 250px;
    height: 320px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.5s, box-shadow 0.5s;
}
.card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.card.coming-soon {
    opacity: 0.9;
    cursor: not-allowed;
}
.card-icon {
    font-size: 4rem;
    color: var(--light-pink);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--light-pink);
}
.card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* --- Controls --- */
.carousel-controls {
    margin-top: 2rem;
}
.control-btn {
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 0 1rem;
    transition: all 0.3s ease;
}
.control-btn:hover {
    background: var(--text-color);
    color: var(--secondary-purple);
}
