/* =========================================================
   BASIC PAGE SETUP
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 20px;

    font-family: Arial, Helvetica, sans-serif;

    color: #3f294f;

    background:
        radial-gradient(
            circle at top left,
            #ffd8ed,
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            #d9c7ff,
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #fff4fa,
            #eee7ff
        );

    background-size: 140% 140%;

    animation:
        background-shift 12s ease-in-out infinite alternate;
}

body.intro-active {
    overflow: hidden;
}


/* =========================================================
   MAIN PAGE SHARPENING EFFECT
   ========================================================= */

.page-shell {
    filter: blur(12px);

    transform: scale(1.025);

    transition:
        filter 1.5s ease,
        transform 1.5s ease;
}

body.page-entered .page-shell {
    filter: blur(0);

    transform: scale(1);
}


/* =========================================================
   ENTRANCE OVERLAY
   ========================================================= */

.entrance-overlay {
    position: fixed;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background:
        radial-gradient(
            circle at center,
            rgba(89, 42, 112, 0.42),
            rgba(27, 14, 38, 0.84)
        );

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;

    z-index: 1000;

    animation:
        entrance-overlay-appear 1s ease 0.2s forwards;
}

.entrance-overlay.is-leaving {
    pointer-events: none;

    animation:
        entrance-overlay-leave 1.5s ease forwards;
}

.entrance-content {
    width: 100%;
    max-width: 560px;

    padding: 28px 32px 26px;

    text-align: center;

    color: white;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.19),
            rgba(255, 255, 255, 0.07)
        );

    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 34px;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    opacity: 0;

    transform:
        translateY(22px)
        scale(0.96);

    animation:
        entrance-content-appear 1s ease 0.45s forwards;
}

.entrance-overlay.is-leaving .entrance-content {
    animation:
        entrance-content-leave 1.35s ease forwards;
}

.entrance-eyebrow {
    margin: 4px 0 5px;

    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.16em;

    color: #f2cbea;

    text-transform: uppercase;
}

.entrance-title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 8vw, 66px);
    line-height: 1.05;

    color: white;

    text-shadow:
        0 4px 22px rgba(0, 0, 0, 0.24);
}

.entrance-question {
    max-width: 420px;

    margin: 14px auto 20px;

    font-size: 18px;
    line-height: 1.5;

    color: rgba(255, 255, 255, 0.87);
}

.entrance-note {
    margin: 14px 0 0;

    font-size: 12px;

    color: rgba(255, 255, 255, 0.62);
}


/* =========================================================
   ENTRANCE BUTTONS
   ========================================================= */

.entrance-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.entrance-button {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 76px;
    padding: 13px 16px;

    text-align: left;
    font: inherit;

    color: white;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.18),
            rgba(255, 255, 255, 0.08)
        );

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;

    cursor: pointer;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.entrance-button:hover {
    transform: translateY(-4px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.29),
            rgba(255, 255, 255, 0.12)
        );

    border-color: rgba(255, 255, 255, 0.5);

    box-shadow:
        0 12px 26px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.entrance-button:active {
    transform: translateY(-1px);
}

.music-choice:hover {
    box-shadow:
        0 12px 32px rgba(236, 92, 168, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.choice-icon {
    flex-shrink: 0;

    font-size: 27px;
}

.choice-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.choice-text strong {
    font-size: 15px;
}

.choice-text small {
    font-size: 11px;
    line-height: 1.35;

    color: rgba(255, 255, 255, 0.68);
}


/* =========================================================
   CUSTOM CSS DISCO BALL
   ========================================================= */

.disco-display {
    position: relative;

    height: 175px;

    margin: -28px auto 0;
}

.disco-wire {
    position: absolute;
    top: 0;
    left: 50%;

    width: 2px;
    height: 58px;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.25),
            #f7f2ff
        );

    box-shadow:
        0 0 7px rgba(255, 255, 255, 0.6);

    transform: translateX(-50%);
}

.disco-sway {
    position: absolute;
    top: 52px;
    left: 50%;

    width: 120px;
    height: 120px;

    transform-origin: 50% -52px;

    animation:
        disco-sway 4.5s ease-in-out infinite;
}

.disco-ball {
    position: relative;

    border-radius: 50%;

    overflow: hidden;

    background:
        repeating-linear-gradient(
            90deg,
            transparent 0,
            transparent 12px,
            rgba(35, 20, 52, 0.38) 13px,
            rgba(35, 20, 52, 0.38) 15px
        ),
        repeating-linear-gradient(
            0deg,
            transparent 0,
            transparent 12px,
            rgba(35, 20, 52, 0.34) 13px,
            rgba(35, 20, 52, 0.34) 15px
        ),
        linear-gradient(
            110deg,
            #695274 0%,
            #fffaff 18%,
            #a98cb4 34%,
            #ffffff 48%,
            #795c8a 67%,
            #f7eaff 82%,
            #594463 100%
        );

    box-shadow:
        inset -20px -12px 25px rgba(35, 16, 47, 0.45),
        inset 16px 10px 23px rgba(255, 255, 255, 0.42),
        0 0 25px rgba(255, 255, 255, 0.44),
        0 0 60px rgba(236, 92, 168, 0.38);

    animation:
        disco-rotate 7s linear infinite;
}

