:root {
    --font-ui: "Jura", "Be Vietnam Pro", "Noto Sans", "Segoe UI", sans-serif;
    --font-display: "Playwrite ID", "Be Vietnam Pro", "Noto Sans", cursive;
    --font-topbar: "Kablammo", "Jura", "Be Vietnam Pro", sans-serif;
    --brand-orange: #ee4d2d;
    --brand-amber: #ff8a00;
    --brand-gold: #ffcf40;
    --brand-pink: #ff4b91;
    --brand-purple: #6a5af9;
    --text: #1a1325;
    --muted: #695f79;
    --surface: rgba(255, 255, 255, 0.7);
    --surface-strong: rgba(255, 255, 255, 0.88);
    --border: rgba(255, 255, 255, 0.48);
    --shadow: 0 24px 70px -40px rgba(24, 11, 43, 0.6);
    --toast-bg: rgba(17, 24, 39, 0.94);
}

body[data-theme="dark"] {
    --text: #f4f2ff;
    --muted: #c2bed4;
    --surface: rgba(23, 20, 38, 0.72);
    --surface-strong: rgba(17, 14, 29, 0.88);
    --border: rgba(129, 115, 168, 0.32);
    --shadow: 0 24px 70px -36px rgba(4, 2, 13, 0.95);
    --toast-bg: rgba(7, 7, 11, 0.95);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: var(--font-ui);
    color: var(--text);
    background: #fff4ea;
    line-height: 1.55;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}

.topbar-title {
    margin: 0;
    font: inherit;
}

body[data-theme="dark"] {
    background: #090712;
}

a {
    color: inherit;
}

.aurora-bg {
    position: fixed;
    inset: -15vmax;
    z-index: -4;
    overflow: hidden;
}

.blob-orange {
    top: 8%;
    left: 8%;
    background: radial-gradient(circle, var(--brand-orange) 0%, var(--brand-amber) 65%, transparent 100%);
}

.blob-pink {
    top: 30%;
    right: 5%;
    background: radial-gradient(circle, var(--brand-pink) 0%, #ff87b8 70%, transparent 100%);
    animation-delay: -4s;
}

.blob-purple {
    bottom: 2%;
    left: 25%;
    background: radial-gradient(circle, var(--brand-purple) 0%, #9f97ff 60%, transparent 100%);
    animation-delay: -8s;
}

.particle {
    position: absolute;
    color: rgba(255, 255, 255, 0.55);
    font-size: 20px;
    animation: particleDrift 24s linear infinite;
}

.p1 {
    top: 15%;
    right: 12%;
}

.p2 {
    bottom: 18%;
    left: 14%;
    animation-delay: -9s;
}

.p3 {
    top: 45%;
    left: 60%;
    animation-delay: -16s;
}

.cursor-glow {
    position: fixed;
    width: 280px;
    height: 280px;
    margin-left: -140px;
    margin-top: -140px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle, rgba(255, 218, 164, 0.34) 0%, rgba(255, 218, 164, 0) 65%);
    transform: translate3d(var(--mouse-x, 50vw), var(--mouse-y, 50vh), 0);
    transition: transform 120ms linear;
}

body[data-theme="dark"] .cursor-glow {
    background: radial-gradient(circle, rgba(157, 134, 255, 0.28) 0%, rgba(157, 134, 255, 0) 65%);
}

body[data-theme="dark"] .input-container {
    border-color: rgba(78, 86, 110, 0.85);
    background: rgba(16, 20, 34, 0.92);
}

body[data-theme="dark"] .btn-paste {
    border-left-color: rgba(78, 86, 110, 0.85);
    color: #cfd8ef;
}

body[data-theme="dark"] .btn-paste:hover {
    background: rgba(148, 163, 184, 0.2);
}

body[data-theme="dark"] .result-preview,
body[data-theme="dark"] .qr-wrap,
body[data-theme="dark"] .guide-card,
body[data-theme="dark"] .guide-list li,
body[data-theme="dark"] .voucher-group {
    background: rgba(15, 18, 31, 0.74);
}

body[data-theme="dark"] .result-preview,
body[data-theme="dark"] .guide-list li,
body[data-theme="dark"] .voucher-group,
body[data-theme="dark"] .short-link-input,
body[data-theme="dark"] .btn-secondary {
    border-color: rgba(99, 108, 145, 0.45);
}

body[data-theme="dark"] .short-link-input,
body[data-theme="dark"] .btn-secondary {
    background: rgba(16, 20, 34, 0.9);
    color: #e6e9f8;
}

body[data-theme="dark"] .btn-secondary:hover {
    background: rgba(31, 38, 60, 0.92);
}

body[data-theme="dark"] .error-message {
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.55);
    background: rgba(127, 29, 29, 0.34);
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: min(1240px, calc(100% - 24px));
    margin: 12px auto;
}

