/* ============================================
   Brawl Stars Store — Mobile First
   ============================================ */

:root {
  --sc-black: #000000;
  --sc-dark-gray: #191919;
  --sc-medium-gray: #666666;
  --sc-gray: #CCCCCC;
  --sc-white: #FFFFFF;
  --sc-yellow: #F7DB1C;
  --sc-yellow-dark: #D4B800;
  --sc-blue: #2D85F3;
  --sc-green: #21C49F;
  --sc-pink: #FB62AA;

  --font: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --radius-lg: 16px;
  --header-h: 52px;
  --sticky-h: 72px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--sc-black);
  color: var(--sc-white);
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: calc(var(--sticky-h) + var(--safe-bottom));
  -webkit-tap-highlight-color: transparent;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; -webkit-tap-highlight-color: transparent; }

.main { padding-top: var(--header-h); }

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--safe-top);
}

.header__inner {
  height: var(--header-h);
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img { height: 24px; width: auto; }

.header__login {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--sc-white);
  font-weight: 700;
  font-size: 0.8rem;
  min-height: 44px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 999px;
  padding: 14px 24px;
  min-height: 48px;
  transition: transform 0.15s ease, opacity 0.15s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  touch-action: manipulation;
}

.btn:active:not(:disabled) { transform: scale(0.97); }

.btn--primary {
  background: linear-gradient(135deg, var(--sc-yellow) 0%, #FF8C00 100%);
  color: var(--sc-black);
  box-shadow: 0 4px 20px rgba(247, 219, 28, 0.3);
}

.btn--primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--lg { padding: 16px 28px; font-size: 0.95rem; min-height: 52px; }
.btn--full { width: 100%; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 24px 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% 0%, rgba(155, 89, 182, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 50% at 80% 50%, rgba(247, 219, 28, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero__visual--desktop {
  display: none;
}

.pass-card {
  position: relative;
  width: 100%;
  max-width: 300px;
}

.pass-card__glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle, rgba(247, 219, 28, 0.15) 0%, transparent 70%);
  border-radius: var(--radius-lg);
}

.pass-card__inner {
  position: relative;
  background: linear-gradient(160deg, #1a1a2e 0%, var(--sc-dark-gray) 50%, #16213e 100%);
  border: 1px solid rgba(247, 219, 28, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.pass-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.pass-card__season {
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--sc-gray);
  text-transform: uppercase;
}

.pass-card__plus {
  background: linear-gradient(135deg, var(--sc-yellow), #FF6B35);
  color: var(--sc-black);
  font-weight: 900;
  font-size: 0.65rem;
  padding: 3px 10px;
  border-radius: 999px;
}

.pass-card__icon { width: 56px; height: 56px; margin: 0 auto 12px; }

.pass-card__title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.pass-card__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.pass-card__perks li {
  font-size: 0.75rem;
  color: var(--sc-gray);
  padding-left: 16px;
  position: relative;
}

.pass-card__perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sc-green);
  font-weight: 900;
  font-size: 0.7rem;
}

.pass-card__price {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pass-card__old {
  display: block;
  font-size: 0.8rem;
  color: var(--sc-medium-gray);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.pass-card__free {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--sc-green);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--sc-yellow);
}

.hero__badge img { border-radius: 8px; }

.hero__title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--sc-yellow), #FF6B35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 0.95rem;
  color: var(--sc-gray);
  margin-bottom: 28px;
  line-height: 1.6;
}

.btn--hero {
  display: flex;
  width: 100%;
  min-height: 56px;
  font-size: 1rem;
  padding: 18px 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 28px rgba(247, 219, 28, 0.45);
  animation: cta-pulse 2.5s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(247, 219, 28, 0.4); }
  50% { box-shadow: 0 8px 36px rgba(247, 219, 28, 0.65); }
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 0;
}

.hero__stat strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--sc-yellow);
}

.hero__stat span {
  font-size: 0.75rem;
  color: var(--sc-medium-gray);
}

/* ---- Sticky CTA ---- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: linear-gradient(to top, rgba(0,0,0,0.98) 70%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.sticky-cta .btn {
  font-size: 0.85rem;
  min-height: 52px;
  box-shadow: 0 -4px 24px rgba(247, 219, 28, 0.2);
}

.sticky-cta.hidden { display: none; }

/* ---- Bonus Banner ---- */
.bonus-banner {
  background: var(--sc-dark-gray);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 16px;
}

.bonus-banner__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.bonus-banner__item { text-align: center; }

.bonus-banner__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sc-yellow);
  line-height: 1.2;
  margin-bottom: 4px;
}

.bonus-banner__item p {
  font-size: 0.7rem;
  color: var(--sc-medium-gray);
  line-height: 1.3;
}

/* ---- Section ---- */
.section {
  padding: 40px 16px;
}

.section__header {
  text-align: center;
  margin-bottom: 24px;
}