.intro-disco-ball {
    width: 120px;
    height: 120px;
}

.disco-ball::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 24%,
            rgba(255, 255, 255, 0.9),
            transparent 16%
        ),
        radial-gradient(
            circle at 70% 68%,
            rgba(231, 131, 209, 0.26),
            transparent 28%
        );

    pointer-events: none;
}

.disco-shine {
    position: absolute;
    top: 12%;
    left: 18%;

    width: 25%;
    height: 42%;

    background:
        linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.9),
            rgba(255, 255, 255, 0)
        );

    border-radius: 50%;

    filter: blur(5px);

    transform: rotate(28deg);

    z-index: 2;
}

.disco-display.celebrating .disco-ball {
    animation:
        disco-fast-spin 0.45s linear infinite;
}

.disco-display.celebrating .disco-sway {
    animation:
        disco-celebration-sway 0.7s ease-in-out infinite;
}


/* =========================================================
   INTRO SPARKLES
   ========================================================= */

.intro-sparkle {
    position: absolute;

    color: #fff7d4;

    text-shadow:
        0 0 12px white,
        0 0 24px #ff95d2;

    pointer-events: none;

    animation:
        intro-sparkle-twinkle 2s ease-in-out infinite;
}

.intro-sparkle-one {
    top: 68px;
    left: 24%;

    font-size: 24px;
}

.intro-sparkle-two {
    top: 104px;
    right: 20%;

    font-size: 25px;

    animation-delay: 0.45s;
}

.intro-sparkle-three {
    top: 145px;
    left: 17%;

    font-size: 18px;

    animation-delay: 0.9s;
}

.intro-sparkle-four {
    top: 38px;
    right: 29%;

    font-size: 17px;

    animation-delay: 1.25s;
}

.disco-display.celebrating .intro-sparkle {
    animation:
        celebration-sparkle 0.55s ease-in-out infinite;
}


/* =========================================================
   MAIN PAGE CARD
   ========================================================= */

.page-card {
    position: relative;

    width: 100%;
    max-width: 820px;

    margin: 0 auto;
    padding: 45px 48px 38px;

    text-align: center;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(148, 91, 184, 0.2);
    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(90, 48, 120, 0.18),
        0 0 40px rgba(236, 92, 168, 0.08);

    overflow: hidden;
}


/* =========================================================
   LARGE HANGING EMOJI DISCO BALLS
   ========================================================= */

.emoji-disco {
    position: absolute;
    top: 18px;

    font-size: 128px;
    line-height: 1;

    transform-origin: top center;

    animation:
        emoji-sway 3s ease-in-out infinite;
}

.disco-left {
    left: 22px;
}

.disco-right {
    right: 22px;

    animation-delay: 0.5s;
}

.emoji-disco::before {
    content: "";

    position: absolute;
    top: -42px;
    left: 50%;

    width: 3px;
    height: 44px;

    background:
        linear-gradient(
            to bottom,
            #a9a9b5,
            #eeeef4
        );

    transform: translateX(-50%);
}


/* =========================================================
   DECORATIVE SPARKLES
   ========================================================= */

.decorative-sparkle {
    position: absolute;

    color: #d94f9d;

    pointer-events: none;

    animation:
        floating-sparkle 4s ease-in-out infinite;
}

.sparkle-one {
    top: 210px;
    left: 38px;

    font-size: 24px;
}

.sparkle-two {
    top: 240px;
    right: 45px;

    font-size: 30px;

    animation-delay: 0.8s;
}

.sparkle-three {
    top: 380px;
    left: 28px;

    font-size: 20px;

    animation-delay: 1.5s;
}


/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
    position: relative;
}


/* Main Delia photo — doubled from 112px */

.profile-picture {
    width: 224px;
    height: 224px;

    margin: 60px auto 8px;

    background: white;

    border: 7px solid white;
    border-radius: 50%;

    box-shadow:
        0 12px 30px rgba(141, 59, 179, 0.25),
        0 0 0 5px rgba(236, 92, 168, 0.14);

    overflow: hidden;
}

.profile-picture img,
.small-profile-picture img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.status-message {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 8px;
    padding: 7px 13px;

    font-size: 13px;
    font-weight: bold;

    color: #684275;
    background: #f7ebfb;

    border: 1px solid #ead4f1;
    border-radius: 999px;
}

