/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

@-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{position:fixed;top:0;left:0;height:100%;width:100%;color:#fff;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;pointer-events:none;box-sizing:border-box;padding:20px}.notyf__icon--error,.notyf__icon--success{height:21px;width:21px;background:#fff;border-radius:50%;display:block;margin:0 auto;position:relative}.notyf__icon--error:after,.notyf__icon--error:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px;left:9px;height:12px;top:5px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{content:"";background:currentColor;display:block;position:absolute;width:3px;border-radius:3px}.notyf__icon--success:after{height:6px;transform:rotate(-45deg);top:9px;left:6px}.notyf__icon--success:before{height:11px;transform:rotate(45deg);top:5px;left:10px}.notyf__toast{display:block;overflow:hidden;pointer-events:auto;-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);position:relative;padding:0 15px;border-radius:2px;max-width:300px;transform:translateY(25%);box-sizing:border-box;flex-shrink:0}.notyf__toast--disappear{transform:translateY(0);-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:.05s;animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{height:400px;width:400px;position:absolute;transform-origin:bottom right;right:0;top:0;border-radius:50%;transform:scale(0) translateY(-51%) translateX(13%);z-index:5;-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards}.notyf__wrapper{display:flex;align-items:center;padding-top:17px;padding-bottom:17px;padding-right:15px;border-radius:3px;position:relative;z-index:10}.notyf__icon{width:22px;text-align:center;font-size:1.3em;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;margin-right:13px}.notyf__dismiss{position:absolute;top:0;right:0;height:100%;width:26px;margin-right:-15px;-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;opacity:0}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;transition:opacity .2s ease,background-color .2s ease;outline:none;opacity:.35;height:100%;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{content:"";background:#fff;height:12px;width:2px;border-radius:3px;position:absolute;left:calc(50% - 1px);top:calc(50% - 5px)}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{opacity:.7;background-color:rgba(0,0,0,.15)}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{vertical-align:middle;position:relative;opacity:0;-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{height:600px;width:600px;-webkit-animation-duration:.5s;animation-duration:.5s}.notyf__toast{max-width:none;border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);width:100%}.notyf__dismiss{width:56px}}
@font-face {
    font-family: 'Cocogoose';
    src: url(Cocogoose-e1eeb04a7a48561fd58d.eot);
    src: url(Cocogoose-e1eeb04a7a48561fd58d.eot?#iefix) format('embedded-opentype'),
        url(Cocogoose-6492c62045d90c139380.woff2) format('woff2'),
        url(Cocogoose-8d3a4063a8720cc14b4f.woff) format('woff'),
        url(/images/Cocogoose-389a746e7631f1721ce3.svg#Cocogoose) format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --vh: 1vh;
    --black: #1C2E39;
    --black-2: #202E38;
    --red: #E31212;
    --blue: #2b4a7e;
    --error: #dc3545;
    --cream: #FDF5E6;
    --lilitaOne: 'Lilita One', cursive;
    --cocogoose: 'Cocogoose', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

@keyframes blink {
    0% { color: currentColor; }
    50% { color: var(--red); }
    100% { color: currentColor; }
}

@keyframes loading {
    0% { transform: rotate(0); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

html {
    height: -webkit-fill-available;
    height: 100%;
    font-size: 14px;
    line-height: 1.1;
}

body {
    width: 100%;
    height: auto;
    min-height: -webkit-fill-available;
    font-family: 'Albert Sans', sans-serif;
    color: var(--black);
    background-color: #1a1a1a;
    background-image: none;
    margin: 0;
}

img {
    max-width: 100%;
}

p {
    margin: 0;
    text-align: center;
}

.red { color: var(--red); }
.blue { color: var(--blue); }
.bold { font-weight: bold; }
.text-underline { text-decoration: underline; }

.hide { display: none; }
.show { display: block; }

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

.btn-link {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: var(--red);
    border: 1px solid var(--red);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    font-size: 1rem;
}

.btn-link::after {
    content: '';
    display: block;
    margin-top: 2px;
    margin-left: 3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    transform: rotate(45deg);
}

.btn-link:hover,
.btn-link:focus,
.btn-link:active {
    color: #FFF;
    background-color: var(--red);
}

.btn-primary {
    width: 100%;
    height: 55px;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--red);
    font-family: var(--lilitaOne);
    font-size: 2rem;
    color: #FFF;
    text-decoration: none;
    border: 1px solid var(--red);
    border-radius: 18px;
    box-shadow: 0 3px 10px 4px #e3121245;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

.btn-primary:disabled,
.btn-primary.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.btn-primary:hover { text-decoration: none; outline: none; }

.btn-primary.loading::after,
.btn-primary.pending::after {
    content: '';
    display: block;
    animation: loading .5s infinite linear;
    background: 0 0;
    border: 2px solid #FFF;
    border-radius: 50%;
    border-right-color: transparent;
    border-top-color: transparent;
    height: 1rem;
    left: calc(50% + 70px);
    margin-top: -0.5rem;
    opacity: 1;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 1rem;
    z-index: 1;
}

.btn-primary.pending { background-color: #f07878; }

.btn-start {
    display: inline-block;
    padding: 15px 50px;
    background-color: #FFF;
    font-family: var(--lilitaOne);
    font-size: 2rem;
    color: var(--red);
    text-decoration: none;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.btn-start:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* ========================
   FORM ELEMENTS
   ======================== */

.form-check { margin-bottom: 20px; }

.form-check-label {
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0.2rem 0;
    min-height: 1.4rem;
    padding: 0;
    position: relative;
    cursor: pointer;
    gap: 0.75rem;
}

.form-check-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 1.2em;
    height: 1.2em;
    min-width: 1.2em;
    background: #fff;
    border-radius: 0.25em;
    border: 2px solid var(--red);
    margin: 0;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-label input[type="checkbox"]:checked {
    background: var(--red);
    border-color: var(--red);
}

.form-check-label input[type="checkbox"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}

.form-check-label input[type="checkbox"]:hover {
    border-color: var(--red);
    box-shadow: 0 0 0 2px rgba(227, 18, 18, 0.1);
}

.form-check-label.error,
.form-check-label.error a {
    color: var(--red);
    animation: blink 1s;
    animation-iteration-count: 3;
}

.form-check-label a { display: inline-block; }

.input-group, .form-group {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
    position: relative;
}

.input-group { flex-wrap: wrap; }
.input-group .form-radio { margin-right: 20px; }
.form-group { flex-wrap: nowrap; }

.form-group.invalid .form-control {
    border: 1px solid var(--error);
}

.form-control {
    width: 100%;
    height: 38px;
    padding: 1.2rem 1rem 0.3rem;
    display: block;
    background-color: #FFF;
    border: 1px solid #CBCBCB;
    border-radius: 10px;
}

.form-control:focus {
    border-color: var(--black-2);
    outline: none;
}

.form-group .form-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #8D969C;
    transition: transform .2s, fontSize .2s;
}

.form-control:focus + .form-label,
.form-group.filled .form-label {
    font-size: 0.8rem;
    transform: translate(0, -7px);
    transition: transform .2s, fontSize .2s;
}

.invalid .valid-feedback,
.valid-feedback:not(:empty) {
    --arrowPos: -4px;
    position: absolute;
    top: calc(100% - var(--arrowPos));
    width: auto;
    max-width: 80%;
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
    background-color: var(--error);
    color: #FFF;
    border-radius: 4px;
    z-index: 9;
}

.invalid .valid-feedback::before,
.valid-feedback:not(:empty)::before {
    content: '';
    position: absolute;
    top: var(--arrowPos);
    left: calc(50% - calc(0.8rem * .5));
    border-color: transparent;
    border-style: solid;
    border-width: 0 calc(0.8rem * .5) 0.4rem;
    border-bottom-color: var(--error);
}

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

.logo-pb {
    width: clamp(112px, 34vw, 145px);
    margin-top: 0;
    position: relative;
}

.festival-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
}

.festival-lockup-ampersand {
    font-family: var(--lilitaOne);
    font-size: 1.75rem;
    line-height: 1;
    color: #FFF;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.festival-logo {
    width: min(56vw, 190px);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.divider {
    width: 100%;
    margin: 20px 0;
    border-top: 2px dotted var(--red);
}

.help-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto 0;
    height: auto;
    width: 90px;
    padding: 1rem;
    font-family: var(--lilitaOne);
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;
    border: 0 none;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
    position: relative;
    z-index: 9999;
}

body:not(.step-1) .help-button { display: flex; }

#not-supported {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1a1a1a;
    overflow-x: hidden;
    z-index: 9999;
}

#app {
    width: 100%;
    height: auto;
    min-height: 100vh;
    max-width: 100%;
    margin: 0 auto;
    background: #1a1a1a;
    overflow: hidden;
    position: relative;
}

.step {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    transition: all .3s ease;
    z-index: 2;
}

/* ========================
   STEP 1 — HOME (Festival image BG)
   ======================== */

#step-1 { cursor: pointer; }

.home-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background: url(/images/festival-crowd-stage-1c610184e336d0f17164.webp) center bottom / cover no-repeat;
}

.home-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.18) 36%, rgba(0,0,0,0.58) 100%);
}

