:root {
    --ink: #eaf4ff;
    --ink-soft: #96aec4;
    --line: rgba(186, 214, 241, 0.14);
    --navy: #1d6ea5;
    --navy-deep: #0a2741;
    --navy-mid: #2d587a;
    --teal: #33c3cf;
    --teal-soft: #d5f4f7;
    --rose: #e289a6;
    --rose-soft: #f8dde6;
    --surface: #10253a;
    --surface-soft: #17314a;
    --amber-soft: #f2d28b;
    --amber-deep: #8a5b08;
    --shadow-xl: 0 42px 110px rgba(3, 12, 21, 0.42);
    --shadow-lg: 0 18px 40px rgba(3, 12, 21, 0.24);
    --shadow-card: 0 24px 56px rgba(3, 12, 21, 0.28);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    background:
        radial-gradient(circle at 10% 10%, rgba(61, 144, 199, 0.22), transparent 18%),
        radial-gradient(circle at 88% 14%, rgba(230, 191, 110, 0.14), transparent 22%),
        radial-gradient(circle at 52% 100%, rgba(0, 120, 177, 0.18), transparent 30%),
        linear-gradient(135deg, #07121d 0%, #0a2032 34%, #0e1f2f 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.customer-body,
.customer-body html {
    overflow: hidden;
}

.customer-body {
    overflow: hidden;
}

.survey-screen {
    height: 100vh;
    position: relative;
    padding: clamp(10px, 1.2vw, 20px);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
        transparent;
}

.survey-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-blur {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.7;
}

.blur-left {
    width: 22rem;
    height: 22rem;
    top: -8rem;
    left: -8rem;
    background: rgba(56, 159, 196, 0.22);
}

.blur-right {
    width: 24rem;
    height: 24rem;
    right: -8rem;
    bottom: -8rem;
    background: rgba(194, 166, 108, 0.16);
}

.bg-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(22, 48, 71, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 48, 71, 0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 76%);
}

.survey-frame {
    position: relative;
    z-index: 1;
    height: calc(100vh - clamp(20px, 2.4vw, 40px));
    max-width: 1720px;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0;
    border-radius: clamp(24px, 1.8vw, 38px);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(15,34,52,0.94), rgba(10,24,39,0.96));
    box-shadow:
        0 42px 100px rgba(2, 10, 17, 0.46),
        inset 0 1px 0 rgba(255,255,255,0.08);
    border: 1px solid rgba(151, 192, 226, 0.16);
    backdrop-filter: blur(18px);
}

.vote-success-overlay {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: grid;
    place-items: center;
    padding: clamp(22px, 2vw, 36px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.55s ease, visibility 0.55s ease;
}

.vote-success-overlay.is-hiding {
    opacity: 0;
    visibility: hidden;
}

.vote-success-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(54, 118, 165, 0.18), rgba(5, 14, 23, 0.82) 56%),
        rgba(4, 11, 19, 0.66);
    backdrop-filter: blur(10px);
}

.vote-success-card {
    position: relative;
    width: min(720px, 100%);
    padding: clamp(32px, 3vw, 46px);
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top, rgba(236,198,114,0.12), rgba(255,255,255,0) 28%),
        linear-gradient(180deg, rgba(18,40,60,0.96), rgba(10,23,36,0.98));
    border: 1px solid rgba(173, 207, 236, 0.16);
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255,255,255,0.08);
    text-align: center;
    isolation: isolate;
    animation: success-card-enter 0.75s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.vote-success-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.04);
    pointer-events: none;
}

.vote-success-glow {
    position: absolute;
    inset: -20% auto auto 50%;
    width: 340px;
    height: 340px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(237, 201, 120, 0.24), rgba(57, 157, 200, 0.12) 42%, rgba(255,255,255,0) 72%);
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.vote-success-mark {
    width: 122px;
    height: 122px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
        rgba(255,255,255,0.04);
    border: 1px solid rgba(236, 198, 114, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.16),
        0 18px 40px rgba(0,0,0,0.18);
}

.vote-success-icon {
    width: 72px;
    height: 72px;
    fill: none;
    stroke: #f2d58f;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 6px 18px rgba(236, 198, 114, 0.18));
}

.vote-success-copy {
    display: grid;
    gap: 10px;
}

