* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Comic Sans MS", "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    color: white;
}

/* Floating light animation background */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: float 25s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* Title and Landing Buttons */
.landing-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    text-align: center;
    z-index: 1;
}

.main-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: bold;
    text-shadow: 2px 3px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #ffe66d, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: bounce 2.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.main-button {
    display: inline-block;
    padding: 15px 25px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-parent {
    background: linear-gradient(135deg, #ffe66d, #ff6b6b);
    color: #2c3e50;
}

.btn-student {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: #fff;
}

.main-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Page Container */
.page-container {
    display: none;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Close Button */
.close-button {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff6b6b;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.close-button:hover {
    transform: rotate(90deg) scale(1.1);
    background: #ff5252;
}

/* Embedded content */
.embed-container {
    background: white;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    min-height: 60vh;
    overflow: hidden;
}

.embed-wrapper iframe {
    border: none;
    border-radius: 12px;
}

/* Decorative Elements */
.decoration {
    position: fixed;
    pointer-events: none;
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
    z-index: 0;
}

.star1 {
    top: 10%;
    left: 10%;
    font-size: 2.5rem;
    animation-delay: 0s;
}

.star2 {
    top: 20%;
    right: 15%;
    font-size: 2rem;
    animation-delay: 2s;
}

.star3 {
    bottom: 30%;
    left: 20%;
    font-size: 1.8rem;
    animation-delay: 4s;
}

.star4 {
    bottom: 15%;
    right: 25%;
    font-size: 2.8rem;
    animation-delay: 6s;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .main-button {
        font-size: 1rem;
        padding: 12px 20px;
    }

    .embed-container {
        padding: 8px;
    }

    .close-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}