:root {
  color-scheme: dark;
  --bg: #060808;
  --bg-soft: rgba(255, 255, 255, 0.04);
  --bg-card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f4f8f6;
  --muted: rgba(244, 248, 246, 0.62);
  --accent: #d7ff5e;
  --accent-strong: #b9f11f;
  --danger: #ff6a6a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
  min-height: 100vh;
}

.bonus-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.bonus-stage {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 32px 0 48px;
}

.bonus-hero {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.bonus-kicker,
.bonus-caption {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.bonus-title,
.bonus-heading {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.bonus-title {
  font-size: clamp(38px, 7vw, 72px);
  max-width: 900px;
}

.bonus-heading {
  font-size: 28px;
}

.bonus-heading--xl {
  font-size: clamp(30px, 5vw, 52px);
}

.bonus-heading--xxl {
  font-size: clamp(42px, 7vw, 68px);
}

.bonus-copy,
.bonus-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.bonus-alert,
.bonus-panel {
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  border-radius: 28px;
}

.bonus-alert {
  margin-bottom: 18px;
  padding: 14px 18px;
  font-size: 14px;
}

.bonus-alert.is-error {
  color: #ffdede;
  border-color: rgba(255, 106, 106, 0.28);
  background: rgba(105, 15, 15, 0.28);
}

.bonus-alert.is-success {
  color: #e9ffd1;
  border-color: rgba(185, 241, 31, 0.28);
  background: rgba(52, 69, 8, 0.28);
}

.bonus-panel {
  padding: 24px;
}

.bonus-panel__header,
.bonus-account,
.bonus-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.bonus-dashboard,
.bonus-grid {
  display: grid;
  gap: 16px;
}

.bonus-grid--hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  margin-bottom: 16px;
}

.bonus-grid--content {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.bonus-balance {
  text-align: right;
}

.bonus-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 700;
}

.bonus-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bonus-field span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.bonus-field input {
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 16px;
  outline: none;
}

.bonus-field input:focus {
  border-color: rgba(215, 255, 94, 0.45);
  box-shadow: 0 0 0 3px rgba(215, 255, 94, 0.08);
}

.bonus-withdrawal-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.bonus-button {
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.bonus-button--primary {
  background: var(--accent);
  color: #0a0f04;
}

.bonus-button--primary:disabled {
  cursor: default;
  opacity: 0.55;
}

.bonus-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.bonus-list__item,
.bonus-reward {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 16px;
}

.bonus-list__item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.bonus-list__item-text,
.bonus-list__item-meta {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.bonus-list__item-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.bonus-rewards {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bonus-reward__store {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.bonus-reward__title {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.bonus-reward__amount {
  margin: 16px 0 0;
  color: rgba(244, 248, 246, 0.74);
  font-weight: 700;
}

.bonus-orbit {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.24;
}

.bonus-orbit--a {
  width: 380px;
  height: 380px;
  background: #d7ff5e;
  top: -120px;
  right: -100px;
}

.bonus-orbit--b {
  width: 320px;
  height: 320px;
  background: #2e6cff;
  left: -120px;
  bottom: -40px;
}

.is-hidden {
  display: none;
}

@media (max-width: 960px) {
  .bonus-grid--hero,
  .bonus-grid--content,
  .bonus-rewards {
    grid-template-columns: 1fr;
  }

  .bonus-account,
  .bonus-panel__header {
    flex-direction: column;
  }

  .bonus-balance {
    text-align: left;
  }
}