.vote-success-kicker {
    margin: 0;
    color: #f0d89d;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.82rem;
    font-weight: 800;
}

.vote-success-title {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.vote-success-message {
    margin: 0 auto;
    max-width: 520px;
    color: #b7ccde;
    font-size: clamp(1rem, 1.15vw, 1.18rem);
    line-height: 1.65;
    font-weight: 500;
}

.vote-success-progress {
    position: relative;
    margin-top: 26px;
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.05);
}

.vote-success-progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f0d186 0%, #48b6d8 100%);
    transform-origin: left center;
    animation-name: success-progress-drain;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.survey-frame::before,
.survey-frame::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.survey-frame::before {
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, rgba(91,165,221,0.16), transparent 24%),
        radial-gradient(circle at 100% 0%, rgba(226,190,114,0.12), transparent 24%),
        linear-gradient(120deg, rgba(232, 194, 108, 0.03), transparent 32%);
}

.survey-frame::after {
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.05);
}

.survey-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: clamp(14px, 1.2vw, 22px) clamp(18px, 1.8vw, 30px);
    background:
        linear-gradient(135deg, #0c3557 0%, #0a2741 44%, #123d62 100%);
    color: #f4fbff;
    position: relative;
    box-shadow:
        inset 0 -1px 0 rgba(255,255,255,0.07),
        inset 0 1px 0 rgba(255,255,255,0.05);
    z-index: 2;
}

.survey-header::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(236,198,114,0.18), rgba(255,255,255,0.05), rgba(236,198,114,0.18));
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.brand-badge {
    width: clamp(72px, 5vw, 90px);
    height: clamp(72px, 5vw, 90px);
    flex: 0 0 auto;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        0 14px 26px rgba(2, 21, 38, 0.14);
}

.brand-badge-logo {
    width: fit-content;
    height: auto;
    min-width: 0;
    overflow: visible;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.brand-logo-image {
    display: block;
    width: auto;
    height: clamp(68px, 5.4vw, 92px);
    max-width: 110px;
    max-height: none;
    object-fit: contain;
    object-position: center;
    background: transparent;
    padding: 0;
    border-radius: 0;
    filter:
        drop-shadow(0 8px 16px rgba(2, 16, 29, 0.28))
        drop-shadow(0 0 10px rgba(227, 188, 94, 0.08));
}

.brand-copy h1 {
    margin: 0;
    font-size: clamp(1.12rem, 1.52vw, 1.96rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 800;
    text-wrap: balance;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.eyebrow {
    margin: 0 0 6px;
    color: rgba(231, 242, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: clamp(0.68rem, 0.72vw, 0.8rem);
    font-weight: 700;
}

.survey-header-note {
    padding: 11px 18px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(236,198,114,0.16), rgba(255,255,255,0.06));
    border: 1px solid rgba(236, 198, 114, 0.24);
    color: rgba(244, 251, 255, 0.92);
    font-size: clamp(0.84rem, 0.9vw, 0.98rem);
    font-weight: 700;
    white-space: nowrap;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.14),
        0 10px 24px rgba(3, 24, 42, 0.14);
    backdrop-filter: blur(10px);
}

.survey-layout {
    display: grid;
    grid-template-columns: 1fr;
    padding: clamp(18px, 1.4vw, 28px);
    background:
        radial-gradient(circle at top center, rgba(66, 129, 176, 0.16), rgba(255,255,255,0) 42%),
        linear-gradient(180deg, rgba(15, 31, 47, 0.94), rgba(11, 26, 41, 0.98));
    min-height: 0;
}

.survey-intro {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 18px;
    min-height: 0;
}

.survey-hero {
    display: grid;
    gap: 18px;
    position: relative;
}

.survey-badge {
    width: fit-content;
    padding: 10px 18px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(233,198,110,0.14), rgba(255,255,255,0.04));
    color: #f2ddaa;
    border: 1px solid rgba(233, 198, 110, 0.18);
    font-size: clamp(0.84rem, 0.86vw, 0.96rem);
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 10px 24px rgba(4, 15, 24, 0.2);
    position: relative;
    overflow: hidden;
}

.survey-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
    transform: translateX(-140%);
}

.survey-heading-block {
    display: grid;
    gap: 14px;
    max-width: 1280px;
}

