/* ============================================
   VAVO Puzzles Coming Soon - Premium Landing Page
   ============================================ */

:root {
    /* Teal/Turquoise Palette (from brand) */
    --color-teal-light: #5BBFBA;
    --color-teal: #3BA99F;
    --color-teal-dark: #2A847C;
    --color-teal-deep: #1D6B65;

    /* Navy/Slate Tones */
    --color-navy: #3D4F5F;
    --color-navy-dark: #2A3844;
    --color-slate: #4A5D6D;

    /* Neutral */
    --color-white: #FAFAFA;
    --color-off-white: #F0F5F4;
    --color-light-grey: #E8EFEE;

    /* Accent */
    --color-accent: #4DB6AC;

    /* Typography */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-family);
    background: linear-gradient(145deg, #5BBFBA 0%, #3BA99F 40%, #2A847C 100%);
    color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Canvas Background */
#puzzle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    pointer-events: none;
}

.content {
    text-align: center;
    pointer-events: auto;
}

/* Holographic Logo */
.logo-interactive {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 15;
}

.logo-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: relative;
    transition: transform 0.1s ease-out;
    will-change: transform;
    transform-style: preserve-3d;
    overflow: visible;
    background: transparent;
}

.shape svg {
    display: block;
    position: relative;
    z-index: 1;
}

.shape-svg {
    /* Neon letters - no fill, stroke-based */
    filter: drop-shadow(0 4px 20px rgba(0, 255, 255, 0.4));
}

/* Neon letter animation */
.neon-letter {
    animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.6)) drop-shadow(0 0 20px rgba(0, 255, 255, 0.4)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.2));
    }

    50% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8)) drop-shadow(0 0 30px rgba(0, 255, 255, 0.6)) drop-shadow(0 0 60px rgba(0, 255, 255, 0.3));
    }
}

/* Holographic rainbow layer - hidden for neon letters */
.holographic-layer {
    display: none;
    /* Disable for neon tube style */
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    mix-blend-mode: color;
    opacity: 0.8;
    transition: opacity 0.1s ease-out;
    z-index: 2;
}

/* Specular highlight layer - hidden for neon letters */
.specular-layer {
    display: none;
    /* Disable for neon tube style */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 3;
}

/* Neon letters don't need the dark background overlay */

/* Shape sizes - matching reference proportions */
.shape-1 {
    width: 110px;
    height: 110px;
}

.shape-2 {
    width: 110px;
    height: 110px;
}

.shape-3 {
    width: 110px;
    height: 110px;
}

.shape-4 {
    width: 110px;
    height: 110px;
}

/* Hover effects - enhanced holographic glow */
.shape:hover .shape-svg {
    filter: drop-shadow(0 6px 25px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
}

.shape:hover .holographic-layer {
    opacity: 1;
}

/* PUZZLES text - white with holographic shadows */
.logo-text {
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: #ffffff;
    display: inline-block;
    white-space: nowrap;
    transition: transform 0.1s ease-out, text-shadow 0.1s ease-out;
    will-change: transform, text-shadow;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
}

/* Subtle ambient animation */
@keyframes subtleFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Floating physics handles animation now */

/* Headline */
.headline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s var(--transition-smooth) 0.4s both;
}

/* Subheadline */
.subheadline {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.02em;
    line-height: 1.8;
    max-width: 480px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 1s var(--transition-smooth) 0.6s both;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    text-align: right;
    pointer-events: auto;
    animation: fadeIn 1s var(--transition-smooth) 1s both;
}

.footer p {
    font-size: 0.6875rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.01em;
    line-height: 1.6;
    margin: 0;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

.footer a:hover {
    color: var(--color-white);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {

    .shape-1,
    .shape-2,
    .shape-3 {
        width: 70px;
        height: 70px;
    }

    .shape-4 {
        width: 60px;
        height: 60px;
    }

    .shape-2,
    .shape-3 {
        margin-left: -14px;
    }

    .shape-4 {
        margin-left: 5px;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 0.35em;
    }

    .footer {
        padding: 1rem 1.25rem;
    }

    .footer p {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 0 1rem;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        width: 55px;
        height: 55px;
    }

    .shape-4 {
        width: 48px;
        height: 48px;
    }

    .shape-2,
    .shape-3 {
        margin-left: -11px;
    }

    .shape-4 {
        margin-left: 4px;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.3em;
    }

    .subheadline br {
        display: none;
    }
}

/* Control Buttons - Bottom Left */
.controls {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: fadeIn 1s var(--transition-smooth) 1.2s both;
}

.control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.control-btn.active {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-icon {
    font-size: 1rem;
}

.btn-text {
    white-space: nowrap;
    min-width: 100px;
}

/* Slider Control */
.slider-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: var(--color-white);
    font-family: var(--font-family);
    font-size: 0.8rem;
}

.slider-icon {
    font-size: 1rem;
}

.slider-value {
    min-width: 30px;
    text-align: right;
    font-weight: 500;
}

#force-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

#force-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--color-white);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

#force-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

#force-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
    .controls {
        bottom: 1rem;
        left: 1rem;
        gap: 0.5rem;
    }

    .control-btn {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }

    .btn-icon {
        font-size: 0.9rem;
    }

    .btn-text {
        min-width: 80px;
    }

    .slider-control {
        padding: 0.5rem 0.75rem;
    }

    #force-slider {
        width: 60px;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {

    /* Hide sliders on mobile - too complex */
    .slider-control {
        display: none;
    }

    /* Simplify controls */
    .controls {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        max-width: 90vw;
    }

    .control-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.65rem;
    }

    .btn-text {
        min-width: auto;
    }

    /* Disable heavy SVG filters on mobile */
    .neon-letter {
        animation: none !important;
    }

    .shape-svg {
        filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.5)) !important;
    }

    /* Simpler logo positioning */
    .shape {
        transition: none;
    }

    /* Smaller logo on mobile */
    .shape-1,
    .shape-2,
    .shape-3,
    .shape-4 {
        width: 70px !important;
        height: 70px !important;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    /* Footer smaller */
    .footer {
        font-size: 0.5rem;
        padding: 0.75rem;
    }

    .footer p {
        font-size: 0.5rem;
    }
}