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

video {
  display: block;
  border: none;
  outline: none;
  background: transparent;
}

h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: #1a1a1a;
  display: block;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  top: 0;
  left: 0;
  padding: 0;
  background: #050509;
  width: 100%;
  color: #f5f5f5;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

html,
body {
  width: 100vw;
  overflow-x: hidden;
  position: relative;
  height: 100%;
}

::-webkit-scrollbar {
  width: 5px;
  background-color: #fff;
  height: 5px;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #666;
  width: 10px;
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px #1a1a1a;
  border-radius: 10px;
  background-color: #fff;
}


.flash-layout {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at top, #1c1c2e 0, rgba(5, 5, 15, 0.95) 45%, #020209 100%);
}

.flash-layout__inner {
  width: 100%;
  max-width: 960px;
}

.flash-title {
  text-align: center;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #ff2c40;
  font-weight: 800;
  margin-bottom: 8px;
}

.flash-subtitle {
  text-align: center;
  font-size: 14px;
  color: #c4c5d8;
  margin-bottom: 18px;
}

.flash-ribbon {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 10px;
  text-transform: uppercase;
}

.flash-ribbon__item {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 96, 0.5);
  background: rgba(16, 16, 30, 0.9);
  color: #ffb7c1;
}

.flash-ribbon__item--accent {
  border-color: #ff8a3c;
  background: linear-gradient(90deg, rgba(255, 52, 87, 0.1), rgba(255, 140, 60, 0.2));
  color: #ffe6c5;
}

.flash-card {
  max-width: 640px;
  margin: 0 auto;
  background: radial-gradient(circle at top, #1a1a30 0, #05050c 40%, #020208 100%);
  border-radius: 18px;
  padding: 26px 22px 22px;
  border: 1px solid #262638;
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.02);
}

.flash-card__header {
  text-align: center;
  margin-bottom: 22px;
}

.flash-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(9, 9, 22, 0.95);
  border: 1px solid rgba(126, 133, 255, 0.4);
  color: #d0d4ff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.flash-card__icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: conic-gradient(from 140deg, #ff3952, #ff9f37, #ffd447, #ff3952);
  position: relative;
}

.flash-card__icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 3px;
  background: #05050d;
}

.flash-card__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.flash-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flash-step__label {
  font-size: 13px;
  text-transform: uppercase;
  color: #aeb0d0;
  letter-spacing: 0.18em;
}

.flash-amounts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flash-amount {
  border-radius: 12px;
  border: 1px solid #262638;
  background: rgba(11, 11, 24, 0.9);
  color: #e3e5ff;
  padding: 10px 8px;
  cursor: pointer;
  text-align: center;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.flash-amount__main {
  display: block;
  font-size: 18px;
  font-weight: 700;
}

.flash-amount__sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #a3a7d3;
}

.flash-amount:hover {
  border-color: rgba(255, 76, 103, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
}

.flash-amount--active {
  border-color: #ff4c67;
  background: radial-gradient(circle at top, rgba(255, 106, 125, 0.24), rgba(7, 7, 20, 0.95));
  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(255, 88, 120, 0.4);
}

.flash-step--wallet {
  margin-top: 6px;
}

.flash-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #262638;
  background: #050511;
  padding: 12px 14px;
  font-size: 14px;
  color: #f5f5ff;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.flash-input::placeholder {
  color: #6d7090;
}

.flash-input:focus {
  border-color: #ff4c67;
  box-shadow:
    0 0 0 1px rgba(255, 76, 103, 0.4),
    0 14px 32px rgba(0, 0, 0, 0.85);
  background: #050515;
}

.flash-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.45);
  background: rgba(255, 193, 7, 0.06);
  font-size: 11px;
  color: #ffedb3;
}

.flash-warning__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffd54f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  color: #ffd54f;
  flex-shrink: 0;
}

.flash-warning__text {
  line-height: 1.4;
}

.flash-submit {
  margin-top: 6px;
  width: 100%;
  border-radius: 999px;
  border: none;
  padding: 14px 16px;
  background: linear-gradient(90deg, #ff3148, #ff8a3c);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  cursor: pointer;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.95),
    0 0 36px rgba(255, 88, 120, 0.5);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}

.flash-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.flash-submit:active {
  transform: translateY(0);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.9),
    0 0 18px rgba(255, 88, 120, 0.35);
}

.flash-info {
  margin-top: 14px;
  padding: 14px 12px 12px;
  border-radius: 14px;
  border: 1px dashed #313351;
  background: rgba(3, 3, 13, 0.95);
}

.flash-info__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #cfd2ff;
  margin-bottom: 10px;
}

.flash-info__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #b7b9de;
}

.flash-info__item {
  position: relative;
  padding-left: 18px;
}

.flash-info__item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: #63e29b;
}

@media (max-width: 768px) {
  .flash-title {
    font-size: 22px;
    letter-spacing: 0.22em;
  }

  .flash-subtitle {
    font-size: 13px;
  }

  .flash-card {
    padding: 22px 16px 18px;
  }

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

@media (max-width: 480px) {
  .flash-layout {
    padding: 28px 12px;
  }

  .flash-title {
    font-size: 18px;
    letter-spacing: 0.18em;
  }

  .flash-ribbon {
    gap: 6px;
  }

  .flash-ribbon__item {
    font-size: 9px;
  }
}