.glass-card {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 18px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(20px, 2vw, 28px);
    font-family: var(--font-topbar);
    letter-spacing: 0.02em;
}

.logo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
    box-shadow: 0 0 16px rgba(255, 90, 70, 0.72);
}

.theme-toggle {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 10px;
    min-width: 42px;
    min-height: 36px;
    cursor: pointer;
}

.main-container {
    padding: 18px 0 32px;
}

.content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 16px;
    margin-top: 16px;
}

.form-card {
    border-radius: 20px;
    padding: 20px;
}

.form-header h2 {
    margin: 0;
    font-size: 26px;
}

.form-seo-text {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.form-group {
    margin-top: 18px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 10px;
}

.input-container {
    display: flex;
    align-items: center;
    width: 100%;
    border: 2px solid rgba(206, 213, 222, 0.75);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
}

.form-input {
    width: 100%;
    min-height: 0;
    height: 44px;
    padding: 0 14px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--text);
    resize: none;
    font: inherit;
}

.form-input:focus {
    outline: none;
}

.input-container:focus-within {
    border-color: rgba(238, 77, 45, 0.65);
    box-shadow: 0 0 0 3px rgba(238, 77, 45, 0.16);
}

.btn-paste,
.btn-secondary,
.btn-action {
    border: none;
    border-radius: 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-paste {
    min-width: 44px;
    height: 44px;
    border: none;
    border-left: 1px solid rgba(206, 213, 222, 0.75);
    border-radius: 0;
    background: transparent;
    color: #334155;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
}

.btn-paste:hover {
    transform: none;
    background: rgba(148, 163, 184, 0.12);
}

.form-hint {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.btn-space {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    height: 4em;
    margin-top: 16px;
    background-size: 300% 300%;
    cursor: pointer;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
    transition: 0.5s;
    animation: gradient_301 5s ease infinite;
    background-image: linear-gradient(#212121, #212121), linear-gradient(137.48deg, #ffdb3b 10%, #fe53bb 45%, #8f51ea 67%, #0044ff 87%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    position: relative;
}

.btn-space:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.btn-space .generate-btn-label {
    z-index: 2;
    font-family: var(--font-ui);
    font-size: 16px;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 0 0 4px #fff;
    text-transform: uppercase;
}

.container-stars {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: 0.5s;
    backdrop-filter: blur(1rem);
    border-radius: 5rem;
}

.glow {
    position: absolute;
    display: flex;
    width: 12rem;
}

.circle {
    width: 100%;
    height: 30px;
    filter: blur(2rem);
    animation: pulse_3011 4s infinite;
    z-index: -1;
}

.circle:nth-of-type(1) {
    background: rgba(254, 83, 186, 0.636);
}

.circle:nth-of-type(2) {
    background: rgba(142, 81, 234, 0.704);
}

.btn-space:hover .container-stars {
    z-index: 1;
    background-color: #212121;
}


.btn-space:active {
    /* border: double 4px #fe53bb; */
    background-origin: border-box;
    background-clip: content-box, border-box;
    animation: none;
}

.btn-space:active .circle {
    background: #fe53bb;
}

.stars {
    position: relative;
    background: transparent;
    width: 200rem;
    height: 200rem;
}

.stars::after {
    content: "";
    position: absolute;
    top: -10rem;
    left: -100rem;
    width: 100%;
    height: 100%;
    animation: animStarRotate 90s linear infinite;
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
}

.stars::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 170%;
    height: 500%;
    animation: animStar 60s linear infinite;
    background-image: radial-gradient(#ffffff 1px, transparent 1%);
    background-size: 50px 50px;
    opacity: 0.5;
}

.ripple {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.55);
    animation: rippleBurst 0.6s ease-out;
    pointer-events: none;
}

.loading-strip {
    margin-top: 10px;
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
}

.loading-bar {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4), rgba(238, 77, 45, 0.9), rgba(255, 255, 255, 0.3));
    background-size: 200% 100%;
    animation: loadingRun 1.2s linear infinite;
}

