:root {
  --bg: #06080f;
  --panel: #101420;
  --panel-2: #1a2131;
  --accent: #f2ba2a;
  --accent-2: #ffd449;
  --text: #ffffff;
  --muted: #f2f2f2;
  --good: #f2ba2a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Rajdhani", "Inter", sans-serif;
  font-weight: 500;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(to right, #000000 0, rgba(0, 0, 0, 0) 90px),
    linear-gradient(to left, #000000 0, rgba(0, 0, 0, 0) 90px),
    radial-gradient(circle at 30% 20%, #191f31, var(--bg));
  background-repeat: no-repeat;
  background-attachment: fixed, fixed, scroll;
  background-size: 100% 100%, 100% 100%, auto;
  min-height: 100vh;
}

#app {
  width: min(100vw, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px 40px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.topbar-logo-wrap {
  display: inline-flex;
  align-items: center;
}

.topbar-logo {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(242, 186, 42, 0.2));
}

.brand-logo {
  display: block;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: screen-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-card,
.panel,
.current-player-card,
.players-list,
.score-input-box,
.keypad {
  background: linear-gradient(120deg, rgba(15, 19, 30, 0.97), rgba(24, 29, 44, 0.95));
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.hero-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100vh - 90px);
  display: grid;
  place-items: center;
  text-align: center;
  gap: 14px;
  padding: 30px 24px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: conic-gradient(from 180deg at 50% 50%, rgba(242, 186, 42, 0.65), rgba(255, 255, 255, 0.15), rgba(242, 186, 42, 0.6));
  animation: spin-border 8s linear infinite;
  z-index: -2;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(11, 14, 22, 0.98), rgba(22, 26, 39, 0.96));
  z-index: -1;
}

.logo-wrap {
  z-index: 2;
  width: min(88vw, 980px);
  min-height: 120px;
}

.hero-logo {
  width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(242, 186, 42, 0.35));
}

.hero-glow {
  display: none;
}

.slogan {
  z-index: 2;
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent-2);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  position: relative;
  padding-bottom: 16px;
}

.slogan::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: slogan-line 2.6s ease-in-out infinite;
}