.home-header {
    text-align: center;
    width: 100%;
    padding-top: 14px;
}

.home-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 0 30px 70px;
    gap: 34px;
}

.home-title-block {
    text-align: center;
    max-width: 360px;
}

.home-title {
    font-family: var(--cocogoose);
    font-size: 2.15rem;
    line-height: 1.05;
    color: #FFF;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.38);
    margin: 0;
}

.home-title-big {
    display: block;
    font-size: 2.45rem;
    white-space: nowrap;
    color: #FFF;
}

.home-number {
    font-family: var(--lilitaOne);
    font-size: 3.2rem;
}

.festival-lockup--home .festival-logo {
    width: min(72vw, 255px);
}

.festival-lockup--home .logo-pb {
    width: min(48vw, 180px);
}

.festival-lockup--home .festival-lockup-ampersand {
    font-size: 1.95rem;
}

body:not(.step-1) #step-1 { transform: translateX(-100%); }

/* ========================
   STEP 2 — ABOUT (Ticket preview)
   ======================== */

body.step-2 #step-2 { transform: translateX(0); }

#step-2 {
    transform: translateX(100%);
    z-index: 2;
    background-color: var(--cream);
}

.about-header {
    padding: 30px 20px 10px;
    text-align: center;
}

.about-title {
    font-family: var(--cocogoose);
    font-size: 1.6rem;
    line-height: 1.2;
    color: var(--black);
    margin: 0;
}