.status-dot {
    width: 9px;
    height: 9px;

    background: #49b675;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(73, 182, 117, 0.14);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.status-dot.thinking {
    background: #d95bac;

    box-shadow:
        0 0 0 4px rgba(217, 91, 172, 0.15);

    animation:
        status-pulse 0.8s ease-in-out infinite;
}

.hero-sparkle {
    margin-bottom: 3px;

    font-size: 28px;

    animation:
        twinkle 2s ease-in-out infinite;
}

.hero-section h1 {
    margin: 0;

    font-size: 50px;
    line-height: 1;

    color: #8d3bb3;
}

.tagline {
    max-width: 640px;

    margin: 12px auto 18px;

    font-size: 17px;
    line-height: 1.45;

    color: #6a5575;
}


/* =========================================================
   SUGGESTIONS
   ========================================================= */

.suggestion-section {
    margin-bottom: 14px;
}

.suggestion-title {
    margin: 0 0 9px;

    font-size: 15px;
    font-weight: bold;

    color: #765780;
}

.suggestion-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.suggestion-button {
    width: auto;
    margin: 0;
    padding: 9px 14px;

    font-size: 14px;

    color: #653676;
    background: white;

    border: 1px solid #e5cceb;
    border-radius: 999px;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.suggestion-button:hover {
    color: #7f309e;
    background: #fff3fa;

    border-color: #cf9cda;

    box-shadow:
        0 7px 16px rgba(117, 65, 143, 0.12);

    transform: translateY(-2px);
}


/* =========================================================
   QUESTION AREA
   ========================================================= */

.question-area {
    padding: 20px;

    text-align: left;

    background: #fff7fc;

    border: 1px solid #efd3e7;
    border-radius: 22px;
}

label {
    display: block;

    margin-bottom: 8px;

    font-size: 17px;
    font-weight: bold;

    color: #5a326c;
}

textarea {
    display: block;

    width: 100%;
    min-height: 120px;
    padding: 15px;

    font: inherit;
    font-size: 16px;
    line-height: 1.45;

    color: #3f294f;
    background: white;

    border: 2px solid #dcc2ea;
    border-radius: 16px;

    resize: vertical;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

textarea::placeholder {
    color: #a38baa;
}

textarea:focus {
    outline: none;

    border-color: #a24fc4;

    box-shadow:
        0 0 0 4px rgba(162, 79, 196, 0.12);
}

.question-helper {
    margin: 8px 3px 0;

    font-size: 13px;
    line-height: 1.4;

    color: #927a99;
}


/* =========================================================
   ASK DELIA BUTTON
   ========================================================= */

.ask-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;

    margin-top: 13px;
    padding: 14px 22px;

    font: inherit;
    font-size: 18px;
    font-weight: bold;

    color: white;

    background:
        linear-gradient(
            135deg,
            #ec5ca8,
            #8d3bb3
        );

    border: none;
    border-radius: 999px;

    cursor: pointer;

    box-shadow:
        0 10px 24px rgba(141, 59, 179, 0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease,
        opacity 0.2s ease;
}

.ask-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(141, 59, 179, 0.32);

    filter: brightness(1.06);
}

.ask-button:active {
    transform: translateY(0);
}

.ask-button:disabled {
    opacity: 0.85;

    cursor: wait;
}

.button-sparkle {
    display: inline-block;
}

.button-sparkle.thinking {
    animation:
        sparkle-spin 0.8s linear infinite;
}


/* =========================================================
   ANSWER AREA
   ========================================================= */

.answer-card {
    margin-top: 18px;
    padding: 20px;

    text-align: left;

    background:
        linear-gradient(
            135deg,
            #f8efff,
            #fff5fa
        );

    border: 1px solid #ead8ef;
    border-radius: 22px;
}

.answer-heading {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 12px;
}

.small-profile-picture {
    width: 54px;
    height: 54px;

    flex-shrink: 0;

    background: white;

    border: 3px solid white;
    border-radius: 50%;

    box-shadow:
        0 6px 16px rgba(141, 59, 179, 0.18);

    overflow: hidden;
}

.answer-label {
    margin: 0 0 2px;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.06em;

    color: #96729f;

    text-transform: uppercase;
}

.answer-card h2 {
    margin: 0;

    font-size: 24px;

    color: #8d3bb3;
}


/* =========================================================
   CHAT BUBBLE
   The old pseudo-element was causing the parallelogram.
   It has been replaced with a clean triangular bubble tail.
   ========================================================= */

.chat-bubble {
    position: relative;

    margin-left: 15px;
    padding: 16px 19px;

    background: white;

    border: 1px solid #ead8ef;
    border-radius: 18px;

    box-shadow:
        0 8px 22px rgba(102, 59, 122, 0.08);
}

.chat-bubble::before {
    content: "";

    position: absolute;
    top: 18px;
    left: -11px;

    width: 0;
    height: 0;

    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid #ead8ef;
}

.chat-bubble::after {
    content: "";

    position: absolute;
    top: 19px;
    left: -9px;

    width: 0;
    height: 0;

    border-top: 9px solid transparent;
    border-bottom: 9px solid transparent;
    border-right: 11px solid white;
}

.chat-bubble p {
    position: relative;

    margin: 0;

    line-height: 1.55;

    color: #5e4b68;
}

.chat-bubble p + p {
    margin-top: 10px;
}


/* =========================================================
   MUSIC CONTROL
   ========================================================= */

.music-control {
    position: fixed;
    right: 20px;
    bottom: 20px;

    display: flex;
    align-items: center;
    gap: 8px;

    width: auto;
    padding: 11px 16px;

    font: inherit;
    font-size: 13px;
    font-weight: bold;

    color: white;

    background:
        linear-gradient(
            135deg,
            #ec5ca8,
            #8d3bb3
        );

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;

    cursor: pointer;

    box-shadow:
        0 10px 26px rgba(71, 34, 91, 0.28);

    opacity: 0;

    transform: translateY(15px);

    pointer-events: none;

    z-index: 100;

    transition:
        opacity 0.6s ease,
        transform 0.6s ease,
        filter 0.2s ease;
}

body.page-entered .music-control {
    opacity: 1;

    transform: translateY(0);

    pointer-events: auto;
}

.music-control:hover {
    filter: brightness(1.08);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer-message {
    margin: 18px 0 5px;

    font-size: 14px;

    color: #8f7999;
}

.footer-disclaimer {
    max-width: 580px;

    margin: 0 auto;

    font-size: 11px;
    line-height: 1.4;
    font-weight: bolder;
    color: #aa98b0;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes entrance-overlay-appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes entrance-content-appear {
    from {
        opacity: 0;

        transform:
            translateY(22px)
            scale(0.96);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes entrance-overlay-leave {
    0% {
        opacity: 1;

        backdrop-filter: blur(12px);
    }

    100% {
        opacity: 0;

        backdrop-filter: blur(0);
    }
}

@keyframes entrance-content-leave {
    0% {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

    45% {
        opacity: 1;

        transform:
            translateY(-6px)
            scale(1.02);
    }

    100% {
        opacity: 0;

        transform:
            translateY(-45px)
            scale(0.9);
    }
}

@keyframes disco-rotate {
    from {
        background-position:
            0 0,
            0 0,
            0 0;
    }

    to {
        background-position:
            30px 0,
            0 0,
            100px 0;
    }
}

@keyframes disco-fast-spin {
    from {
        background-position:
            0 0,
            0 0,
            0 0;
    }

    to {
        background-position:
            30px 0,
            0 0,
            100px 0;
    }
}

@keyframes disco-sway {
    0%,
    100% {
        transform:
            translateX(-50%)
            rotate(-3deg);
    }

    50% {
        transform:
            translateX(-50%)
            rotate(3deg);
    }
}

@keyframes disco-celebration-sway {
    0%,
    100% {
        transform:
            translateX(-50%)
            rotate(-6deg)
            scale(1);
    }

    50% {
        transform:
            translateX(-50%)
            rotate(6deg)
            scale(1.06);
    }
}

@keyframes intro-sparkle-twinkle {
    0%,
    100% {
        opacity: 0.25;

        transform:
            scale(0.75)
            rotate(0deg);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.3)
            rotate(25deg);
    }
}

@keyframes celebration-sparkle {
    0%,
    100% {
        opacity: 0.4;

        transform:
            scale(0.8)
            rotate(0deg);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.55)
            rotate(90deg);
    }
}

@keyframes corner-sway {
    0%,
    100% {
        transform:
            translateX(-50%)
            rotate(-2deg);
    }

    50% {
        transform:
            translateX(-50%)
            rotate(2deg);
    }
}

@keyframes corner-sparkle {
    0%,
    70%,
    100% {
        opacity: 0;

        transform:
            scale(0.5)
            rotate(0deg);
    }

    82% {
        opacity: 1;

        transform:
            scale(1.25)
            rotate(35deg);
    }
}

@keyframes emoji-sway {
    0% {
        transform: rotate(-8deg);
    }

    50% {
        transform: rotate(8deg);
    }

    100% {
        transform: rotate(-8deg);
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.45;

        transform: scale(0.9);
    }

    50% {
        opacity: 1;

        transform: scale(1.15);
    }

    100% {
        opacity: 0.45;

        transform: scale(0.9);
    }
}

@keyframes floating-sparkle {
    0% {
        opacity: 0.35;

        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {
        opacity: 1;

        transform:
            translateY(-10px)
            rotate(15deg);
    }

    100% {
        opacity: 0.35;

        transform:
            translateY(0)
            rotate(0deg);
    }
}

@keyframes background-shift {
    0% {
        background-position:
            0% 0%,
            100% 100%,
            0% 50%;
    }

    100% {
        background-position:
            12% 8%,
            88% 92%,
            100% 50%;
    }
}

@keyframes sparkle-spin {
    from {
        transform:
            rotate(0deg)
            scale(1);
    }

    50% {
        transform:
            rotate(180deg)
            scale(1.2);
    }

    to {
        transform:
            rotate(360deg)
            scale(1);
    }
}

@keyframes status-pulse {
    0%,
    100% {
        transform: scale(0.85);

        opacity: 0.55;
    }

    50% {
        transform: scale(1.2);

        opacity: 1;
    }
}


/* =========================================================
   TABLET LAYOUT
   ========================================================= */

@media (max-width: 800px) {
    .emoji-disco {
        font-size: 96px;
    }

    .profile-picture {
        width: 185px;
        height: 185px;

        margin-top: 50px;
    }

    .page-card {
        padding-left: 30px;
        padding-right: 30px;
    }
}


/* =========================================================
   MOBILE LAYOUT
   ========================================================= */

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .entrance-overlay {
        padding: 14px;
    }

    .entrance-content {
        padding: 24px 18px 22px;

        border-radius: 27px;
    }

    .disco-display {
        height: 158px;
    }

    .disco-sway {
        width: 106px;
        height: 106px;
    }

    .intro-disco-ball {
        width: 106px;
        height: 106px;
    }

    .entrance-question {
        margin-top: 12px;

        font-size: 16px;
    }

    .entrance-buttons {
        grid-template-columns: 1fr;
    }

    .entrance-button {
        min-height: 66px;
    }

    .page-card {
        padding: 30px 18px 24px;

        border-radius: 22px;
    }

    .emoji-disco {
        top: 14px;

        font-size: 72px;
    }

    .disco-left {
        left: 8px;
    }

    .disco-right {
        right: 8px;
    }

    .emoji-disco::before {
        top: -30px;

        height: 32px;
    }

    .decorative-sparkle {
        display: none;
    }

    .profile-picture {
        width: 150px;
        height: 150px;

        margin-top: 45px;
    }

    .hero-section h1 {
        font-size: 39px;
    }

    .tagline {
        margin: 10px auto 15px;

        font-size: 15px;
    }

    .suggestion-list {
        align-items: stretch;
        flex-direction: column;
    }

    .suggestion-button {
        width: 100%;
    }

    .question-area {
        padding: 17px;
    }

    textarea {
        min-height: 105px;
    }

    .answer-card {
        padding: 17px;
    }

    .answer-heading {
        align-items: flex-start;
    }

    .chat-bubble {
        margin-left: 8px;
    }


    .music-control {
        right: 12px;
        bottom: 12px;

        padding: 10px 13px;
    }
}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }
}

.play-voice-button {
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 1000;

    padding: 12px 20px;
    border: none;
    border-radius: 999px;

    background: #9333c7;
    color: white;
    font-size: 16px;
    font-weight: 600;

    box-shadow: 0 6px 18px rgba(80, 20, 110, 0.3);
    cursor: pointer;
}

.play-voice-button:active {
    transform: translateX(-50%) scale(0.97);
}

/* =========================================================
   BUY DELIA JO A COFFEE BUTTON
   ========================================================= */

   .coffee-support {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 28px 0 18px;
}

.coffee-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 12px 22px;

    border: 1.5px solid #c86be4;
    border-radius: 999px;

    background: linear-gradient(
        135deg,
        #ffffff,
        #fff7fd
    );

    color: #6d397d;

    font-size: 16px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 4px 14px rgba(126, 56, 153, 0.12);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.coffee-button:hover {
    transform: translateY(-2px);

    border-color: #ef69c6;

    box-shadow:
        0 8px 22px rgba(203, 74, 190, 0.22);
}

.coffee-button:active {
    transform: translateY(0);
}

.coffee-icon-wrap {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
}

.coffee-support-text {
    margin: 10px 0 0;

    font-size: 13px;
    font-style: italic;
    font-weight: 600;
    text-align: center;

    background: linear-gradient(
        110deg,
        #8b6b96 0%,
        #8b6b96 35%,
        #d75cbd 45%,
        #ffffff 50%,
        #d75cbd 55%,
        #8b6b96 65%,
        #8b6b96 100%
    );

    background-size: 250% 100%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;

    animation: text-sparkle 4s ease-in-out infinite;
}

@keyframes text-sparkle {
    0% {
        background-position: 150% center;
    }

    45% {
        background-position: -50% center;
    }

    100% {
        background-position: -50% center;
    }
}

.coffee-cup {
    font-size: 24px;
    line-height: 1;
}

.steam {
    position: absolute;
    bottom: 23px;

    width: 5px;
    height: 14px;

    border-left: 2px solid #9a6cab;
    border-radius: 50%;

    opacity: 0;
    pointer-events: none;
}

.steam-one {
    left: 10px;
    animation: coffee-steam 2.4s ease-in-out infinite;
}

.steam-two {
    left: 18px;
    animation: coffee-steam 2.4s ease-in-out infinite 0.8s;
}

.coffee-button-sparkle {
    display: inline-block;

    transition: transform 0.25s ease;
}

.coffee-button:hover .coffee-button-sparkle {
    transform: scale(1.15) rotate(12deg);
}

@keyframes coffee-steam {
    0% {
        opacity: 0;
        transform:
            translateY(4px)
            translateX(0)
            rotate(-8deg);
    }

    25% {
        opacity: 0.7;
        transform:
            translateY(0)
            translateX(2px)
            rotate(8deg);
    }

    55% {
        opacity: 0.55;
        transform:
            translateY(-5px)
            translateX(-2px)
            rotate(-8deg);
    }

    100% {
        opacity: 0;
        transform:
            translateY(-11px)
            translateX(2px)
            rotate(8deg);
    }
}

/* =========================================================
   FLOATING COFFEE BUTTON
   ========================================================= */

.floating-coffee-button {
    position: fixed;
    right: 22px;
    bottom: 88px;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border: 1.5px solid #c86be4;
    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #ffffff,
        #fff4fc
    );

    font-size: 25px;

    cursor: pointer;

    box-shadow:
        0 6px 20px rgba(126, 56, 153, 0.20);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.floating-coffee-button:hover {
    transform: translateY(-3px) scale(1.04);

    border-color: #ef69c6;

    box-shadow:
        0 10px 26px rgba(203, 74, 190, 0.30);
}


/* Tooltip */

.floating-coffee-tooltip {
    position: absolute;

    right: 64px;

    white-space: nowrap;

    padding: 7px 11px;

    border-radius: 999px;

    background: #ffffff;

    color: #6d397d;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 4px 14px rgba(126, 56, 153, 0.15);

    opacity: 0;

    transform: translateX(6px);

    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.floating-coffee-button:hover
.floating-coffee-tooltip {
    opacity: 1;
    transform: translateX(0);
}


/* Mobile */

@media (max-width: 600px) {

    .floating-coffee-button {
        position: fixed;
        right: 22px;
        bottom: 88px;
    }

    .floating-coffee-tooltip {
        display: none;
    }
}

/* =========================================================
   COFFEE MODAL
   ========================================================= */

.coffee-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(63, 34, 74, 0.28);
    backdrop-filter: blur(5px);
}

.coffee-modal-overlay.is-open {
    display: flex;
}

.coffee-modal {
    position: relative;

    width: min(420px, 100%);

    padding: 30px 26px 24px;

    border: 1px solid #e3c3eb;
    border-radius: 28px;

    background:
        radial-gradient(
            circle at top,
            rgba(238, 208, 247, 0.75),
            #ffffff 60%
        );

    box-shadow:
        0 22px 60px rgba(96, 43, 116, 0.24);

    text-align: center;
}

.coffee-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;

    width: 34px;
    height: 34px;

    border: none;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.7);

    color: #6d397d;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
}

