:root {
    --primary-color: #ffffff;
    --accent-color: #00d4ff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: #000;
    color: var(--primary-color);
    overflow: hidden;
    min-height: 100vh;
    min-height: 100svh; /* Modern small viewport height for mobile browsers */
}

/* Video Background Styles */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100svh;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Content Styles */
.content {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top));
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    text-align: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 32px;
    width: 100%;
    max-width: 550px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: var(--text-shadow);
    line-height: 1.1;
}

p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Buttons */
.cta-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    position: absolute;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    pointer-events: none;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in { animation: fadeIn 1s ease-out; }
.fade-in-delayed { animation: fadeIn 1.5s ease-out; }

/* Desktop Hover Effects */
@media (hover: hover) {
    .btn-primary:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
    }
    .btn-secondary:hover {
        background-color: var(--glass-border);
        transform: translateY(-4px);
    }
}

/* Specific Mobile Optimization */
@media (max-width: 480px) {
    .glass-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .cta-container {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        min-width: unset;
    }
}