.about-title .red {
    font-family: var(--lilitaOne);
    font-size: 1.8rem;
}

.about-content {
    padding: 10px 30px 30px;
    background-color: var(--cream);
    gap: 15px;
}

.ticket-preview {
    max-width: 270px;
    margin: 10px auto 6px;
}

.ticket-preview-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.2));
}

.about-prize-text {
    font-family: var(--lilitaOne);
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
}

.about-prize-text .big-number {
    font-size: 3.5rem;
    line-height: 1;
}

body.rules-open #step-2 { transform: translateX(-100%); }
body.rules-open #rules { transform: translateX(0); }

/* ========================
   RULES
   ======================== */

#rules {
    height: 100%;
    padding: 1rem;
    transform: translateX(100%);
    z-index: 2;
    background: var(--red);
    overflow-y: auto;
}

#rules .back-link {
    background: none;
    font-size: 0.9rem;
    text-decoration: underline;
    border: none;
    appearance: none;
    cursor: pointer;
    color: #fff;
}

#rules .back-link::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    margin-right: 10px;
    vertical-align: middle;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: rotate(-45deg);
}

#rules .intro-text {
    margin: 15px 0;
    font-family: var(--lilitaOne);
    font-size: 34px;
    line-height: 38px;
    color: #fff;
}

#rules .content {
    padding: 20px 15px;
    background: #FFF;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 10px;
}

#rules .content img {
    max-width: 40vw;
    margin: 10px auto;
}

#rules h1 {
    margin: 1rem auto;
    font-size: 1.6rem;
    line-height: 1.3;
    text-align: center;
}

