body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}
.animated-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    background: linear-gradient(120deg, #e3f2fd 0%, #fce4ec 100%);
    overflow: hidden;
}
.bubble {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    animation: float 12s infinite linear;
}
@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100vh); }
}
.landing-card {
    max-width: 500px;
    width: 100%;
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.15), 0 1.5px 8px rgba(56, 142, 60, 0.08);
    padding: 2.5rem 2rem 3.5rem 2rem; /* Extra bottom padding */
    margin: auto;
}
.landing-title {
    font-family: 'Segoe UI', 'Comic Sans MS', cursive, sans-serif;
    font-size: 2.5rem;
    color: #1976d2;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.landing-desc {
    color: #388e3c;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.parent-btn {
    background: linear-gradient(90deg, #1976d2 60%, #388e3c 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 2rem !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 2.5rem !important;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.12) !important;
    transition: background 0.3s !important;
    margin-bottom: 0.5rem !important;
    margin-top: 1.5rem !important;
    display: inline-block !important;
}
.parent-btn:hover {
    background: linear-gradient(90deg, #388e3c 60%, #1976d2 100%);
    color: #fff;
}

/* --- DARK THEME SHARED STYLES --- */
.dark-card {
    background: #181c24;
    color: #f0f6fc;
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(25, 118, 210, 0.12), 0 1.5px 8px rgba(56, 142, 60, 0.08);
    padding: 2.5rem 2rem 3.5rem 2rem;
    margin: auto;
}
.dark-title {
    font-family: 'Segoe UI', 'Comic Sans MS', cursive, sans-serif;
    font-size: 2.2rem;
    color: #90caf9;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}
.dark-desc {
    color: #b2dfdb;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.dark-input {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 2px solid #263043;
    border-radius: 1rem;
    font-size: 1.1rem;
    background: #23293a;
    color: #f0f6fc;
    margin-bottom: 1.2rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.dark-input:focus {
    outline: none;
    border-color: #42a5f5;
    box-shadow: 0 0 0 2px #42a5f555;
}
.dark-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(90deg, #1976d2 60%, #388e3c 100%);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: background 0.3s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.12);
}
.dark-btn:hover {
    background: linear-gradient(90deg, #388e3c 60%, #1976d2 100%);
    color: #fff;
    box-shadow: 0 4px 16px #1976d255;
}
.google-btn {
    width: 100%;
    padding: 0.9rem;
    background: #fff;
    color: #222;
    border: none;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.10);
    transition: background 0.2s, color 0.2s;
}
.google-btn:hover {
    background: #e3e3e3;
    color: #111;
}

