/* amamya.bar — midnight liquid lounge
   blobitecture · z-pattern · eclectic-hybrid · dark-neon · skeleton-loading · glassmorphic-cards · bubble-playful · friendly */

:root {
    --velvet-midnight: #0d0a1f;
    --underglow-indigo: #1a1233;
    --lychee-neon: #ff5cb8;
    --bubble-cyan: #5cf6ff;
    --lilac-haze: #c9a4ff;
    --honey-lamp: #ffeaa3;
    --pearl-foam: #f4ecff;

    --neon: var(--lychee-neon);
    --neon-faint: rgba(255, 92, 184, 0.45);
    --cyan-faint: rgba(92, 246, 255, 0.4);
}

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

html, body {
    background: var(--velvet-midnight);
    color: var(--pearl-foam);
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
}

body {
    position: relative;
    background:
        radial-gradient(ellipse at 25% 30%, rgba(255, 92, 184, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 70%, rgba(92, 246, 255, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 100%, rgba(201, 164, 255, 0.10) 0%, transparent 60%),
        var(--velvet-midnight);
}

.defs { position: absolute; width: 0; height: 0; pointer-events: none; }

/* ---------- ambient + lighting ---------- */
.ambient-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    mix-blend-mode: screen;
}

.lighting-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: 0.6;
}
.lighting-lychee {
    background: radial-gradient(circle at 18% 22%, rgba(255, 92, 184, 0.55), transparent 50%);
    animation: drift-lychee 22s ease-in-out infinite alternate;
}
.lighting-cyan {
    background: radial-gradient(circle at 82% 78%, rgba(92, 246, 255, 0.5), transparent 52%);
    animation: drift-cyan 26s ease-in-out infinite alternate;
}

@keyframes drift-lychee {
    0%   { background-position: 18% 22%; }
    100% { background-position: 28% 32%; }
}
@keyframes drift-cyan {
    0%   { background-position: 82% 78%; }
    100% { background-position: 72% 68%; }
}

/* ---------- z-path overlay ---------- */
.z-path {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.55;
}
.z-path path {
    stroke-dasharray: 2 4;
    stroke-dashoffset: 0;
    animation: trace-z 12s linear infinite;
}
@keyframes trace-z {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -120; }
}

/* ---------- bubble cursor ---------- */
.cursor-bubble {
    position: fixed;
    top: 0; left: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 32%, rgba(255,234,163,0.95), rgba(255,92,184,0.6) 60%, rgba(255,92,184,0.0) 80%);
    backdrop-filter: blur(4px);
    box-shadow: 0 0 28px rgba(255, 234, 163, 0.7), 0 0 56px rgba(255, 92, 184, 0.45);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.2s, height 0.2s;
    will-change: transform;
}
.cursor-bubble.is-hover { width: 44px; height: 44px; }
.cursor-trail { position: fixed; inset: 0; pointer-events: none; z-index: 9998; mix-blend-mode: screen; }
.cursor-trail span {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,234,163,0.6), rgba(92,246,255,0.0) 70%);
    transform: translate(-50%, -50%);
    will-change: transform, opacity;
}

/* ---------- liquid stage ---------- */
.liquid-stage {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

.section {
    position: relative;
    min-height: 88vh;
    padding: 6vh 7vw;
    overflow: visible;
}

.section-head {
    position: relative;
    z-index: 4;
    max-width: 540px;
    margin-bottom: 3rem;
}
.section-head--right {
    margin-left: auto;
    text-align: right;
}

.h-display {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--pearl-foam);
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
    filter: drop-shadow(0 0 18px rgba(255, 92, 184, 0.45));
    margin-bottom: 0.5rem;
}

.brush, .brush-sub {
    font-family: "Caveat Brush", cursive;
    font-weight: 400;
    color: var(--honey-lamp);
    font-size: 1.6rem;
    line-height: 1.3;
}
.brush-sub { font-size: 1.25rem; color: var(--lilac-haze); }
.mono, .wm-mono { font-family: "JetBrains Mono", monospace; font-weight: 500; font-size: 0.875rem; }

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    padding-top: 8vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    align-items: center;
}