#rules h2 {
    font-size: 1.2rem;
    text-align: left;
}

#rules .content p {
    margin-bottom: 15px;
    text-align: left;
}

/* ========================
   STEP 3 — REGISTER FORM
   ======================== */

body.step-3 #step-2 { transform: translateX(-100%); }
body.step-3 #step-3 { transform: translateX(0); }

#step-3 {
    transform: translateX(100%);
    z-index: 3;
    background: var(--red);
}

.register-header {
    padding: 30px 30px 0;
}

.register-header .intro-text {
    font-family: var(--cocogoose);
    font-size: 2rem;
    line-height: 1.15;
    color: #FFF;
    margin-bottom: 5px;
}

.register-header .required-mention {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.7;
    color: #FFF;
}

.register-content {
    padding: 15px 25px 30px;
    justify-content: flex-start;
}

#register-form {
    max-width: 100%;
    width: 640px;
    pointer-events: all;
}

#register-form .form-control {
    background-color: #FFF;
    border: 2px solid #FFF;
    border-radius: 8px;
}

#register-form .form-group.invalid .form-control {
    border-color: #ff6b6b;
}

#register-form .form-radio-label,
#register-form .form-check-label {
    color: #FFF;
}

#register-form .form-check-label a { color: #FFF; text-decoration: underline; }

#register-form .btn-primary {
    background-color: #FFF;
    color: var(--red);
    border-color: #FFF;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ========================
   STEP 4 — GAME (Scratch ticket)
   ======================== */

body.step-4 #step-3 { transform: translateX(-100%); }
body.step-4 #step-4 { transform: translateX(0); }

body.step-4 #app {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

#step-4 {
    transform: translateX(100%);
    cursor: pointer;
    z-index: 4;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.game-content {
    min-height: 100vh;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
}

.game-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url(/images/festival-crowd-stage-1c610184e336d0f17164.webp) center bottom / cover no-repeat;
    opacity: 0.75;
    z-index: 0;
}

.game-header {
    text-align: center;
    z-index: 2;
    width: 100%;
}

.festival-lockup--game .festival-logo {
    width: min(54vw, 185px);
}

.game-instruction {
    font-family: var(--cocogoose);
    font-size: 1.6rem;
    line-height: 1.3;
    color: #FFF;
    text-align: center;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    z-index: 2;
    animation: fadeIn 1s ease 0.5s both;
    max-width: 310px;
}

.ticket-container {
    max-width: 320px;
    width: 80%;
    z-index: 2;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.8s ease;
    animation: fadeIn 0.8s ease both;
}

.ticket-container:hover {
    transform: scale(1.03);
}

.ticket-container.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.ticket-img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0,0,0,0.4));
}

.ticket-video {
    width: 100%;
    height: auto;
}

/* ========================
   STEP 5 — RESULTS
   ======================== */

body.step-5 #step-4 { transform: translateX(-100%); }

#results {
    z-index: 5;
    animation: fadeIn 0.5s ease both;
}