.section__header h2 {
  font-size: 1.25rem;
  font-weight: 900;
}

/* ---- Steps ---- */
.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.step__number {
  width: 32px;
  height: 32px;
  background: var(--sc-yellow);
  color: var(--sc-black);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__body h3 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.step__body p {
  font-size: 0.8rem;
  color: var(--sc-gray);
  line-height: 1.4;
}

/* ---- Trust ---- */
.trust {
  padding: 24px 16px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust__inner {
  display: flex;
  justify-content: space-around;
  gap: 8px;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--sc-gray);
  text-align: center;
}

.trust__item svg {
  width: 20px;
  height: 20px;
  color: var(--sc-green);
}

/* ---- Footer ---- */
.footer {
  padding: 24px 16px 16px;
  text-align: center;
}

.footer__disclaimer {
  font-size: 0.65rem;
  color: var(--sc-medium-gray);
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer__copy {
  font-size: 0.65rem;
  color: var(--sc-medium-gray);
}

/* ============================================
   MODAL CENTRÉ
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  visibility: hidden;
  pointer-events: none;
}

.modal-overlay.active {
  visibility: visible;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active .modal-backdrop { opacity: 1; }

.modal {
  position: relative;
  background: var(--sc-dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  max-height: 85dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 28px 20px 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.92) translateY(10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--sc-white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal__header {
  text-align: center;
  margin-bottom: 24px;
  padding-right: 32px;
}

.modal__header img {
  margin: 0 auto 12px;
  border-radius: 12px;
}

.modal__header h2 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.modal__header p {
  color: var(--sc-gray);
  font-size: 0.9rem;
}

.modal-step--hidden { display: none; }

.modal__shield-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(33, 196, 159, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-green);
}

.modal__shield-icon svg { width: 24px; height: 24px; }

/* ---- Modal Form ---- */
.modal-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--sc-gray);
}

.modal-form__input-wrap {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: border-color var(--transition);
}

.modal-form__input-wrap:focus-within {
  border-color: var(--sc-yellow);
}

.modal-form__prefix {
  padding: 0 4px 0 16px;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--sc-yellow);
}

.modal-form__input-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--sc-white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 16px 16px 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  min-height: 52px;
}

.modal-form__input-wrap input::placeholder {
  color: var(--sc-medium-gray);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.modal-form__hint {
  font-size: 0.8rem;
  color: var(--sc-medium-gray);
  margin-bottom: 20px;
  line-height: 1.4;
}

.modal-note {
  font-size: 0.7rem;
  color: var(--sc-medium-gray);
  text-align: center;
  margin-top: 14px;
}

/* ---- Verify ---- */
.modal-verify {
  text-align: center;
  padding: 24px 0;
}

.modal-verify__spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border: 3px solid rgba(247, 219, 28, 0.2);
  border-top-color: var(--sc-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.modal-verify h2 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.modal-verify p {
  color: var(--sc-gray);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.modal-verify__progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 16px;
}

.modal-verify__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sc-yellow), var(--sc-green));
  border-radius: 999px;
  transition: width 0.5s ease;
}

.modal-verify__info {
  font-size: 0.85rem;
  color: var(--sc-medium-gray);
}

.modal-verify__info strong { color: var(--sc-yellow); }

/* ---- Captcha button ---- */
.captcha-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  background: #fff;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 16px 18px;
  min-height: 56px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  touch-action: manipulation;
}

.captcha-btn:active {
  border-color: #4285F4;
  box-shadow: 0 0 0 1px #4285F4;
}

.captcha-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.captcha-btn__box {
  width: 28px;
  height: 28px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  flex-shrink: 0;
}

.captcha-btn__text {
  font-size: 1rem;
  font-weight: 500;
  color: #202124;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-align: left;
}

/* ============================================
   LOCKER PAGE
   ============================================ */
.locker-page {
  padding: calc(var(--header-h) + 16px) 16px 32px;
  min-height: 100vh;
  min-height: 100dvh;
}

body:has(.locker-page) {
  padding-bottom: var(--safe-bottom);
}

.locker-page__inner { max-width: 640px; margin: 0 auto; }

.locker-page__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.locker-page__header img { border-radius: 12px; flex-shrink: 0; }