.error-message {
    margin: 10px 0 0;
    padding: 10px 12px;
    color: #991b1b;
    border: 1px solid rgba(252, 165, 165, 0.7);
    border-radius: 12px;
    background: rgba(254, 226, 226, 0.95);
}

.result-section {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface-strong);
    animation: resultEnter 420ms ease both;
}

.result-title {
    margin: 0;
    font-size: 20px;
}

.result-subtitle {
    margin: 4px 0 10px;
    color: var(--muted);
    font-size: 14px;
}

.result-content {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 12px;
}

.result-preview {
    border: 1px solid rgba(210, 190, 240, 0.28);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.76);
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.result-voucher-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.result-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qr-note {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

.short-link-input {
    border-radius: 12px;
    border: 1px solid rgba(224, 206, 244, 0.95);
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
}

.btn-secondary {
    border: 1px solid rgba(224, 206, 244, 0.95);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text);
    padding: 10px 12px;
}

.btn-secondary:hover {
    transform: translateY(-1px);
}

#copyBtn {
    position: relative;
    font-family: inherit;
    font-size: 18px;
    /* border-radius: 40em; */
    width: 8em;
    height: 50px;
    z-index: 1;
    color: #fff;
    cursor: pointer;
    overflow: hidden;
    border: none;
    background: transparent;
    padding: 0;
    justify-self: center;
    flex: 1;
}

#copyBtn:hover {
    transform: none;
}

#copyBtn .text {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    line-height: 54px;
    border: none;
    background: linear-gradient(rgba(255, 255, 255, 0.473), rgba(150, 150, 150, 0.25));
    z-index: 1;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 15px;
}

#copyBtn .blob {
    position: absolute;
    z-index: -1;
    border-radius: 5em;
    width: 5em;
    height: 3em;
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

#copyBtn .blob:nth-child(2) {
    left: 0;
    top: 0;
    background: #ff930f;
}

#copyBtn .blob:nth-child(3) {
    left: 1.8em;
    top: 0;
    z-index: -1;
    background: #bf0fff;
}

#copyBtn .blob:nth-child(4) {
    left: 4em;
    top: -1em;
    background: #ff1b6b;
}

#copyBtn .blob:nth-child(5) {
    left: 4.3em;
    top: 1.6em;
    background: #0061ff;
}

#copyBtn:hover .blob:nth-child(2) {
    background: #0061ff;
}

#copyBtn:hover .blob:nth-child(3) {
    background: #ff1b6b;
}

#copyBtn:hover .blob:nth-child(4) {
    background: #bf0fff;
}

#copyBtn:hover .blob:nth-child(5) {
    background: #ff930f;
}

#copyBtn:hover .blob {
    transform: scale(1.3);
}

#copyBtn:active {
    border: 2px solid #fff;
}