.result-content {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* WIN */
.result-win {
    justify-content: flex-start;
    padding: 26px 0 30px;
    background: var(--cream);
}

.result-bg-red {
    width: 100%;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.result-bg-win {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    min-height: 620px;
    padding: 26px 26px 120px;
    justify-content: flex-start;
    background: transparent;
}

.result-title-big {
    font-family: var(--cocogoose);
    font-size: 4rem;
    line-height: 1;
    color: var(--red);
    margin: 0 0 26px;
    text-shadow: none;
    transform: rotate(-8deg);
    position: relative;
    z-index: 4;
}

.result-win-body {
    position: relative;
    z-index: 2;
    background: var(--red);
    border-radius: 42px 42px 28px 28px;
    padding: 58px 26px 44px;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 20px 30px rgba(179, 20, 20, 0.12);
}

.result-win-text {
    font-family: var(--lilitaOne);
    font-size: 1.9rem;
    line-height: 1.18;
    color: #FFF;
    margin-bottom: 28px;
}

.result-festival-logo {
    max-width: 250px;
    width: 100%;
    margin: 0 auto 28px;
    filter: drop-shadow(0 8px 12px rgba(0,0,0,0.16));
}

.result-email-text {
    font-family: var(--lilitaOne);
    font-size: 1rem;
    line-height: 1.28;
    color: #FFF;
    margin-top: 0;
    font-style: normal;
}

.result-confetti {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.confetti-piece {
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    border-radius: 2px;
    will-change: transform, opacity;
}


/* LOSE */
.result-lose {
    justify-content: flex-start;
    padding: 26px 0 30px;
    background: var(--cream);
}

.result-bg-lose {
    position: relative;
    z-index: 2;
    width: min(100%, 360px);
    min-height: 640px;
    padding: 26px 26px 120px;
    justify-content: flex-start;
    background: transparent;
}

.result-title-lose {
    font-family: var(--cocogoose);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--red);
    margin: 0 0 26px;
    transform: rotate(-8deg);
    position: relative;
    z-index: 4;
}

.result-lose-body {
    position: relative;
    z-index: 2;
    background: var(--red);
    border-radius: 42px 42px 28px 28px;
    padding: 58px 24px 44px;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 20px 30px rgba(179, 20, 20, 0.12);
}

.result-lose-text {
    font-family: var(--lilitaOne);
    font-size: 2rem;
    line-height: 1.18;
    color: #FFF;
    margin-bottom: 14px;
}

.result-link {
    display: block;
    width: fit-content;
    min-width: 270px;
    padding: 7px 16px 9px;
    background: #FFF;
    color: var(--red);
    font-family: var(--lilitaOne);
    font-size: 1.22rem;
    line-height: 1;
    text-decoration: none;
    border-radius: 0;
    margin: 0 auto 30px;
}

.result-products-img {
    max-width: 305px;
    width: 100%;
    margin-top: 8px;
}

/* Win result help button override */
.result-content .help-button {
    display: flex;
    background: rgba(227,18,18,0.72);
    color: #FFF;
    margin-top: auto;
    position: relative;
    z-index: 4;
}

/* ========================
   RESPONSIVE
   ======================== */

@media (min-width: 640px) {
    #app {
        max-width: 640px;
        margin: 0 auto;
        border-radius: 0;
    }

    .home-title { font-size: 2.8rem; }
    .home-title-big { font-size: 3.4rem; }
    .game-instruction { font-size: 2rem; }
    .ticket-container { max-width: 380px; }
    .result-title-big { font-size: 5rem; }
    .festival-lockup--home .logo-pb { width: min(38vw, 205px); }
    .festival-lockup--home .festival-logo { width: min(50vw, 290px); }
    .result-bg-win { min-height: 680px; }
    .result-win-text { font-size: 2.1rem; }
    .result-email-text { font-size: 1.15rem; }
    .result-bg-lose { min-height: 690px; }
}

@media (max-width: 380px) {
    .home-title { font-size: 1.5rem; }
    .home-title-big { font-size: 1.8rem; }
    .about-title { font-size: 1.3rem; }
    .about-prize-text { font-size: 1.6rem; }
    .game-instruction { font-size: 1.3rem; }
    .result-title-big { font-size: 3rem; }
    .result-title-lose { font-size: 2.8rem; }
    .festival-lockup--home .logo-pb { width: min(52vw, 168px); }
    .festival-lockup--home .festival-logo { width: min(76vw, 235px); }
    .result-bg-win {
        min-height: 580px;
        padding: 20px 18px 96px;
    }
    .result-win-body {
        border-radius: 38px 38px 24px 24px;
        padding: 50px 20px 34px;
    }
    .result-win-text { font-size: 1.65rem; }
    .result-email-text { font-size: 0.92rem; }
    .result-bg-lose {
        min-height: 590px;
        padding: 20px 18px 96px;
    }
    .result-lose-body {
        border-radius: 38px 38px 24px 24px;
        padding: 48px 18px 34px;
    }
    .result-lose-text { font-size: 1.7rem; }
    .result-link {
        min-width: 220px;
        font-size: 1rem;
    }
    .result-products-img { max-width: 255px; }
}