.coffee-modal-icon {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 62px;

    margin-bottom: 8px;
}

.modal-coffee-cup {
    position: relative;
    z-index: 2;

    font-size: 42px;
    line-height: 1;
}


/* Animated steam */

.modal-steam {
    position: absolute;
    z-index: 1;

    bottom: 43px;

    width: 6px;
    height: 18px;

    border-left: 2px solid #9a6cab;
    border-radius: 50%;

    opacity: 0;

    pointer-events: none;

    animation: modal-coffee-steam 2.5s ease-in-out infinite;
}

.modal-steam-one {
    left: 22px;
}

.modal-steam-two {
    left: 31px;
    animation-delay: 0.7s;
}

.modal-steam-three {
    left: 40px;
    animation-delay: 1.4s;
}


@keyframes modal-coffee-steam {

    0% {
        opacity: 0;

        transform:
            translateY(5px)
            translateX(0)
            rotate(-8deg);
    }

    25% {
        opacity: 0.7;

        transform:
            translateY(0)
            translateX(2px)
            rotate(8deg);
    }

    55% {
        opacity: 0.5;

        transform:
            translateY(-7px)
            translateX(-2px)
            rotate(-8deg);
    }

    100% {
        opacity: 0;

        transform:
            translateY(-15px)
            translateX(2px)
            rotate(8deg);
    }
}