.result-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.btn-action {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 11px 12px;
}

.btn-buy {
    --border_radius: 12px;
    --transtion: 0.3s ease-in-out;
    --active: 0;
    color: #fff;
    background: transparent;
    position: relative;
    height: 50px;
    flex: 1;
    padding: 0 20px;
    text-transform: uppercase;
    overflow: hidden;
    border-radius: var(--border_radius);
    isolation: isolate;
    transform: scale(calc(1 + (var(--active, 0) * 0.04)));
    transition: transform var(--transtion), box-shadow var(--transtion);
}

.btn-buy::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--border_radius);
    background: linear-gradient(135deg, #0da461, #0a7f4a);
    box-shadow: inset 0 0.5px hsl(0 0% 100% / 0.55), inset 0 -1px 2px 0 hsl(0 0% 0% / 0.35),
        0 4px 10px -4px hsla(0 0% 0% / calc(1 - var(--active, 0))),
        0 0 0 calc(var(--active, 0) * 0.375rem) hsla(145 90% 42% / 0.28);
    transition: all var(--transtion);
    z-index: 0;
}

.btn-buy::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--border_radius);
    background-color: hsla(145 82% 44% / 0.6);
    background-image: radial-gradient(at 52% 90%, hsla(142 74% 72% / 1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(148 64% 56% / 1) 0px, transparent 50%),
        radial-gradient(at 20% 90%, hsla(156 69% 58% / 1) 0px, transparent 50%);
    opacity: var(--active, 0);
    transition: opacity var(--transtion);
    z-index: 1;
}

.btn-buy:is(:hover, :focus-visible) {
    --active: 1;
}

.btn-buy:active {
    box-shadow: none;
    transform: translateY(7px) scale(1);
    transition: 35ms cubic-bezier(.5, .7, .4, 1);
}

.btn-buy-icon {
    display: inline-block;
    margin-right: 6px;
    transform-origin: 50% 70%;
    position: relative;
    z-index: 3;
}

.btn-buy-label {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 8ch;
    height: 100%;
    z-index: 3;
}

.btn-buy-label::before {
    content: attr(data-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    inset: 0;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    letter-spacing: 4px;
    opacity: 1;
}

.btn-buy:hover .btn-buy-label::before {
    transition: all 0s;
    transform: translateY(100%);
    opacity: 0;
}

.btn-buy-label i {
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 4px;
    font-style: normal;
    transition: all 2s ease;
    transform: translateY(-20px);
    opacity: 0;
}

.btn-buy:hover .btn-buy-label i {
    transition: all .2s ease;
    transform: translateY(0);
    opacity: 1;
}

.btn-buy:hover .btn-buy-label i:nth-child(1) {
    transition-delay: 0.045s;
}

.btn-buy:hover .btn-buy-label i:nth-child(2) {
    transition-delay: calc(0.045s * 3);
}

.btn-buy:hover .btn-buy-label i:nth-child(3) {
    transition-delay: calc(0.045s * 4);
}

.btn-buy:hover .btn-buy-label i:nth-child(4) {
    transition-delay: calc(0.045s * 5);
}

.btn-buy:hover .btn-buy-label i:nth-child(5) {
    transition-delay: calc(0.045s * 6);
}

.btn-buy:hover .btn-buy-label i:nth-child(6) {
    transition-delay: calc(0.045s * 7);
}

.btn-buy:hover .btn-buy-label i:nth-child(7) {
    transition-delay: calc(0.045s * 8);
}

.btn-buy:hover .btn-buy-label i:nth-child(8) {
    transition-delay: calc(0.045s * 9);
}

.btn-buy:hover .btn-buy-label i:nth-child(9) {
    transition-delay: calc(0.045s * 10);
}

.btn-buy:hover .btn-buy-icon {
    animation: buyIconWiggle 0.55s ease;
}


.qr-wrap {
    margin-top: 0;
    border-radius: 14px;
    border: 1px dashed rgba(180, 160, 220, 0.8);
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    min-height: 176px;
}

.qr-wrap img {
    width: 176px;
    height: 176px;
    border-radius: 12px;
}

.sidebar-section {
    display: flex;
}

.guide-card {
    width: 100%;
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.56));
}

