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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
    /* Prevent pull-to-refresh on mobile */
    overscroll-behavior-y: none;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevent video controls from appearing on tap */
}

/* Fallback Play Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.overlay-text {
    color: white;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    text-align: center;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: white;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

.play-btn svg {
    margin-left: 4px; /* Optical alignment for play triangle */
}