/* ============================================
   Under The Sea — Photo Booth
   style.css  |  shared across all pages
   ============================================ */

/* Google Fonts imported in each HTML head */

:root {
    --bg:      #D9F1FF;
    --surface: #BEE3FF;
    --accent:  #7BC3FF;
    --deep:    #5BA8E5;
    --sand:    #F5E6C8;
    --sand2:   #EDD9A3;
    --text:    #3A7CA5;
    --white:   #FFFFFF;

    --top-bar-1: #a8d8f0;
    --top-bar-2: #7ec8e3;
}

/* ── RESET ────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(180deg, #c8eaff 0%, #7ec8e3 60%, #5bb3d0 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ── OCEAN BACKGROUND LAYERS ──────────────── */
.ocean-bg {
    position: fixed; inset: 0;
    background: linear-gradient(180deg,
    #c8eaff 0%, #a8d8f0 30%, #7ec8e3 60%, #5bb3d0 100%);
    z-index: 0;
}

.light-rays {
    position: fixed; top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 200%; height: 60%;
    background: repeating-conic-gradient(
            from 0deg at 50% 0%,
            rgba(255,255,255,.06) 0deg 3deg,
            transparent 3deg 8deg
    );
    z-index: 0; pointer-events: none;
    animation: rayShimmer 8s ease-in-out infinite;
}

.sand-floor {
    position: fixed; bottom: 0; left: 0; right: 0; height: 100px;
    background: linear-gradient(180deg, var(--sand2) 0%, var(--sand) 100%);
    border-radius: 60% 60% 0 0 / 30px 30px 0 0;
    z-index: 1; pointer-events: none;
}

/* ── BUBBLES ──────────────────────────────── */
.bubble {
    position: fixed; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
    rgba(255,255,255,.9), rgba(255,255,255,.2));
    border: 2px solid rgba(255,255,255,.6);
    animation: floatBubble linear infinite;
    z-index: 2; pointer-events: none;
}

/* ── FLOATING STICKERS (landing decorations) */
.float-sticker {
    position: fixed; z-index: 2; pointer-events: none;
    animation: floatBob ease-in-out infinite;
}
.sway {
    animation: sway ease-in-out infinite !important;
}
.side-sticker {
    position: fixed; z-index: 2; pointer-events: none;
    animation: floatBob ease-in-out infinite;
}

/* ── NAV ──────────────────────────────────── */
nav {
    position: relative; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px;
}
.nav-logo {
    font-family: 'Baloo 2', cursive; font-weight: 800; font-size: 1.4rem;
    color: white; text-decoration: none;
    text-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.nav-back {
    font-family: 'Nunito', sans-serif; font-size: .9rem;
    color: rgba(255,255,255,.85); text-decoration: none;
    background: rgba(255,255,255,.2);
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 50px; padding: 8px 18px;
    transition: all .2s;
}
.nav-back:hover { background: rgba(255,255,255,.35); transform: translateY(-2px); }

/* ── BUTTONS ──────────────────────────────── */
.btn {
    font-family: 'Baloo 2', cursive; font-weight: 700;
    border: none; border-radius: 50px;
    cursor: pointer; transition: all .2s;
    letter-spacing: .5px;
}
.btn-primary {
    background: white; color: var(--text);
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.btn-primary:hover  { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-secondary {
    background: rgba(255,255,255,.2); color: white;
    border: 2px solid rgba(255,255,255,.45);
}
.btn-secondary:hover { background: rgba(255,255,255,.35); transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── GLASS CARD ───────────────────────────── */
.glass-card {
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(59,130,180,.25);
}

/* ── SECTION LABEL ────────────────────────── */
.section-label {
    font-family: 'Baloo 2', cursive; font-weight: 600; font-size: 1rem;
    color: white; letter-spacing: 2px; text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* ── DOWNLOAD FLASH ───────────────────────── */
.dl-flash {
    position: fixed; inset: 0; z-index: 200;
    background: white; opacity: 0; pointer-events: none;
    transition: opacity .1s;
}
.dl-flash.active { opacity: 1; }

/* ── KEYFRAMES ────────────────────────────── */
@keyframes rayShimmer {
    0%, 100% { opacity: .4; }
    50%       { opacity: .8; }
}
@keyframes floatBubble {
    0%   { transform: translateY(0) scale(1);   opacity: .8; }
    100% { transform: translateY(-100vh) scale(.7); opacity: 0; }
}
@keyframes floatBob {
    0%, 100% { transform: translateY(0px)   rotate(0deg); }
    50%       { transform: translateY(-18px) rotate(3deg); }
}
@keyframes sway {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50%       { transform: rotate(8deg)  translateY(-8px); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes countPop {
    0%   { transform: scale(1.8); opacity: 0; }
    40%  { transform: scale(.9);  opacity: 1; }
    100% { transform: scale(1);   opacity: 1; }
}