.hero-blob {
    position: absolute;
    top: -6vh;
    left: -6vw;
    width: 70vw;
    max-width: 980px;
    height: auto;
    z-index: 3;
    filter: drop-shadow(0 0 60px var(--neon-faint)) drop-shadow(0 0 100px var(--cyan-faint));
    animation: blob-rotate 28s ease-in-out infinite;
}
@keyframes blob-rotate {
    0%, 100% { transform: rotate(-2deg) scale(1); }
    50%      { transform: rotate(2deg) scale(1.02); }
}

.hero-wordmark {
    position: relative;
    z-index: 5;
    grid-column: 1;
    grid-row: 1;
    padding-left: 4vw;
    padding-top: 6vh;
}

.wm-display {
    font-family: "Fraunces", serif;
    font-weight: 900;
    font-size: clamp(4rem, 12vw, 11rem);
    line-height: 0.95;
    color: var(--pearl-foam);
    letter-spacing: -0.04em;
    font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
    filter: drop-shadow(0 0 36px rgba(255, 92, 184, 0.6));
    display: inline-block;
    animation: wonk-breathe 6s ease-in-out infinite;
}
@keyframes wonk-breathe {
    0%, 100% { font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
    50%      { font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 144; }
}

.wm-mono {
    font-family: "JetBrains Mono", monospace;
    font-size: clamp(1.6rem, 4vw, 3.2rem);
    color: var(--bubble-cyan);
    font-weight: 500;
    margin-left: 0.4rem;
    text-shadow: 0 0 18px rgba(92, 246, 255, 0.7);
    vertical-align: 0.4em;
}

.wm-tag {
    font-family: "Caveat Brush", cursive;
    color: var(--honey-lamp);
    font-size: clamp(1.3rem, 1.8vw, 1.8rem);
    margin-top: 1.5rem;
    max-width: 30ch;
    transform: rotate(-2deg);
}

.neon-drink {
    position: relative;
    z-index: 5;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    width: clamp(160px, 26vw, 320px);
    transform: rotate(11deg) translateY(-6vh);
    animation: drink-tilt 9s ease-in-out infinite alternate;
    cursor: none;
}
.neon-drink svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(92, 246, 255, 0.7)) drop-shadow(0 0 60px rgba(255, 92, 184, 0.4));
}
.drink-label {
    display: block;
    font-family: "Caveat Brush", cursive;
    color: var(--honey-lamp);
    font-size: 1.4rem;
    margin-top: -1rem;
    text-align: center;
    transform: rotate(-9deg);
}
.drink-label em {
    color: var(--lychee-neon);
    font-style: normal;
}
@keyframes drink-tilt {
    from { transform: rotate(9deg) translateY(-5vh); }
    to   { transform: rotate(13deg) translateY(-7vh); }
}

/* ---------- BUBBLE DIVIDERS ---------- */
.bubble-divider {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem;
    align-items: center;
}
.bubble-divider span {
    display: block;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,234,163,0.5), rgba(92,246,255,0.2) 70%, transparent);
    box-shadow: 0 0 12px rgba(201,164,255,0.4);
}
.bubble-divider span:nth-child(1) { width: 8px; height: 8px; }
.bubble-divider span:nth-child(2) { width: 14px; height: 14px; }
.bubble-divider span:nth-child(3) { width: 22px; height: 22px; }
.bubble-divider span:nth-child(4) { width: 12px; height: 12px; }
.bubble-divider span:nth-child(5) { width: 18px; height: 18px; }

/* ---------- VIBE CARDS (glassmorphic, irregular tilts) ---------- */
.vibes {
    min-height: 130vh;
}
.vibes-field {
    position: relative;
    width: 100%;
    height: 86vh;
    min-height: 720px;
}

.vibe-card {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: clamp(260px, 28vw, 360px);
    padding: 2rem 1.8rem 1.8rem;
    border-radius: 47% 53% 38% 62% / 51% 33% 67% 49%;
    background: linear-gradient(135deg, rgba(255, 92, 184, 0.08), rgba(92, 246, 255, 0.06));
    backdrop-filter: blur(24px) saturate(1.4) brightness(1.05);
    -webkit-backdrop-filter: blur(24px) saturate(1.4) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.32),
        0 18px 50px rgba(13, 10, 31, 0.6),
        0 0 60px rgba(255, 92, 184, 0.18);
    transform: rotate(calc(var(--tilt, 0) * 1deg));
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
    overflow: hidden;
}
.vibe-card[data-tilt="-3"] { --tilt: -3; }
.vibe-card[data-tilt="2"]  { --tilt: 2; }
.vibe-card[data-tilt="-2"] { --tilt: -2; }
.vibe-card[data-tilt="4"]  { --tilt: 4; }
.vibe-card[data-tilt="-4"] { --tilt: -4; }

