/*
Theme Name: SSSFF Video Landing
Theme URI: https://sssff.es
Author: Palm N Pixel
Author URI: https://palmnpixel.es
Description: A minimal fullscreen video landing page theme for Sun Sand Sea Fun & Fitness. Features a blurred looping background video, centered logo hover reveal, right-click protection, and click-through navigation to the About page.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sssff-video-landing
*/

:root {
    --sssff-logo-width-desktop: clamp(220px, 30vw, 620px);
    --sssff-logo-width-mobile: clamp(180px, 55vw, 420px);
    --sssff-video-blur-desktop: 18px;
    --sssff-video-blur-mobile: 14px;
    --sssff-video-scale-desktop: 1.15;
    --sssff-video-scale-mobile: 1.18;
    --sssff-overlay: rgba(0, 0, 0, 0.12);
    --sssff-transition: 0.8s ease;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #000;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

* {
    box-sizing: border-box;
}

.sssff-landing {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #000;
}

.sssff-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(var(--sssff-video-scale-desktop));
    filter: blur(var(--sssff-video-blur-desktop));
    transition: transform var(--sssff-transition), filter var(--sssff-transition);
    z-index: 1;
    pointer-events: none;
}

.sssff-video.is-clear {
    transform: scale(1);
    filter: blur(0px);
}

.sssff-fallback {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: rgba(255, 255, 255, 0.75);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    background: radial-gradient(circle at center, #222 0%, #000 70%);
}

.sssff-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--sssff-overlay);
    pointer-events: none;
}

.sssff-logo-link {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--sssff-logo-width-desktop);
    transform: translate(-50%, -50%);
    z-index: 5;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.sssff-logo {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: auto;
    -webkit-user-drag: none;
    user-drag: none;
}

.sssff-logo-placeholder {
    width: 100%;
    aspect-ratio: 578 / 416;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.8);
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(18px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .sssff-logo-link {
        width: var(--sssff-logo-width-mobile);
    }

    .sssff-video {
        transform: scale(var(--sssff-video-scale-mobile));
        filter: blur(var(--sssff-video-blur-mobile));
    }

    .sssff-video.is-clear {
        transform: scale(1);
        filter: blur(0px);
    }
}