.locker-page__header h1 {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.locker-page__header p {
  color: var(--sc-gray);
  font-size: 0.85rem;
}

.locker-account {
  background: var(--sc-dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 4px 16px;
  margin-bottom: 16px;
}

.locker-account__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 12px;
}

.locker-account__row + .locker-account__row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.locker-account__label {
  font-size: 0.8rem;
  color: var(--sc-medium-gray);
  flex-shrink: 0;
}

.locker-account__tag {
  font-weight: 800;
  color: var(--sc-yellow);
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  text-align: right;
  word-break: break-all;
}

.locker-account__item {
  font-weight: 700;
  font-size: 0.85rem;
  text-align: right;
}

.locker-account__price {
  font-weight: 900;
  color: var(--sc-green);
  font-size: 1rem;
}

.locker-card {
  background: var(--sc-dark-gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.locker-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sc-gray);
}

.locker-card__header svg { color: var(--sc-green); flex-shrink: 0; }

.locker-card__timer {
  margin-left: auto;
  color: var(--sc-pink);
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
}

.locker-iframe-wrap { display: none; }
.locker-iframe-wrap.active { display: block; }

.locker-iframe-wrap iframe {
  width: 100%;
  height: 70vh;
  height: 70dvh;
  border: none;
  background: #fff;
}

.locker-offers { padding: 16px; }
.locker-offers.hidden { display: none; }

.locker-offers__desc {
  font-size: 0.85rem;
  color: var(--sc-gray);
  margin-bottom: 14px;
  line-height: 1.5;
}

.locker-offers__desc strong { color: var(--sc-white); }

.locker-offers__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px;
  min-height: 72px;
  width: 100%;
  color: var(--sc-white);
  font-family: var(--font);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
  touch-action: manipulation;
}

.offer-item:active {
  border-color: var(--sc-yellow);
  background: rgba(247, 219, 28, 0.06);
}

.offer-item__rank {
  width: 36px;
  height: 36px;
  background: rgba(247, 219, 28, 0.15);
  color: var(--sc-yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.offer-item__info {
  flex: 1;
  min-width: 0;
}

.offer-item__title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 3px;
  line-height: 1.3;
}

.offer-item__desc {
  font-size: 0.75rem;
  color: var(--sc-medium-gray);
  line-height: 1.3;
}

.offer-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.offer-item__badge {
  font-size: 0.6rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  white-space: nowrap;
}

.offer-item__badge--easy { background: rgba(33, 196, 159, 0.15); color: var(--sc-green); }
.offer-item__badge--fast { background: rgba(45, 133, 243, 0.15); color: var(--sc-blue); }
.offer-item__badge--hot { background: rgba(251, 98, 170, 0.15); color: var(--sc-pink); }

.offer-item__time { font-size: 0.65rem; color: var(--sc-medium-gray); }

.offer-item__arrow {
  color: var(--sc-yellow);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.locker-page__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.75rem;
  color: var(--sc-medium-gray);
}

.locker-page__secure svg { color: var(--sc-green); flex-shrink: 0; }

/* ---- Success ---- */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + var(--safe-bottom));
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-modal {
  background: var(--sc-dark-gray);
  border: 1px solid rgba(33, 196, 159, 0.3);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.success-modal__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(33, 196, 159, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-green);
}

.success-modal__icon svg { width: 28px; height: 28px; }

.success-modal h2 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--sc-green);
  margin-bottom: 10px;
}

.success-modal p {
  font-size: 0.9rem;
  color: var(--sc-gray);
  margin-bottom: 6px;
}

.success-modal__note {
  font-size: 0.8rem !important;
  margin-bottom: 20px !important;
}

/* ---- Shake ---- */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake { animation: shake 0.4s ease; }

/* ============================================
   DESKTOP ENHANCEMENTS
   ============================================ */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
  }

  .header__logo img { height: 28px; }

  .hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    min-height: calc(100vh - 64px);
  }

  .hero__visual--desktop {
    display: flex;
    order: 2;
    position: relative;
    z-index: 1;
    justify-content: center;
  }

  .hero__content { order: 1; text-align: left; }

  .hero__title { font-size: clamp(2.5rem, 4vw, 3.5rem); }
  .hero__subtitle { max-width: 440px; margin-left: 0; margin-bottom: 36px; }
  .hero__stats { justify-content: flex-start; margin-bottom: 0; }

  .btn--hero {
    display: inline-flex;
    width: auto;
    animation: none;
    margin-bottom: 40px;
  }

  .sticky-cta { display: none; }

  .pass-card { max-width: 360px; }
  .pass-card__inner { padding: 28px; }
  .pass-card__perks { flex-direction: column; align-items: flex-start; }
  .pass-card__perks li { font-size: 0.85rem; }

  .bonus-banner { padding: 40px 24px; }
  .bonus-banner__inner { max-width: 800px; margin: 0 auto; gap: 48px; }
  .bonus-banner__value { font-size: 2rem; }

  .section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
  }

  .section__header h2 { font-size: 2rem; }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    padding: 32px 20px;
    position: relative;
  }

  .step__number {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .trust__inner { max-width: 600px; margin: 0 auto; }
  .trust__item { flex-direction: row; font-size: 0.85rem; }

  .footer { padding: 40px 24px; }

  .modal { max-width: 440px; padding: 36px 32px; }

  .locker-page {
    padding: 100px 24px 60px;
  }

  .success-overlay {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .btn--hero { animation: none; }
}
