:root {
  --ink: #101a3d;
  --muted: #63708a;
  --line: #dde7f3;
  --paper: #ffffff;
  --soft: #fff8ef;
  --navy: #10245a;
  --green: #12a86f;
  --cyan: #05a8d6;
  --yellow: #ffd45c;
  --coral: #ff5b66;
  --violet: #7958ff;
  --shadow: 0 22px 54px rgba(16, 36, 90, 0.14);
  --yagane-orange: #ff3d0a;
  --yagane-dark: #080914;
  --yagane-panel: #111321;
  --yagane-panel-2: #1a1d2f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 212, 92, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(5, 168, 214, 0.12), transparent 24%),
    linear-gradient(135deg, #fffaf3, #f6fbff);
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
}

.home-shell {
  color: white;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 61, 10, 0.2), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(255, 170, 0, 0.16), transparent 26%),
    linear-gradient(180deg, #151724 0%, var(--yagane-dark) 34%, #070812 100%);
}

.home {
  display: grid;
  align-content: start;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(30px, 6vw, 74px) clamp(18px, 5vw, 70px) 40px;
}

.home::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

.home-hero {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(22px, 4vw, 34px);
  padding-top: clamp(20px, 6vh, 56px);
  text-align: center;
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.home-hero::before {
  width: 210px;
  height: 210px;
  top: 10px;
  left: calc(50% - 360px);
  background: radial-gradient(circle, rgba(255, 61, 10, 0.18), transparent 68%);
}

.home-hero::after {
  width: 260px;
  height: 260px;
  right: calc(50% - 390px);
  top: 70px;
  background: radial-gradient(circle, rgba(255, 212, 92, 0.15), transparent 70%);
}

.home-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 12px 22px;
  border-radius: 18px;
  color: white;
  background: linear-gradient(135deg, var(--yagane-orange), #ff6a00);
  box-shadow:
    0 24px 60px rgba(255, 61, 10, 0.32),
    inset 0 -4px 0 rgba(0, 0, 0, 0.16);
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  transform: rotate(-2deg);
}

.home-logo span {
  font-style: italic;
}

.home-logo strong {
  color: #fff2cf;
  font-style: italic;
}

.home-logo em {
  color: white;
  font-size: 0.52em;
  font-style: normal;
  font-weight: 950;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: white;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.home-enter-button {
  min-width: min(100%, 360px);
  min-height: 70px;
  padding: 18px 34px;
  border-radius: 12px;
  color: white;
  background: linear-gradient(135deg, var(--yagane-orange), #ff7a00);
  box-shadow:
    0 24px 44px rgba(255, 61, 10, 0.34),
    inset 0 -4px 0 rgba(93, 18, 0, 0.32);
  font-size: 24px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-values {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1120px, 100%);
  margin: clamp(44px, 8vh, 84px) auto 0;
}

.home-values article {
  min-height: 190px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    var(--yagane-panel);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.value-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 14px;
  background: var(--yagane-panel-2);
  font-size: 26px;
}

.home-values article:nth-child(1) .value-icon {
  background: linear-gradient(135deg, #ff3d0a, #ff9d00);
}

.home-values article:nth-child(2) .value-icon {
  background: linear-gradient(135deg, #41485f, #111321);
}

.home-values article:nth-child(3) .value-icon {
  background: linear-gradient(135deg, #ffd45c, #ff6a00);
}

.home-values article:nth-child(4) .value-icon {
  background: linear-gradient(135deg, #ff3d0a, #5d43ff);
}

.home-values strong {
  display: block;
  color: white;
  font-size: 19px;
  line-height: 1.15;
}

.home-values p {
  margin: 10px 0 0;
  color: #b9bfd4;
  font-size: 14px;
  line-height: 1.45;
}

.home-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  margin-top: clamp(28px, 5vh, 48px);
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.home-footer a {
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
}

.home-footer a:hover {
  color: white;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.catalog-shell {
  color: white;
  background: #080914;
}

.catalog-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px clamp(16px, 4vw, 34px);
  border-bottom: 0;
  background: var(--yagane-orange);
  backdrop-filter: none;
}

.catalog-topbar .brand {
  color: white;
  font-size: 22px;
}

.catalog-topbar .brand-ticket {
  width: 34px;
  height: 28px;
  background: white;
  box-shadow: none;
}

.catalog-topbar .brand-ticket::before {
  border-color: var(--yagane-orange);
}

.catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-register,
.header-login,
.catalog-user {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.header-register {
  border: 2px solid white;
  background: transparent;
}

.header-login {
  background: #13a96b;
}

.catalog-user {
  display: inline-flex;
  align-items: center;
  text-transform: none;
  background: rgba(255, 255, 255, 0.16);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  background: transparent;
  font-weight: 950;
  font-size: 18px;
}

.brand-ticket {
  position: relative;
  width: 42px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  transform: rotate(-7deg);
  box-shadow: 0 12px 24px rgba(255, 91, 102, 0.2);
}

.brand-ticket::before {
  content: "";
  position: absolute;
  inset: 8px 7px;
  border: 3px solid white;
  border-left-style: dashed;
  border-right-style: dashed;
  border-radius: 5px;
}

.topnav {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: white;
}

.topnav button {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--navy);
  background: transparent;
  font-weight: 850;
}

.topnav button.active {
  color: white;
  background: var(--navy);
}

.account-chip {
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 10px 14px;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg, var(--green), #0bbf9e);
  box-shadow: 0 16px 30px rgba(18, 168, 111, 0.2);
}

.account-chip span {
  overflow: hidden;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-chip strong {
  font-size: 17px;
}

.primary-button,
.ghost-button,
.back-link,
.balance-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  color: white;
  background: linear-gradient(135deg, var(--green), #0abf9b);
  box-shadow: 0 18px 34px rgba(18, 168, 111, 0.22);
}

.ghost-button,
.back-link,
.balance-card {
  border: 2px solid var(--line);
  color: var(--navy);
  background: white;
}

.back-link {
  margin-bottom: 16px;
}

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(370px, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(30px, 5vw, 72px) clamp(18px, 5vw, 74px);
}

.mini-label,
.category {
  display: inline-flex;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  color: #08734f;
  background: #e8fff4;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.welcome h1,
.page-head h1,
.detail-info h1,
.auth-card h1,
.wallet-card h1,
.thanks-card h1 {
  margin: 14px 0;
  color: var(--navy);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.welcome p,
.page-head p,
.detail-info p,
.auth-card p,
.wallet-card p,
.thanks-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.value-strip article,
.sample-card,
.auth-card,
.auth-aside,
.raffle-card,
.owned-box,
.purchase-panel,
.wallet-card,
.thanks-card,
.progress-panel {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.value-strip article {
  padding: 16px;
  border-bottom: 5px solid var(--yellow);
}

.value-strip span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--coral);
  font-weight: 950;
}

.value-strip strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.value-strip p {
  margin: 5px 0 0;
  font-size: 14px;
}

.welcome-stage {
  position: relative;
}

.draw-machine {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 34px 24px;
  border: 2px solid rgba(16, 36, 90, 0.08);
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(135deg, #fff1f1, #fff9df, #e8faff);
}

.draw-machine span {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 4px solid white;
  border-radius: 999px;
  color: white;
  background: var(--coral);
  font-size: 24px;
  font-weight: 950;
  box-shadow: 0 12px 18px rgba(16, 36, 90, 0.16);
}

.draw-machine span:nth-child(2) {
  color: var(--navy);
  background: var(--yellow);
  transform: translateY(-14px);
}

.draw-machine span:nth-child(3) {
  background: var(--cyan);
}

.draw-machine span:nth-child(4) {
  background: var(--violet);
  transform: translateY(-6px);
}

.sample-card {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  margin: -18px auto 0;
  padding: 18px;
}

.sample-card h2 {
  margin: 12px 0 8px;
  color: var(--navy);
  font-size: 30px;
}

.progress {
  height: 13px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf7;
}

.progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--green), var(--cyan));
}

.prize-photo {
  position: relative;
  min-height: 190px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #ff3d0a, #ffb000);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.prize-photo::before {
  display: grid;
  min-height: inherit;
  place-items: center;
  color: white;
  font-size: 46px;
  font-weight: 950;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.prize-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 18%),
    linear-gradient(135deg, transparent, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.prize-cash::before {
  content: "S/100";
}

.prize-appliance::before {
  content: "Freidora";
}

.prize-phone::before {
  content: "Smartphone";
}

.prize-bike {
  background: linear-gradient(135deg, #13a96b, #074b37);
}

.prize-bike::before {
  content: "Bicicleta";
}

.prize-tv {
  background: linear-gradient(135deg, #3957ff, #090b20);
}

.prize-tv::before {
  content: "Smart TV";
}

.prize-voucher {
  background: linear-gradient(135deg, #ff3d0a, #7a1cff);
}

.prize-voucher::before {
  content: "Vale S/300";
}

.auth-page,
.wallet-page,
.thanks-page {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(260px, 380px);
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 5vw, 64px);
}

.auth-card,
.auth-aside,
.wallet-card,
.thanks-card {
  padding: 24px;
}

.auth-card form,
.wallet-card {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

input {
  min-height: 48px;
  padding: 12px 13px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.auth-aside ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.catalog-page,
.detail-page {
  padding: clamp(24px, 5vw, 58px);
}

.catalog-page {
  min-height: calc(100vh - 70px);
  padding: 18px clamp(14px, 4vw, 34px) 44px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 61, 10, 0.14), transparent 28%),
    linear-gradient(180deg, #111321 0%, #080914 100%);
}

.coin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin: 10px 0 22px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #151827;
}

.coin-icon {
  display: grid;
  float: left;
  width: 48px;
  height: 48px;
  margin-right: 12px;
  place-items: center;
  border-radius: 999px;
  background: #272b42;
  font-size: 26px;
}

.coin-panel h1 {
  margin: 0 0 4px;
  color: white;
  font-size: clamp(24px, 4vw, 36px);
}

.coin-panel p {
  margin: 0;
  color: #b7bdd1;
}

.coin-balance {
  display: grid;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #23283b;
}

.coin-balance span {
  color: #b7bdd1;
  font-size: 12px;
  font-weight: 800;
}

.coin-balance strong {
  color: #ffd45c;
  font-size: 30px;
  line-height: 1;
}

.coin-button {
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 12px;
  color: white;
  background: var(--yagane-orange);
  font-weight: 950;
}

.catalog-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.catalog-title-row h2 {
  margin: 0 0 4px;
  color: white;
  font-size: clamp(24px, 4vw, 34px);
}

.catalog-title-row p {
  margin: 0;
  color: #aeb5ca;
}

.catalog-title-row > span {
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: #454b62;
  font-size: 13px;
  font-weight: 950;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.page-head h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.balance-card {
  display: grid;
  min-width: 190px;
  text-align: left;
}

.balance-card span {
  color: var(--muted);
  font-size: 12px;
}

.balance-card strong {
  color: var(--green);
  font-size: 28px;
}

.raffle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.raffle-card {
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 12px 2px 2px;
}

.card-body h2 {
  margin: 0;
  color: white;
  font-size: 18px;
}

.card-body p {
  margin: 0;
  color: #b9bfd4;
  font-size: 14px;
  line-height: 1.45;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #b9bfd4;
}

.card-meta strong {
  color: white;
  font-size: 24px;
}

.raffle-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin: 3px 0;
}

.raffle-facts div {
  min-width: 0;
  padding: 8px;
  border-radius: 10px;
  background: #171a29;
}

.raffle-facts dt {
  color: #8d95ad;
  font-size: 10px;
  font-weight: 850;
}

.raffle-facts dd {
  margin: 2px 0 0;
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.catalog-page .category {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  color: white;
  background: #13a96b;
  font-size: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.catalog-page .primary-button {
  min-height: 42px;
  background: #13a96b;
  box-shadow: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
}

.prize-photo.big {
  min-height: 430px;
}

.owned-box {
  margin-top: 16px;
  padding: 16px;
}

.owned-box > div,
.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.owned-box span,
.selected-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--navy);
  font-weight: 950;
}

.detail-info h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.progress-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px;
  margin: 18px 0 12px;
  box-shadow: none;
}

.progress-panel div {
  padding: 12px;
  border-radius: 8px;
  background: #f6f9fd;
}

.progress-panel strong {
  display: block;
  color: var(--navy);
  font-size: 24px;
}

.progress-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.purchase-panel {
  margin-top: 18px;
  padding: 18px;
}

.mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.mode-tabs button {
  min-height: 40px;
  padding: 9px 12px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: white;
  font-weight: 900;
}

.mode-tabs button.active {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.ticket-board {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  max-height: 330px;
  overflow: auto;
  padding-right: 4px;
}

.ticket-board button {
  aspect-ratio: 1;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: white;
  font-weight: 950;
}

.ticket-board button.selected {
  color: white;
  border-color: var(--green);
  background: var(--green);
}

.ticket-board button.taken {
  color: #99a4b5;
  background: #eef2f7;
  text-decoration: line-through;
}

.ticket-board button.owned {
  color: white;
  background: var(--violet);
  text-decoration: none;
}

.random-box {
  padding: 16px;
  border: 2px dashed #c9d6e6;
  border-radius: 8px;
  background: #fbfdff;
}

.qty-control {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  max-width: 210px;
  margin: 12px 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.qty-control button {
  min-height: 44px;
  background: white;
  color: var(--coral);
  font-size: 22px;
  font-weight: 950;
}

.qty-control strong {
  text-align: center;
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-row span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.checkout-row strong {
  color: var(--navy);
  font-size: 24px;
}

.wallet-page,
.thanks-page {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.wallet-amount {
  padding: 22px;
  border-radius: 8px;
  color: var(--green);
  background: #eafff5;
  font-size: 44px;
  font-weight: 950;
}

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

.pay-grid button {
  min-height: 56px;
  border: 2px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: white;
  font-weight: 950;
}

.pay-grid button.active {
  color: white;
  border-color: var(--navy);
  background: var(--navy);
}

.thanks-card {
  text-align: center;
}

.success-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 42px;
  font-weight: 950;
}

.selected-list.big {
  justify-content: center;
  margin: 24px 0;
}

.selected-list.big span {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, var(--coral), var(--violet));
  font-size: 22px;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: var(--navy);
  box-shadow: var(--shadow);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .home-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .welcome,
  .detail-grid,
  .raffle-grid {
    grid-template-columns: 1fr;
  }

  .welcome {
    min-height: auto;
  }

  .raffle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .coin-panel {
    grid-template-columns: 1fr;
  }

  .coin-balance {
    min-width: 0;
  }
}

@media (max-width: 720px) {
  .home {
    padding: 24px 16px 30px;
  }

  .home-logo {
    border-radius: 14px;
    font-size: 44px;
  }

  .home-hero h1 {
    font-size: 34px;
  }

  .home-enter-button {
    min-height: 62px;
    font-size: 20px;
  }

  .home-values {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .home-values article {
    min-height: 0;
  }

  .topbar {
    position: static;
    flex-wrap: wrap;
  }

  .topnav {
    order: 3;
    width: 100%;
    overflow-x: auto;
  }

  .welcome,
  .auth-page,
  .catalog-page,
  .detail-page,
  .wallet-page,
  .thanks-page {
    padding: 22px 16px;
  }

  .welcome h1,
  .auth-card h1,
  .page-head h1,
  .detail-info h1 {
    font-size: 40px;
  }

  .value-strip,
  .raffle-grid,
  .progress-panel,
  .checkout-row,
  .pay-grid,
  .raffle-facts {
    grid-template-columns: 1fr;
  }

  .catalog-topbar {
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .catalog-topbar .brand {
    font-size: 18px;
  }

  .catalog-actions {
    margin-left: auto;
  }

  .header-register,
  .header-login,
  .catalog-user {
    padding: 8px 10px;
    font-size: 12px;
  }

  .catalog-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-head,
  .thanks-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ticket-board {
    grid-template-columns: repeat(5, 1fr);
  }
}