.brand-title {
  z-index: 2;
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  letter-spacing: 3px;
  background: linear-gradient(100deg, #ffffff 0%, #ffd449 22%, #f2ba2a 45%, #ffffff 60%, #ffd449 82%, #f2ba2a 100%);
  background-size: 220% auto;
  background-position: 0 center;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine-sweep 6s linear infinite;
}

.home-cta {
  width: 100%;
  min-height: 94px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  letter-spacing: 1.4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-cta span {
  display: inline-block;
  transform: translateY(1px);
  font-size: inherit;
  line-height: 1;
  font-weight: 700;
  min-width: 14ch;
  text-align: center;
}

.home-cta:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 16px 34px rgba(242, 186, 42, 0.22);
}

.home-badges {
  z-index: 2;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-badges span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
}

.hero-credit {
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  letter-spacing: 1px;
}

h1,
h2,
.match-font,
.brand-title {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

.hero-card h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.hero-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.home-language {
  z-index: 2;
  display: inline-flex;
  gap: 8px;
  margin-top: 4px;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  min-width: 70px;
  min-height: 44px;
  border-radius: 12px;
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.lang-btn:active {
  transform: scale(0.88);
}

.lang-btn.active {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #161616;
  border-color: rgba(242, 186, 42, 0.7);
}

.home-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 340px);
  gap: 14px;
  justify-content: center;
}

button,
.secondary-btn,
select,
input {
  font: inherit;
  letter-spacing: 1px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  border: none;
  border-radius: 14px;
  padding: 12px 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.primary-btn:active,
.ghost-btn:active {
  transform: scale(0.9);
}

.primary-btn {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
}

.secondary-btn,
.ghost-btn {
  background: rgba(255, 255, 255, 0.08);
}

.secondary-btn.home-cta {
  border: 1px solid rgba(242, 186, 42, 0.45);
  background: linear-gradient(120deg, rgba(255,255,255,0.08), rgba(242,186,42,0.12));
}

.panel {
  max-width: 920px;
  margin: 0 auto;
  padding: 18px;
}

.panel h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
}

.field-row {
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

select,
.player-name {
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 12px;
  border-radius: 10px;
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.switch-toggle {
  position: relative;
  display: inline-flex;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 4px;
}

.switch-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.switch-toggle label {
  position: relative;
  z-index: 1;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
  text-align: center;
  min-width: 110px;
}

.switch-toggle input:checked + label {
  color: #151515;
}

.switch-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 16px rgba(242, 186, 42, 0.4);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#out-mode-single:checked ~ .switch-thumb {
  transform: translateX(100%);
}

.tile-picker {
  display: inline-flex;
  gap: 6px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 4px;
}

.tile-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  font-size: 1.05rem;
  min-width: 46px;
  min-height: 40px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.tile-btn:active {
  transform: scale(0.88);
}

.tile-btn.active {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
  box-shadow: 0 0 14px rgba(242, 186, 42, 0.4);
}

.start-game-btn {
  display: block;
  margin: 26px auto 0;
  min-width: 240px;
  min-height: 60px;
  font-size: 1.35rem;
}

.game-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.game-controls {
  display: flex;
  gap: 8px;
}

.game-layout {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 14px;
  align-items: start;
}

.score-side {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
}

.current-player-card {
  padding: 18px 22px;
  border-color: rgba(242, 186, 42, 0.4);
  animation: glow-breathe 3.2s ease-in-out infinite;
}

.current-player-card.card-enter {
  animation: glow-breathe 3.2s ease-in-out infinite, card-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.now-throwing-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.current-player-name {
  margin: 2px 0 0;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: var(--accent-2);
}

.current-player-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}

.current-player-score .big {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: clamp(4rem, 8vw, 6.2rem);
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 0 40px rgba(242, 186, 42, 0.35);
}

.remaining-label {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.avg-line {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

.checkout {
  margin-top: 8px;
  padding: 7px 12px;
  border-radius: 10px;
  width: fit-content;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(242, 186, 42, 0.35);
}

.players-list {
  list-style: none;
  margin: 0;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.players-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 8px 10px 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.players-list li:last-child {
  border-bottom: none;
}

.players-list li.is-current {
  border-left: 4px solid var(--accent);
  padding: 10px 14px 10px 10px;
  background: rgba(242, 186, 42, 0.08);
  border-radius: 10px;
}

.players-list li.is-current span {
  color: var(--accent-2);
  font-weight: 700;
  font-size: 1.1rem;
}

.players-list li.is-current strong {
  color: var(--accent-2);
  font-size: 1.4rem;
}

.players-list strong {
  font-size: 1.2rem;
}

.score-input-box {
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

#score-input {
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: #171717;
  border-radius: 12px;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

.input-mode-heading {
  margin: 0 0 10px;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.input-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.mode-btn {
  border: none;
  border-radius: 12px;
  padding: 12px 10px;
  min-height: 46px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.mode-btn:active {
  transform: scale(0.92);
}

.mode-btn.active {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
}

.input-side .keypad-group,
.input-side .score-input-box,
.input-side .darts-input-box {
  display: none;
}

.input-side.mode-sum .score-input-box {
  display: grid;
}

.input-side.mode-sum #keypad-group-sum {
  display: block;
}

.input-side.mode-darts .darts-input-box {
  display: grid;
}

.input-side.mode-darts #keypad-group-darts {
  display: block;
}

.darts-input-box {
  padding: 10px;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: stretch;
}

.dart-slots {
  display: flex;
  gap: 6px;
}

.dart-slot {
  flex: 1;
  min-width: 52px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.dart-slot.filled {
  background: rgba(255, 255, 255, 0.92);
  border-color: transparent;
  color: #171717;
}

.dart-sum {
  min-width: 64px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.9);
  color: #171717;
  border-radius: 12px;
  font-size: 1.4rem;
  font-weight: 800;
}

.submit-btn {
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
  cursor: pointer;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
  box-shadow: 0 10px 26px rgba(242, 186, 42, 0.4);
}

.keypad-caption {
  margin: 10px 4px 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  line-height: 1.4;
}

.keypad {
  margin-top: 10px;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

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

.keypad button {
  border: none;
  border-radius: 12px;
  min-height: 62px;
  font-size: 2rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  cursor: pointer;
}

.keypad-darts button {
  min-height: 46px;
  font-size: 1.5rem;
}

.keypad-darts button.mult-btn,
.keypad-darts button.undo-btn {
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  white-space: normal;
  line-height: 1.1;
}

.keypad button.action {
  background: rgba(242, 186, 42, 0.28);
}

.keypad button.undo-btn {
  font-size: 1rem;
  white-space: normal;
  line-height: 1.15;
  letter-spacing: 0.3px;
}

.keypad-darts button.mult-btn {
  background: rgba(242, 186, 42, 0.16);
  border: 1.5px solid rgba(242, 186, 42, 0.55);
  color: var(--accent-2);
}

.keypad-darts button.mult-active {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
  border-color: transparent;
  box-shadow: 0 0 18px rgba(242, 186, 42, 0.55);
}

.keypad-darts button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.keypad button.submit-cell {
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  color: #151515;
  font-weight: 800;
  font-size: 1.3rem;
  box-shadow: 0 0 18px rgba(242, 186, 42, 0.4);
}

#orientation-warning {
  display: none;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 12px);
  background: linear-gradient(120deg, #1a2131, #0b0e17);
  border: 1px solid rgba(242, 186, 42, 0.5);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  pointer-events: none;
  z-index: 400;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.toast.show {
  animation: toast-in 0.3s ease forwards;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.72);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: overlay-fade 0.25s ease;
}

.modal-card {
  background: linear-gradient(150deg, rgba(20, 24, 36, 0.98), rgba(10, 12, 18, 0.98));
  border: 1px solid rgba(242, 186, 42, 0.35);
  border-radius: 22px;
  padding: 30px 32px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: modal-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.modal-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 6px;
  padding-right: 30px;
}

.rules-illustration {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.45));
}

.modal-body h3 {
  color: var(--accent-2);
  margin: 18px 0 6px;
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.modal-body h3:first-child {
  margin-top: 14px;
}

.modal-body p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.5;
}

.legwin-card {
  text-align: center;
  max-width: 420px;
}

.legwin-label {
  letter-spacing: 3px;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 6px;
}

.legwin-card h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 22px;
  padding-right: 0;
}

@media (orientation: portrait) {
  #app {
    display: none;
  }

  #orientation-warning {
    min-height: 100vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
  }
}

@media (max-width: 960px), (max-height: 560px) {
  #app {
    padding: 8px 10px 12px;
  }

  .home-actions {
    grid-template-columns: 1fr;
  }

  .home-cta {
    min-height: 82px;
    width: 100%;
  }

  .hero-credit {
    position: static;
    margin-top: 4px;
    text-align: center;
  }

  .game-layout {
    grid-template-columns: 1fr;
  }

  .players-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes spin-border {
  to {
    transform: rotate(1turn);
  }
}

@keyframes shine-sweep {
  to {
    background-position: 220% center;
  }
}

@keyframes slogan-line {
  0%,
  100% {
    width: 40px;
    opacity: 0.5;
  }
  50% {
    width: 110px;
    opacity: 1;
  }
}

@keyframes screen-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes glow-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(242, 186, 42, 0);
  }
  50% {
    box-shadow: 0 0 36px rgba(242, 186, 42, 0.4);
  }
}

@keyframes card-pop {
  0% {
    transform: scale(0.96) translateY(6px);
    opacity: 0.7;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes pop-in {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.2);
    text-shadow: 0 0 16px rgba(242, 186, 42, 0.9);
  }
  100% {
    transform: scale(1);
  }
}

.score-pulse {
  display: inline-block;
  animation: pop-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes key-flash {
  0% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(242, 186, 42, 0);
  }
  35% {
    transform: scale(0.85);
    filter: brightness(1.6);
    box-shadow: 0 0 18px rgba(242, 186, 42, 0.6);
  }
  100% {
    transform: scale(1);
    filter: brightness(1);
    box-shadow: 0 0 0 rgba(242, 186, 42, 0);
  }
}

.key-flash {
  animation: key-flash 0.22s ease;
}

@keyframes press-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(242, 186, 42, 0);
  }
  35% {
    transform: scale(0.87);
    box-shadow: 0 0 34px rgba(242, 186, 42, 0.75);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 22px rgba(242, 186, 42, 0.35);
  }
}

.pressed {
  animation: press-pulse 0.32s ease;
}

@keyframes overlay-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