.guide-title {
    margin: 0;
    font-size: 18px;
}

.guide-list {
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.guide-list li {
    position: relative;
    counter-increment: step;
    padding: 10px 12px 10px 44px;
    border-radius: 12px;
    border: 1px solid rgba(210, 190, 240, 0.4);
    background: rgba(255, 255, 255, 0.66);
}

.guide-list li::before {
    content: counter(step);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voucher-card {
    margin-top: 16px;
    border-radius: 20px;
    padding: 16px;
    content-visibility: auto;
    contain-intrinsic-size: 380px;
}

.voucher-title {
    margin: 0;
}

.voucher-header {
    margin-bottom: 10px;
}

.voucher-note {
    margin: 0;
    color: var(--muted);
}

.voucher-body {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
}

.voucher-group-link {
    position: relative;
    display: block;
    border-radius: 14px;
}

.voucher-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 14px;
}

.voucher-group {
    position: relative;
    z-index: 2;
    pointer-events: none;
    height: 100%;
    border: 1px solid rgba(210, 190, 240, 0.3);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.65);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.voucher-group-link:hover .voucher-group {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px -24px rgba(0, 0, 0, 0.8);
}

.voucher-group-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: auto;
}

.voucher-group h4 {
    margin: 10px 0 4px;
    font-size: 14px;
}

.voucher-group p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

.voucher-inline-link {
    position: relative;
    z-index: 3;
    pointer-events: auto;
    color: var(--brand-orange);
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}

.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 50;
    padding: 12px 14px;
    color: #fff;
    background: var(--toast-bg);
    border-radius: 10px;
    font-size: 13px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.24s ease;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: rgba(190, 24, 93, 0.95);
}

.toast.success {
    background: rgba(5, 150, 105, 0.95);
}

.footer {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface-strong);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 13px;
}

.footer-credit {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
}


@keyframes particleDrift {
    from {
        transform: translateY(0) rotate(0deg);
    }

    to {
        transform: translateY(-100px) rotate(180deg);
    }
}

@keyframes animStar {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-135rem);
    }
}

@keyframes animStarRotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0);
    }
}

@keyframes gradient_301 {
    0% {
        background-position: 0 50%;
    }

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

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

@keyframes pulse_3011 {
    0% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.75);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes loadingRun {
    from {
        background-position: 0% 0;
    }

    to {
        background-position: 200% 0;
    }
}

@keyframes rippleBurst {
    from {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.2);
    }

    to {
        opacity: 0;
        transform: translate(-50%, -50%) scale(10);
    }
}

@keyframes resultEnter {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
        filter: blur(6px);
    }

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

@keyframes buyIconWiggle {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-1px) rotate(-12deg) scale(1.05);
    }

    50% {
        transform: translateY(-2px) rotate(10deg) scale(1.12);
    }

    75% {
        transform: translateY(-1px) rotate(-6deg) scale(1.06);
    }

    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .voucher-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-wrapper {
        width: calc(100% - 18px);
    }

    .logo-wrap {
        font-size: 18px;
    }

    .input-container {
        display: flex;
    }

    .btn-paste,
    .btn-secondary,
    .btn-action {
        width: 100%;
    }

    .btn-paste {
        width: 44px;
        min-width: 44px;
    }

    #copyBtn {
        width: 8em;
    }

    .result-content,
    .result-actions {
        grid-template-columns: 1fr;
    }

    .qr-wrap {
        min-height: 160px;
    }

    .voucher-body {
        grid-template-columns: 1fr;
    }

}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}