.coffee-modal h2 {
    margin: 0;

    color: #5f316f;

    font-size: 26px;
}

.coffee-modal-intro {
    margin: 8px 0 22px;

    color: #80658a;

    font-size: 14px;
}

.coffee-amount-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 12px;
}

.coffee-amount-button {
    position: relative;

    min-height: 92px;

    padding: 16px 12px;

    border: 1.5px solid #dfc3e8;
    border-radius: 18px;

    background: #fffafd;

    color: #643873;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.coffee-amount-button:hover {
    transform: translateY(-2px);

    border-color: #d274dd;

    box-shadow:
        0 7px 18px rgba(126, 56, 153, 0.14);
}

.coffee-amount-button.is-selected {
    border-color: #a53ac3;

    background:
        linear-gradient(
            135deg,
            #fff6fd,
            #f4e4fb
        );

    box-shadow:
        0 0 0 3px rgba(165, 58, 195, 0.10);
}

.coffee-amount-label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 600;
}

.coffee-amount-button strong {
    display: block;

    font-size: 22px;
}

.coffee-popular-badge {
    position: absolute;
    top: -9px;
    left: 50%;

    transform: translateX(-50%);

    padding: 3px 8px;

    border-radius: 999px;

    background: #8d32ae;

    color: white;

    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}