.vibe-card::after {
    content: "";
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at var(--gx, 40%) var(--gy, 30%), rgba(255, 92, 184, 0.22), transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s;
    opacity: 0.7;
    z-index: 0;
}

.vibe-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(92, 246, 255, 0.15), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.vibe-card h3 {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 1.7rem;
    color: var(--pearl-foam);
    margin-bottom: 0.4rem;
    position: relative; z-index: 1;
}
.vibe-card .brush-sub {
    margin-bottom: 0.8rem;
    position: relative; z-index: 1;
}
.vibe-card p {
    color: rgba(244, 236, 255, 0.84);
    margin-bottom: 1.2rem;
    position: relative; z-index: 1;
}
.vibe-card .ingredient {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    color: var(--bubble-cyan);
    letter-spacing: 0.02em;
    position: relative; z-index: 1;
    border-top: 1px solid rgba(92, 246, 255, 0.2);
    padding-top: 0.8rem;
}

/* ---------- BUBBLE BATH FIELD ---------- */
.bubble-bath {
    min-height: 95vh;
    position: relative;
}
.bubble-field {
    position: relative;
    height: 70vh;
    min-height: 520px;
    width: 100%;
    overflow: hidden;
    border-radius: 60% 40% 55% 45% / 38% 60% 40% 62%;
    background: linear-gradient(180deg, rgba(26, 18, 51, 0.4), rgba(13, 10, 31, 0.7));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(201, 164, 255, 0.15);
}

.bubble {
    position: absolute;
    bottom: -80px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(244, 236, 255, 0.85),
        rgba(92, 246, 255, 0.35) 50%,
        rgba(92, 246, 255, 0.05) 70%,
        transparent);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 0 20px rgba(92, 246, 255, 0.25);
    cursor: none;
    will-change: transform, opacity;
    pointer-events: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
    color: var(--pearl-foam);
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    line-height: 1.2;
    text-shadow: 0 0 6px rgba(13, 10, 31, 0.8);
    transition: transform 0.2s;
    animation: float-up var(--dur, 14s) linear infinite;
    animation-delay: var(--delay, 0s);
}
.bubble.brush-text { font-family: "Caveat Brush", cursive; font-size: 1rem; color: var(--honey-lamp); }
.bubble:hover { transform: translateY(var(--ty, 0)) scale(1.1); }
.bubble.popping {
    animation: pop 0.6s ease-out forwards;
}
.bubble-fragment {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 234, 163, 0.9), rgba(255, 92, 184, 0.0) 70%);
    pointer-events: none;
    will-change: transform, opacity;
}
@keyframes float-up {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    8%   { opacity: 1; }
    50%  { transform: translateY(-50vh) translateX(20px); opacity: 1; }
    100% { transform: translateY(-110vh) translateX(-10px); opacity: 0; }
}
@keyframes pop {
    0%   { transform: scale(1); opacity: 1; }
    40%  { transform: scale(1.4); opacity: 0.6; }
    100% { transform: scale(0.1); opacity: 0; }
}

/* ---------- RESERVE / SKELETON ---------- */
.reserve {
    min-height: 110vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8vw;
}
.reserve-blob {
    position: absolute;
    right: -8vw;
    bottom: 4vh;
    width: 72vw;
    max-width: 920px;
    z-index: 3;
    filter: drop-shadow(0 0 60px rgba(255, 234, 163, 0.4)) drop-shadow(0 0 100px rgba(255, 92, 184, 0.3));
    pointer-events: none;
}
.reserve-blob svg { width: 100%; height: auto; }

.reserve-card {
    position: relative;
    z-index: 5;
    width: clamp(320px, 44vw, 560px);
    padding: 3rem 2.4rem;
    border-radius: 47% 53% 38% 62% / 51% 33% 67% 49%;
    background: linear-gradient(135deg, rgba(255, 92, 184, 0.10), rgba(92, 246, 255, 0.08));
    backdrop-filter: blur(28px) saturate(1.4) brightness(1.08);
    -webkit-backdrop-filter: blur(28px) saturate(1.4) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.34),
        0 24px 80px rgba(13, 10, 31, 0.7),
        0 0 80px rgba(201, 164, 255, 0.18);
}