.survey-title {
    margin: 0;
    max-width: 980px;
    font-size: clamp(2.4rem, 4vw, 5.1rem);
    line-height: 0.92;
    letter-spacing: -0.08em;
    font-weight: 800;
    color: #f6fbff;
    text-wrap: balance;
    text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.hero-description {
    margin: 0;
    max-width: 1320px;
    color: #afc5d7;
    font-size: clamp(0.96rem, 1vw, 1.16rem);
    line-height: 1.62;
    font-weight: 500;
}

.survey-panel {
    padding: clamp(18px, 1.4vw, 24px);
    border-radius: 30px;
    background:
        radial-gradient(circle at top, rgba(74, 135, 181, 0.18), rgba(255,255,255,0) 42%),
        radial-gradient(circle at 100% 0%, rgba(226,190,114,0.08), rgba(255,255,255,0) 26%),
        linear-gradient(180deg, rgba(20,41,61,0.94), rgba(13,30,47,0.96));
    border: 1px solid rgba(157, 196, 228, 0.14);
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 0;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 24px 60px rgba(2, 9, 16, 0.3);
    position: relative;
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.survey-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 24%);
}

.survey-panel::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(18, 45, 72, 0), rgba(0, 0, 0, 0.14));
    pointer-events: none;
}

.survey-panel-head {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.panel-kicker {
    color: #f0d89d;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: center;
}

.question {
    margin: 0;
    color: #f7fbff;
    font-size: clamp(1.45rem, 1.95vw, 2.45rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.05em;
    text-align: center;
    text-wrap: balance;
}

.button-group {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    min-height: 0;
}

.button-group button {
    appearance: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 0;
    height: min(34vh, 300px);
    padding: 22px 20px 20px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, border-color 0.22s ease;
    box-shadow:
        0 24px 48px rgba(14, 35, 58, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.28),
        inset 0 -14px 24px rgba(0,0,0,0.08);
    isolation: isolate;
}

.button-group button:hover,
.button-group button:focus {
    transform: translateY(-5px);
    box-shadow:
        0 30px 62px rgba(16, 41, 67, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -14px 26px rgba(0,0,0,0.09);
    filter: saturate(1.04) brightness(1.01);
}

.button-group button:active {
    transform: translateY(1px) scale(0.985);
    box-shadow:
        0 14px 26px rgba(8, 22, 36, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -8px 18px rgba(0,0,0,0.12);
    filter: saturate(0.98) brightness(0.98);
}

.button-group button:active .icon-wrap {
    transform: scale(0.94);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -8px 14px rgba(0,0,0,0.12),
        0 8px 18px rgba(0,0,0,0.16);
}

.button-group button:active .btn-copy {
    transform: translateY(1px);
}

.button-shine {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.03) 32%, rgba(255,255,255,0) 56%),
        radial-gradient(circle at 18% 16%, rgba(255,255,255,0.12), transparent 20%),
        linear-gradient(135deg, rgba(255,255,255,0.05), transparent 30%),
        linear-gradient(180deg, transparent 56%, rgba(8, 24, 38, 0.1));
    pointer-events: none;
}

.button-edge {
    display: block;
    position: absolute;
    inset: 1px;
    border-radius: 29px;
    border: 1px solid rgba(255,255,255,0.12);
    pointer-events: none;
    opacity: 0.85;
}

.icon-wrap,
.btn-copy {
    position: relative;
    z-index: 1;
}

.icon-wrap {
    width: clamp(92px, 6vw, 112px);
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06)),
        rgba(10,24,38,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.26),
        inset 0 -10px 16px rgba(0,0,0,0.1),
        0 14px 30px rgba(0,0,0,0.14);
    backdrop-filter: blur(12px);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.vote-svg {
    width: 76%;
    height: 76%;
    fill: none;
    stroke: rgba(255,255,255,0.96);
    stroke-width: 4.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
}

.vote-svg .detail {
    fill: rgba(255,255,255,0.96);
    stroke: none;
}

.vote-svg .line {
    fill: none;
    stroke-width: 4.2;
}

.btn-copy {
    display: grid;
    gap: 10px;
    transition: transform 0.22s ease;
}

.btn-index {
    display: none;
}

.btn-title {
    font-size: clamp(1.52rem, 1.95vw, 2.35rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 900;
    text-wrap: balance;
    text-shadow: 0 1px 0 rgba(255,255,255,0.1);
}

.btn-desc {
    max-width: 210px;
    font-size: clamp(12px, 0.9vw, 14px);
    line-height: 1.5;
    font-weight: 700;
    opacity: 0.98;
}

.btn-sangat-puas {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,0.22), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
        linear-gradient(165deg, #88d67f 0%, #47bf59 52%, #258f43 100%);
}

.btn-puas {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,0.22), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
        linear-gradient(165deg, #73c8e0 0%, #329fc7 56%, #1e7397 100%);
}

.btn-cukup {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,0.22), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04)),
        linear-gradient(165deg, #e8cb7d 0%, #dca842 58%, #b97816 100%);
    color: #3f2a0f;
}

