:root {
    --primary-color: #1e40af;
    --secondary-color: #38bdf8;
    --bg-color: #F5F5F5;
    --text-color: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(148, 163, 184, 0.3);
    --accent-glow: rgba(56, 189, 248, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #F5F5F5 100%);
    z-index: -1;
}

.overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3%3C/filter%3%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3%3C/svg%3");
    opacity: 0.05;
    pointer-events: none;
}

.container {
    width: 90%;
    max-width: 900px;
    padding: 40px;
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.2s ease-out;
}

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

.logo-container {
    margin-bottom: 50px;
}

#logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#logo:hover {
    transform: scale(1.05);
}

.school-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(to right, #1e40af, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.status-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(30, 41, 59, 0.7);
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 30px var(--accent-glow);
    border: 1px solid var(--glass-border);
}

#slis-video {
    width: 100%;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    pointer-events: none;
}

.registration-card {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(56, 189, 248, 0.05));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    position: relative;
    transition: all 0.4s ease;
    text-align: center;
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary-color);
}

.cta-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.cta-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(30, 41, 59, 0.7);
    margin-bottom: 30px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.3);
    margin: 0 auto;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(56, 189, 248, 0.5);
    color: white;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

.contact-info {
    margin-top: 20px;
}

.email-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass-bg);
}

.email-link:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

footer {
    margin-top: 40px;
    font-size: 0.8rem;
    color: rgba(30, 41, 59, 0.4);
}

@media (max-width: 600px) {
    .container {
        padding: 25px;
    }
    .school-name {
        font-size: 1.8rem;
    }
    .status-text {
        font-size: 1rem;
    }
}

.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.start-btn {
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 30px var(--accent-glow);
    transition: all 0.3s ease;
}

.welcome-container {
    text-align: center;
    cursor: pointer;
}

.welcome-text {
    font-size: 5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    letter-spacing: 10px;
    margin-bottom: 20px;
    animation: pulseWelcome 2s infinite ease-in-out;
}

.click-hint {
    font-size: 1.2rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
    opacity: 0.8;
}

@keyframes pulseWelcome {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

.start-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}