.reserve-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 1.6rem;
}

.field {
    position: relative;
    display: block;
    padding: 0.4rem 0.2rem;
}
.field > span:first-child {
    display: block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    color: var(--bubble-cyan);
    margin-bottom: 0.4rem;
    letter-spacing: 0.04em;
}
.field input,
.field select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(201, 164, 255, 0.25);
    border-radius: 38px 32px 36px 30px;
    background: rgba(26, 18, 51, 0.55);
    color: var(--pearl-foam);
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
    appearance: none;
    cursor: none;
}
.field input::placeholder { color: rgba(244, 236, 255, 0.4); }
.field select { color: var(--pearl-foam); }
.field select option { background: var(--velvet-midnight); color: var(--pearl-foam); }

.field input:focus,
.field select:focus {
    border-color: var(--lychee-neon);
    background: rgba(26, 18, 51, 0.85);
    box-shadow: 0 0 24px rgba(255, 92, 184, 0.3);
}

.field .shimmer {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 50%;
    pointer-events: none;
    border-radius: 38px 32px 36px 30px;
    background: linear-gradient(90deg, transparent 0%, rgba(201, 164, 255, 0.18) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: shimmer 2.4s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.4s;
}
.field.skeleton .shimmer { opacity: 1; }
.field.skeleton input,
.field.skeleton select {
    color: rgba(244, 236, 255, 0.45);
}
.field:focus-within .shimmer { opacity: 0; }

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.cta-blob {
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 1rem;
    cursor: none;
    width: 100%;
    max-width: 240px;
    align-self: flex-end;
}
.cta-blob svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(255, 92, 184, 0.6)) drop-shadow(0 0 48px rgba(255, 92, 184, 0.35));
    transition: filter 0.3s, transform 0.3s;
}
.cta-blob span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--velvet-midnight);
    font-family: "Fraunces", serif;
    font-weight: 900;
    font-variation-settings: "SOFT" 100, "WONK" 1;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    pointer-events: none;
}
.cta-blob:hover svg {
    filter: drop-shadow(0 0 36px rgba(255, 234, 163, 0.8)) drop-shadow(0 0 72px rgba(255, 92, 184, 0.6));
    transform: scale(1.04);
}
.cta-blob.is-pulsing svg {
    animation: cta-pulse 2.6s ease-in-out infinite;
}
@keyframes cta-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

.reserve-status {
    margin-top: 1.4rem;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    color: var(--lilac-haze);
    letter-spacing: 0.04em;
    text-align: right;
    opacity: 0.8;
}

/* ---------- FOOTER ---------- */
.foot {
    position: relative;
    padding: 12vh 7vw 6vh;
    margin-top: 4vh;
}
.foot-blob {
    position: absolute;
    inset: 0 0 0 0;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 -10px 40px rgba(255, 92, 184, 0.2));
}
.foot-blob svg { width: 100%; height: 100%; }
.foot-content {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.foot-mark {
    font-family: "Fraunces", serif;
    font-weight: 900;
    font-size: 2rem;
    color: var(--pearl-foam);
    font-variation-settings: "SOFT" 100, "WONK" 1;
}
.foot-mark .wm-mono { color: var(--bubble-cyan); font-size: 1.1rem; }
.foot-meta {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    color: var(--lilac-haze);
}
.foot .brush {
    color: var(--honey-lamp);
    font-size: 1.4rem;
    transform: rotate(-2deg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
    .hero {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        padding-top: 12vh;
    }
    .hero-wordmark { padding-left: 2vw; }
    .neon-drink { grid-column: 1; grid-row: 2; justify-self: center; transform: rotate(8deg); margin-top: 2rem; }
    .vibes-field { height: auto; min-height: 0; }
    .vibe-card { position: relative; left: auto; top: auto; margin: 1.4rem auto; }
    .reserve { padding-right: 4vw; justify-content: center; }
    .reserve-blob { width: 110vw; right: -20vw; }
    html, body { cursor: auto; }
    .cursor-bubble, .cursor-trail { display: none; }
    *, *::before, *::after { cursor: auto !important; }
    .bubble, .neon-drink, .cta-blob, .field input, .field select { cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
    .hero-blob, .reserve-blob { animation: none; }
}