.btn-cukup .icon-wrap {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.2), rgba(92,64,14,0.08)),
        rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.22);
}

.btn-cukup .vote-svg {
    stroke: #fffaf0;
}

.btn-cukup .vote-svg .detail {
    fill: #fffaf0;
}

.btn-tidak-puas {
    background:
        radial-gradient(circle at 18% 12%, rgba(255,255,255,0.22), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.03)),
        linear-gradient(165deg, #d989a2 0%, #c7587f 58%, #9f3257 100%);
}

.survey-footer {
    display: grid;
    gap: 12px;
    padding: 10px clamp(18px, 1.8vw, 30px) 12px;
    border-top: 1px solid rgba(22, 48, 71, 0.06);
    background:
        linear-gradient(180deg, rgba(13,30,46,0.98), rgba(10,24,39,0.98));
}

.survey-footer-main {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
}

.digital-clock {
    min-width: 198px;
    padding: 12px 16px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "accent label"
        "accent value";
    column-gap: 12px;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(236,198,114,0.12), rgba(255,255,255,0.02)),
        linear-gradient(135deg, #123457 0%, #0f3f65 48%, #2e6286 100%);
    color: #ffffff;
    box-shadow:
        0 16px 34px rgba(13, 56, 94, 0.26),
        inset 0 1px 0 rgba(255,255,255,0.18);
    border: 1px solid rgba(236,198,114,0.16);
    position: relative;
    overflow: hidden;
}

.digital-clock::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 40%);
}

.clock-accent {
    grid-area: accent;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f5d98d, #ddb04a);
    box-shadow:
        0 0 0 8px rgba(236, 198, 114, 0.12),
        0 0 18px rgba(236, 198, 114, 0.26);
}

.clock-label {
    grid-area: label;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(248,231,190,0.84);
    line-height: 1.2;
}

.clock-value {
    grid-area: value;
    font-size: clamp(1.2rem, 1.3vw, 1.6rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.running-text-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(162, 200, 231, 0.14);
    background:
        linear-gradient(180deg, rgba(19,41,61,0.96), rgba(15,33,50,0.98));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 10px 24px rgba(3, 12, 21, 0.18);
}

.running-text-wrap::before,
.running-text-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.running-text-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #13293d, rgba(19,41,61,0));
}

.running-text-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #13293d, rgba(19,41,61,0));
}

.running-text-track {
    display: flex;
    gap: 52px;
    width: max-content;
    padding: 10px 0;
    animation: running-text 30s linear infinite;
    white-space: nowrap;
    color: #dbecfb;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.running-text-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 8px;
}

.running-text-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(180deg, #f0d186, #d6a846);
    box-shadow: 0 0 0 5px rgba(236, 198, 114, 0.12);
    flex: 0 0 auto;
}

.footer-copy {
    margin: 0;
    color: #8ea9be;
    font-size: clamp(0.82rem, 0.75vw, 0.92rem);
    letter-spacing: 0.01em;
}

@keyframes success-card-enter {
    0% {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes success-progress-drain {
    0% {
        transform: scaleX(1);
    }

    100% {
        transform: scaleX(0);
    }
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 600;
}

.alert.success {
    background: rgba(31, 184, 196, 0.12);
    color: #126a74;
    border: 1px solid rgba(31, 184, 196, 0.16);
}

.alert.danger {
    background: rgba(238, 123, 154, 0.12);
    color: #a03e5d;
    border: 1px solid rgba(238, 123, 154, 0.16);
}

.survey-alert {
    margin-top: 14px;
}


@keyframes running-text {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 28px));
    }
}