.coffee-modal-continue {
    width: 100%;

    margin-top: 18px;
    padding: 13px 16px;

    border: none;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #e650a8,
            #8d32b7
        );

    color: white;

    font-size: 15px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(141, 50, 183, 0.22);
}

.coffee-modal-continue:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.coffee-modal-secure {
    margin: 12px 0 0;

    color: #92759a;

    font-size: 11px;
}

@media (max-width: 600px) {

    .coffee-modal {
        padding:
            28px 18px
            22px;
    }

    .coffee-amount-grid {
        grid-template-columns: 1fr;
    }
}

body.coffee-modal-open {
    overflow: hidden;
}

.coffee-modal-overlay[hidden] {
    display: none;
}

.coffee-modal {
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.coffee-button:focus-visible,
.floating-coffee-button:focus-visible,
.coffee-modal-close:focus-visible,
.coffee-amount-button:focus-visible,
.coffee-modal-continue:focus-visible,
.thank-you-home-button:focus-visible,
.coffee-supporter-details summary:focus-visible {
    outline: 3px solid rgba(141, 50, 183, 0.35);
    outline-offset: 3px;
}

.coffee-custom-amount {
    margin-top: 14px;
    padding: 15px;
    border: 1px solid #ead6f0;
    border-radius: 18px;
    background: rgba(255, 250, 253, 0.9);
    text-align: left;
}

.coffee-custom-amount.is-visible {
    animation: coffee-custom-reveal 0.25s ease both;
}

.coffee-custom-amount label,
.coffee-supporter-fields label {
    margin-bottom: 7px;
    font-size: 13px;
}

.coffee-custom-input-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 2px solid #dcc2ea;
    border-radius: 14px;
    background: white;
    color: #7f3f91;
    font-size: 20px;
    font-weight: 800;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.coffee-custom-input-wrap:focus-within {
    border-color: #a24fc4;
    box-shadow: 0 0 0 4px rgba(162, 79, 196, 0.12);
}

.coffee-custom-input-wrap input {
    min-width: 0;
    width: 100%;
    padding: 12px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #4d3158;
    font: inherit;
    font-size: 18px;
    font-weight: 700;
}

.coffee-custom-amount p {
    margin: 8px 2px 0;
    color: #92759a;
    font-size: 11px;
}

.coffee-supporter-details {
    margin-top: 13px;
    border: 1px solid #ead6f0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    text-align: left;
}

.coffee-supporter-details summary {
    padding: 12px 14px;
    color: #754482;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.coffee-supporter-fields {
    padding: 2px 14px 14px;
}

.coffee-supporter-fields input,
.coffee-supporter-message {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #dcc2ea;
    border-radius: 12px;
    outline: none;
    background: white;
    color: #4d3158;
    font: inherit;
    font-size: 13px;
}

.coffee-supporter-fields input:focus,
.coffee-supporter-message:focus {
    border-color: #a24fc4;
    box-shadow: 0 0 0 3px rgba(162, 79, 196, 0.1);
}

.coffee-supporter-fields label:not(:first-child) {
    margin-top: 12px;
}

.coffee-supporter-message {
    min-height: 68px;
    resize: vertical;
}

.coffee-character-count {
    margin: 5px 2px 0;
    color: #9b86a1;
    font-size: 10px;
    text-align: right;
}

.coffee-modal-error {
    min-height: 18px;
    margin: 10px 4px -5px;
    color: #a52d5f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.coffee-modal-overlay.is-loading .coffee-modal-close,
.coffee-modal-overlay.is-loading .coffee-amount-button,
.coffee-modal-overlay.is-loading .coffee-supporter-details {
    pointer-events: none;
    opacity: 0.65;
}

@keyframes coffee-custom-reveal {
    from {
        opacity: 0;
        transform: translateY(-7px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   VERIFIED COFFEE THANK-YOU PAGE
   ========================================================= */

.coffee-thank-you-page {
    display: grid;
    min-height: 100vh;
    padding: 24px;
    place-items: center;
}

.coffee-thank-you-shell {
    width: min(680px, 100%);
}

.coffee-thank-you-card {
    position: relative;
    overflow: hidden;
    padding: 50px 48px 42px;
    border: 1px solid rgba(174, 103, 197, 0.3);
    border-radius: 34px;
    background:
        radial-gradient(circle at top, rgba(246, 211, 241, 0.72), transparent 48%),
        rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(95, 48, 119, 0.2);
    text-align: center;
}

.coffee-thank-you-card.is-unconfirmed {
    background:
        radial-gradient(circle at top, rgba(231, 215, 241, 0.65), transparent 48%),
        rgba(255, 255, 255, 0.95);
}

.thank-you-coffee {
    position: relative;
    width: 96px;
    height: 92px;
    margin: 0 auto 10px;
}

.thank-you-cup,
.thank-you-status-icon {
    font-size: 64px;
    line-height: 1;
}

.thank-you-cup {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.thank-you-steam {
    position: absolute;
    bottom: 63px;
    width: 8px;
    height: 27px;
    border-left: 3px solid #9a6cab;
    border-radius: 50%;
    opacity: 0;
    animation: thank-you-steam 2.7s ease-in-out infinite;
}

.thank-you-steam.steam-a {
    left: 34px;
}

.thank-you-steam.steam-b {
    left: 47px;
    animation-delay: 0.75s;
}

.thank-you-steam.steam-c {
    left: 60px;
    animation-delay: 1.5s;
}

.thank-you-eyebrow {
    margin: 0 0 9px;
    color: #9a4c8c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.coffee-thank-you-card h1 {
    max-width: 560px;
    margin: 0 auto;
    color: #6d397d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 7vw, 52px);
    line-height: 1.08;
}

.thank-you-copy {
    max-width: 500px;
    margin: 18px auto 0;
    color: #725d7b;
    font-size: 17px;
    line-height: 1.6;
}

.thank-you-amount {
    display: inline-block;
    margin: 22px auto 0;
    padding: 10px 20px;
    border: 1px solid #e6c8ea;
    border-radius: 999px;
    background: #fff9fd;
    color: #853b9e;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(126, 56, 153, 0.1);
}

.thank-you-note {
    margin: 17px 0 0;
    color: #967b9d;
    font-size: 13px;
    font-style: italic;
}

.thank-you-home-button {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ec5ca8, #8d3bb3);
    color: white;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(141, 59, 179, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thank-you-home-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(141, 59, 179, 0.32);
}

.thank-you-brand {
    margin: 26px 0 0;
    color: #aa98b0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.thank-you-sparkle {
    position: absolute;
    color: #d94f9d;
    pointer-events: none;
    animation: thank-you-sparkle 3.5s ease-in-out infinite;
}

.thank-you-sparkle.sparkle-a {
    top: 12%;
    left: 10%;
    font-size: 25px;
}

.thank-you-sparkle.sparkle-b {
    top: 19%;
    right: 9%;
    font-size: 29px;
    animation-delay: 1s;
}

.thank-you-sparkle.sparkle-c {
    right: 17%;
    bottom: 19%;
    font-size: 19px;
    animation-delay: 1.8s;
}

@keyframes thank-you-steam {
    0% {
        opacity: 0;
        transform: translateY(5px) translateX(0) rotate(-7deg);
    }

    30% {
        opacity: 0.65;
    }

    100% {
        opacity: 0;
        transform: translateY(-20px) translateX(4px) rotate(8deg);
    }
}

@keyframes thank-you-sparkle {
    0%, 100% {
        opacity: 0.25;
        transform: scale(0.8) rotate(0);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.18) rotate(20deg);
    }
}

@media (max-width: 600px) {
    .coffee-thank-you-page {
        padding: 12px;
    }

    .coffee-thank-you-card {
        padding: 38px 20px 30px;
        border-radius: 25px;
    }

    .thank-you-copy {
        font-size: 15px;
    }

    .coffee-modal {
        max-height: calc(100vh - 24px);
    }
}
