:root {
    --primary-color: #007AFF;
    --secondary-color: #ffffff;
    --bg-dark: #000000;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-family: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    font-family: var(--font-family);
    color: var(--secondary-color);
}

/* Mobile Only Setup */
#mobile-only-warning {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

@media (min-width: 768px) {
    #mobile-only-warning {
        display: flex;
    }

    .app-container {
        display: none;
    }
}

.app-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #000;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* Prevents user from interacting with video (pause/seek) */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: opacity 0.5s ease, visibility 0.5s;
    z-index: 10;
    padding: 20px;
}

.info-card i {
    filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.3));
}

.info-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    opacity: 1;
}

.info-card small {
    display: block;
    color: #94a3b8;
    margin-bottom: 5px;
    font-size: 13px;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 20px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    transform: translateY(20px);
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 600;
}

p {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

button {
    font-family: inherit;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s active, opacity 0.2s;
    border: none;
}

button:active {
    transform: scale(0.96);
}

.primary-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.3);
}

.secondary-btn {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
}

.glass-btn {
    background: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 122, 255, 0.5);
    color: white;
    border: none;
    padding: 22px 45px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Hide native controls */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}