@media (max-width: 1199px) {
    .vote-success-card {
        width: min(640px, 100%);
        padding: 28px 26px 24px;
    }

    .vote-success-mark {
        width: 108px;
        height: 108px;
    }

    .button-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .button-group button {
        height: min(20vh, 220px);
    }
}

@media (max-width: 767px) {
    .vote-success-overlay {
        padding: 18px;
    }

    .vote-success-card {
        padding: 28px 20px 24px;
        border-radius: 26px;
    }

    .vote-success-mark {
        width: 96px;
        height: 96px;
        margin-bottom: 16px;
    }

    .vote-success-icon {
        width: 56px;
        height: 56px;
    }

    .vote-success-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .vote-success-title {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .vote-success-message {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .survey-screen {
        height: 100vh;
        padding: 8px;
    }

    .survey-frame {
        height: calc(100vh - 16px);
        border-radius: 20px;
    }

    .survey-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 14px;
    }

    .survey-header::after {
        left: 16px;
        right: 16px;
    }

    .survey-header-note {
        display: none;
    }

    .brand-badge {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .brand-badge-logo {
        width: fit-content;
        height: auto;
        min-width: 0;
        padding: 0;
        border-radius: 0;
    }

    .brand-logo-image {
        height: 56px;
        max-width: 76px;
    }

    .brand-copy h1 {
        font-size: 1.02rem;
    }

    .survey-layout {
        padding: 12px 12px 10px;
    }

    .survey-hero {
        gap: 10px;
    }

    .survey-badge {
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .survey-title {
        max-width: 100%;
        font-size: clamp(1.5rem, 7.5vw, 2.35rem);
        line-height: 0.98;
    }

    .hero-description {
        max-width: 100%;
        font-size: 0.8rem;
        line-height: 1.38;
    }

    .survey-panel {
        padding: 12px;
        border-radius: 22px;
    }

    .question {
        font-size: 1.02rem;
        text-align: left;
        margin-bottom: 10px;
    }

    .panel-kicker {
        text-align: left;
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    .button-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .button-group button {
        height: min(18.5vh, 145px);
        min-height: 0;
        padding: 10px;
        border-radius: 18px;
        gap: 10px;
    }

    .button-edge {
        inset: 1px;
        border-radius: 17px;
    }

    .icon-wrap {
        width: 52px;
    }

    .btn-title {
        font-size: 1rem;
        line-height: 1;
    }

    .btn-index {
        display: none;
    }

    .btn-desc {
        max-width: none;
        font-size: 0.68rem;
        line-height: 1.28;
    }

    .survey-footer-main {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .digital-clock {
        min-width: 0;
        width: 100%;
        padding: 8px 10px;
        border-radius: 16px;
    }

    .clock-label {
        font-size: 0.63rem;
    }

    .clock-value {
        font-size: 1rem;
        letter-spacing: 0.12em;
    }

    .running-text-wrap {
        border-radius: 14px;
    }

    .running-text-track {
        gap: 30px;
        padding: 7px 0;
        font-size: 0.8rem;
    }

    .footer-copy {
        font-size: 0.72rem;
    }
}

@media (max-height: 900px) and (min-width: 768px) {
    .survey-header {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .survey-layout {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .survey-title {
        font-size: clamp(2rem, 3.2vw, 3.9rem);
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .question {
        font-size: clamp(1.2rem, 1.45vw, 1.7rem);
        margin-bottom: 12px;
    }

    .button-group button {
        height: min(27vh, 200px);
        padding: 16px 14px;
    }

    .btn-title {
        font-size: clamp(1.24rem, 1.45vw, 1.82rem);
    }

    .btn-desc {
        font-size: 12.5px;
    }
}

@media (max-height: 760px) and (min-width: 768px) {
    .vote-success-card {
        width: min(620px, 100%);
        padding: 28px 28px 24px;
    }

    .vote-success-mark {
        width: 96px;
        height: 96px;
        margin-bottom: 16px;
    }

    .vote-success-title {
        font-size: clamp(1.55rem, 2vw, 2.2rem);
    }

    .vote-success-message {
        font-size: 0.98rem;
    }

    .survey-title {
        font-size: clamp(1.7rem, 2.8vw, 3rem);
    }

    .hero-description {
        font-size: 0.88rem;
        line-height: 1.35;
    }

    .survey-panel {
        padding: 10px;
    }

    .button-group {
        gap: 8px;
    }

    .button-group button {
        height: min(24vh, 160px);
        padding: 12px 10px;
    }

    .icon-wrap {
        width: 56px;
    }

    .btn-title {
        font-size: 1.02rem;
    }

    .btn-desc {
        font-size: 11px;
        line-height: 1.25;
    }

    .digital-clock {
        padding: 8px 12px;
    }

    .running-text-track {
        padding: 8px 0;
    }
}

@media (max-width: 767px) and (max-height: 760px) {
    .survey-header {
        padding: 10px 12px;
    }

    .brand-badge {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .brand-logo-image {
        height: 48px;
        max-width: 66px;
    }

    .survey-layout {
        padding: 10px 10px 8px;
    }

    .survey-hero {
        gap: 8px;
    }

    .survey-badge {
        padding: 6px 10px;
        font-size: 0.66rem;
    }

    .survey-title {
        font-size: clamp(1.25rem, 6.2vw, 1.8rem);
    }

    .hero-description {
        font-size: 0.74rem;
        line-height: 1.25;
    }

    .survey-panel {
        padding: 10px;
    }

    .survey-panel-head {
        gap: 6px;
        margin-bottom: 8px;
    }

    .question {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .button-group {
        gap: 6px;
    }

    .button-group button {
        height: min(16.2vh, 118px);
        padding: 8px;
        border-radius: 16px;
        gap: 8px;
    }

    .button-edge {
        border-radius: 15px;
    }

    .icon-wrap {
        width: 42px;
    }

    .vote-svg {
        width: 70%;
        height: 70%;
    }

    .btn-copy {
        gap: 6px;
    }

    .btn-title {
        font-size: 0.84rem;
    }

    .btn-desc {
        font-size: 0.58rem;
        line-height: 1.18;
    }

    .survey-footer {
        gap: 8px;
        padding: 8px 10px 9px;
    }

    .survey-footer-main {
        gap: 6px;
    }

    .digital-clock {
        padding: 7px 9px;
    }

    .clock-accent {
        width: 12px;
        height: 12px;
    }

    .clock-label {
        font-size: 0.56rem;
    }

    .clock-value {
        font-size: 0.88rem;
    }

    .running-text-track {
        padding: 6px 0;
        font-size: 0.7rem;
    }

    .footer-copy {
        font-size: 0.64rem;
    }
}

@media (min-width: 1600px), (min-height: 1000px) {
    .survey-layout {
        padding: 38px 42px;
    }

    .survey-title {
        max-width: 860px;
        font-size: clamp(4.2rem, 4.4vw, 6.4rem);
    }

    .hero-description {
        font-size: 1.24rem;
    }

    .button-group button {
        min-height: 320px;
    }

    .icon-wrap {
        width: clamp(108px, 6.4vw, 128px);
    }

    .btn-title {
        font-size: clamp(2.9rem, 3.05vw, 4.2rem);
    }

    .btn-desc {
        font-size: 15.5px;
    }
}

.live-refresh-target {
    transition:
        opacity 0.35s ease,
        transform 0.45s ease,
        filter 0.45s ease,
        letter-spacing 0.45s ease;
    will-change: opacity, transform, filter;
}

.live-refresh-target.is-refreshing {
    animation: surveyRefreshSoft 0.65s ease;
}

[data-live-refresh="button"].is-refreshing {
    animation: surveyRefreshButton 0.65s ease;
}

[data-live-refresh="ticker"].is-refreshing {
    animation: surveyRefreshTicker 0.65s ease;
}

@keyframes surveyRefreshSoft {
    0% {
        opacity: 0.55;
        transform: translateY(10px) scale(0.985);
        filter: blur(1.5px);
    }

    55% {
        opacity: 1;
        transform: translateY(0) scale(1.01);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes surveyRefreshButton {
    0% {
        opacity: 0.5;
        transform: translateY(8px) scale(0.96);
        filter: blur(2px);
        letter-spacing: 0.02em;
    }

    60% {
        opacity: 1;
        transform: translateY(0) scale(1.03);
        filter: blur(0);
        letter-spacing: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
        letter-spacing: 0;
    }
}

@keyframes surveyRefreshTicker {
    0% {
        opacity: 0.35;
        transform: translateX(18px);
        filter: blur(2px);
    }

    55% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

