#dailyTasksRoot {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.rewards-message-card,
.reward-section,
.rewards-balance-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.rewards-message-card {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.rewards-message-card h2 {
  margin-bottom: 8px;
}

.rewards-message-card p {
  color: var(--muted);
}

.rewards-chest {
  width: 140px;
  color: var(--accent);
  margin-bottom: 22px;
}

.rewards-chest svg,
.rewards-mini-chest svg {
  width: 100%;
  height: auto;
}

.rewards-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  overflow: hidden;
}

.rewards-balance-card > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rewards-balance-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rewards-balance-card strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 26px;
}

.rewards-balance-card strong img {
  width: 27px;
  height: 27px;
}

.rewards-mini-chest {
  width: 76px;
  height: 60px;
  color: var(--accent);
  opacity: 0.8;
  transform: translateY(9px);
}

.reward-section {
  padding: 24px;
  overflow: hidden;
}

.reward-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.reward-section-header h2 {
  margin: 4px 0 6px;
  font-size: 21px;
}

.reward-section-header p {
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.reward-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.vip-kicker {
  color: #ffd24a;
}

.wheel-kicker {
  color: #d89cff;
}

.streak-badge,
.vip-status-badge,
.wheel-rolls-badge {
  flex-shrink: 0;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface2);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.vip-status-badge {
  color: #ffd24a;
  border-color: rgba(255,210,74,0.28);
  background: rgba(255,210,74,0.08);
}

.wheel-rolls-badge {
  color: #d89cff;
  border-color: rgba(216,156,255,0.28);
  background: rgba(216,156,255,0.08);
}

.reward-warning {
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid rgba(248,81,73,0.28);
  border-radius: 12px;
  background: rgba(248,81,73,0.08);
  color: #ff827b;
  font-size: 13px;
}

.reward-track {
  display: grid;
  grid-template-columns: repeat(10, minmax(92px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 10px;
}

.reward-day-card {
  min-width: 92px;
  min-height: 138px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 9px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface2);
  text-align: center;
  transition: transform 0.18s, border-color 0.18s, opacity 0.18s;
}

.reward-day-card.current {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88,166,255,0.12);
  transform: translateY(-2px);
}

.vip-day-card.current {
  border-color: #ffd24a;
  box-shadow: 0 0 0 3px rgba(255,210,74,0.11);
}

.reward-day-card.claimed {
  border-color: rgba(63,185,80,0.38);
  background: rgba(63,185,80,0.08);
}

.reward-day-card.locked {
  opacity: 0.48;
}

.reward-day-number {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.reward-day-card strong {
  font-size: 16px;
}

.reward-day-card small {
  color: var(--muted);
  font-size: 10px;
}

.reward-coin {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reward-coin img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.reward-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.reward-action-info {
  color: var(--muted);
  font-size: 13px;
}

.reward-primary-btn,
.reward-secondary-btn,
.reward-vip-btn {
  min-height: 42px;
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.reward-primary-btn {
  background: var(--accent);
}

.reward-secondary-btn {
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
}

.reward-vip-btn {
  background: linear-gradient(135deg, #ffd24a, #ff9d2e);
  color: #201500;
}

.reward-primary-btn:hover:not(:disabled),
.reward-secondary-btn:hover:not(:disabled),
.reward-vip-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.reward-primary-btn:disabled,
.reward-secondary-btn:disabled,
.reward-vip-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.vip-section {
  border-color: rgba(255,210,74,0.2);
}

.wheel-section {
  border-color: rgba(216,156,255,0.18);
}

.wheel-layout {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.fortune-wheel-area {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto;
  flex-shrink: 0;
}

.fortune-wheel-pointer {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 0;
  height: 0;
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  border-top: 52px solid #ffffff;
  transform: translateX(-50%);
  z-index: 30;
  pointer-events: none;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.45));
}

.fortune-wheel {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  overflow: hidden;
  background: conic-gradient(
    from 0deg,
    #58a6ff 0deg 72deg,
    #56d364 72deg 144deg,
    #ffd24a 144deg 216deg,
    #f85149 216deg 288deg,
    #bc8cff 288deg 360deg
  );
  border: 10px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 10px rgba(69,27,0,0.7), 0 18px 50px rgba(0,0,0,0.35), inset 0 0 30px rgba(255,255,255,0.12);
  transform: rotate(0deg);
  transition: transform 4s cubic-bezier(0.12,0.72,0.12,1);
  transform-origin: 50% 50%;
  will-change: transform;
}

.fortune-wheel::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  pointer-events: none;
}

.fortune-wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 42px;
  margin-left: -48px;
  margin-top: -21px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  text-shadow: 0 3px 5px rgba(0,0,0,0.75), 0 0 4px rgba(0,0,0,0.5);
  z-index: 6;
}

.fortune-wheel-label-1 { transform: rotate(36deg) translateY(-136px) rotate(-36deg); }
.fortune-wheel-label-2 { transform: rotate(108deg) translateY(-136px) rotate(-108deg); }
.fortune-wheel-label-3 { transform: rotate(180deg) translateY(-136px) rotate(-180deg); }
.fortune-wheel-label-4 { transform: rotate(252deg) translateY(-136px) rotate(-252deg); }
.fortune-wheel-label-5 { transform: rotate(324deg) translateY(-136px) rotate(-324deg); }

.fortune-wheel-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  border: 11px solid #d9e1eb;
  border-radius: 50%;
  background: #111827;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35), inset 0 0 20px rgba(255,255,255,0.06);
}

.fortune-wheel.spinning {
  pointer-events: none;
}

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

.wheel-prize {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface2);
}

.wheel-prize > span img {
  width: 25px;
  height: 25px;
}

.wheel-prize-info {
  min-width: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.wheel-prize strong {
  font-size: 13px;
}

.wheel-prize small {
  color: var(--muted);
  font-size: 11px;
}


.wheel-prize-chance {
  flex-shrink: 0;
  padding: 5px 9px;
  border: 1px solid rgba(216,156,255,0.3);
  border-radius: 999px;
  background: rgba(216,156,255,0.1);
  color: #d89cff;
  font-size: 12px;
  font-weight: 800;
}

.wheel-last-result {
  margin-top: 15px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.wheel-last-result strong {
  color: var(--text);
}

.wheel-actions {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .reward-track {
    grid-template-columns: repeat(10, 100px);
  }

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

@media (max-width: 650px) {
  .reward-section,
  .rewards-balance-card {
    border-radius: 18px;
  }

  .reward-section {
    padding: 18px;
  }

  .reward-section-header,
  .reward-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .streak-badge,
  .vip-status-badge,
  .wheel-rolls-badge {
    align-self: flex-start;
  }

  .reward-primary-btn,
  .reward-secondary-btn,
  .reward-vip-btn {
    width: 100%;
  }

  .wheel-prizes {
    grid-template-columns: 1fr;
  }

}

.wheel-section .reward-section-header p {
  max-width: 760px;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
}


@media (max-width: 900px) {
  .wheel-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .fortune-wheel-area {
    width: 310px;
    height: 310px;
  }

  .fortune-wheel {
    width: 280px;
    height: 280px;
    border-width: 8px;
  }

  .fortune-wheel-pointer {
    top: -5px;
    border-left-width: 18px;
    border-right-width: 18px;
    border-top-width: 40px;
  }

  .fortune-wheel-label {
    width: 72px;
    height: 32px;
    margin-left: -36px;
    margin-top: -16px;
    font-size: 18px;
  }

  .fortune-wheel-label-1 { transform: rotate(36deg) translateY(-94px) rotate(-36deg); }
  .fortune-wheel-label-2 { transform: rotate(108deg) translateY(-94px) rotate(-108deg); }
  .fortune-wheel-label-3 { transform: rotate(180deg) translateY(-94px) rotate(-180deg); }
  .fortune-wheel-label-4 { transform: rotate(252deg) translateY(-94px) rotate(-252deg); }
  .fortune-wheel-label-5 { transform: rotate(324deg) translateY(-94px) rotate(-324deg); }

  .fortune-wheel-center {
    width: 82px;
    height: 82px;
    border-width: 8px;
    font-size: 36px;
  }
}

#fortuneWheel {
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 4.2s cubic-bezier(0.12, 0.72, 0.12, 1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#fortuneWheel.spinning {
  pointer-events: none;
}

.slot-section {
  border-color: rgba(67, 220, 187, 0.22);
  overflow: hidden;
}

.slot-kicker { color: #43dcbb; }

.slot-price-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(67, 220, 187, 0.28);
  border-radius: 999px;
  background: rgba(67, 220, 187, 0.1);
  color: #7cf1d7;
  font-size: 13px;
  font-weight: 800;
}

.slot-price-badge img { width: 20px; height: 20px; }

.slot-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 44px;
  margin-top: 22px;
}

.slot-machine {
  position: relative;
  width: min(100%, 490px);
  margin: 0 auto;
  padding: 18px 22px 24px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-radius: 32px 32px 24px 24px;
  background: linear-gradient(145deg, #26354b 0%, #111a29 55%, #0a101b 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.15), inset 0 -10px 30px rgba(0, 0, 0, 0.28);
}

.slot-machine::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(67, 220, 187, 0.18);
  border-radius: 25px 25px 18px 18px;
  pointer-events: none;
}

.slot-machine-top,
.slot-machine-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.slot-machine-title {
  font-size: 25px;
  font-weight: 950;
  letter-spacing: 0.16em;
  color: #f7fbff;
  text-shadow: 0 0 18px rgba(67, 220, 187, 0.5);
}

.slot-machine-lights {
  width: 92px;
  height: 13px;
  background: radial-gradient(circle, #7cf1d7 0 3px, transparent 4px) 0 50% / 18px 13px repeat-x;
  filter: drop-shadow(0 0 6px rgba(67, 220, 187, 0.8));
}

.slot-reels {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
  padding: 14px;
  border: 5px solid #080d15;
  border-radius: 19px;
  background: #05080d;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9), 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.slot-reel {
  position: relative;
  aspect-ratio: 0.82;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(16, 28, 42, 0.3);
  border-radius: 12px;
  background: linear-gradient(180deg, #b9c8d5 0%, #f8fbfd 20%, #ffffff 50%, #eef4f7 80%, #a9bac7 100%);
  box-shadow: inset 0 18px 22px rgba(20, 40, 55, 0.2), inset 0 -18px 22px rgba(20, 40, 55, 0.2);
}

.slot-reel::before,
.slot-reel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22%;
  z-index: 3;
  pointer-events: none;
}

.slot-reel::before { top: 0; background: linear-gradient(#53657566, transparent); }
.slot-reel::after { bottom: 0; background: linear-gradient(transparent, #53657566); }

.slot-symbol {
  width: 72%;
  height: 72%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 70ms linear, filter 70ms linear;
}

.slot-symbol svg {
  width: 100%;
  height: 100%;
  fill: #17283b;
  stroke: #17283b;
  stroke-width: 3;
  stroke-linejoin: round;
  filter: drop-shadow(0 5px 2px rgba(16, 31, 46, 0.2));
}

.slot-symbol .slot-g-cut { fill: #f3f8fb; stroke: none; }
.slot-reel.tick .slot-symbol { transform: translateY(22%) scaleY(0.82); filter: blur(1.5px); }
.slot-reel.landed { animation: slot-land 0.42s ease-out; }

@keyframes slot-land {
  0% { transform: translateY(-9px); }
  55% { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

.slot-machine-bottom {
  color: #7890a7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.slot-coin-slot {
  width: 55px;
  height: 9px;
  border: 3px solid #05080d;
  border-radius: 999px;
  background: #111d2b;
  box-shadow: inset 0 2px 3px #000;
}

.slot-handle {
  position: absolute;
  top: 74px;
  right: -48px;
  width: 54px;
  height: 170px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 27px 142px;
  transition: transform 0.3s cubic-bezier(0.3, 0.8, 0.3, 1);
  z-index: 5;
}

.slot-handle-stick {
  position: absolute;
  left: 22px;
  top: 27px;
  width: 10px;
  height: 119px;
  border-radius: 8px;
  background: linear-gradient(90deg, #6f8191, #e6edf2 45%, #7b8995);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

.slot-handle-knob {
  position: absolute;
  top: 0;
  left: 5px;
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #ff8f9c, #e2334f 55%, #8d1025 100%);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.38), inset 0 -5px 9px rgba(84, 0, 15, 0.5);
}

.slot-handle::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 6px;
  width: 38px;
  height: 31px;
  border: 4px solid #080d15;
  border-radius: 11px;
  background: #25364a;
}

.slot-handle.pulled { transform: rotate(34deg); }
.slot-handle:disabled { cursor: not-allowed; opacity: 0.4; }
.slot-machine.spinning .slot-machine-lights { animation: slot-lights 0.45s steps(2, end) infinite; }

@keyframes slot-lights { 50% { opacity: 0.22; } }

.slot-info-panel { display: grid; gap: 11px; }

.slot-prize-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface2);
}

.slot-prize-row.pair { border-color: rgba(88, 166, 255, 0.26); }
.slot-prize-row.jackpot { border-color: rgba(255, 210, 74, 0.32); background: linear-gradient(135deg, rgba(255, 210, 74, 0.08), var(--surface2)); }

.slot-prize-icons { display: flex; gap: 4px; }
.slot-prize-icons svg { width: 32px; height: 32px; fill: currentColor; stroke: currentColor; stroke-width: 3; stroke-linejoin: round; }
.slot-prize-icons .slot-g-cut { fill: var(--surface2); stroke: none; }
.slot-prize-row > div:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.slot-prize-row strong { font-size: 13px; }
.slot-prize-row small { color: var(--muted); font-size: 12px; }
.slot-prize-row > span { color: #7cf1d7; font-size: 12px; font-weight: 900; }
.slot-prize-row.jackpot > span { color: #ffd24a; }

.slot-plus-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid rgba(188, 140, 255, 0.26);
  border-radius: 15px;
  background: rgba(188, 140, 255, 0.08);
}

.slot-plus-note strong { color: #d8b6ff; white-space: nowrap; }
.slot-plus-note span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.slot-plus-note.active { border-color: rgba(86, 211, 100, 0.32); background: rgba(86, 211, 100, 0.08); }
.slot-plus-note.active strong { color: #72e47e; }

.slot-last-result {
  margin-top: 20px;
  padding: 12px 15px;
  border-radius: 13px;
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.slot-last-result strong { color: var(--text); }
.slot-actions { margin-top: 14px; }
.slot-play-btn { min-width: 190px; }

@media (max-width: 900px) {
  .slot-layout { grid-template-columns: 1fr; }
  .slot-machine { width: min(calc(100% - 55px), 490px); }
}

@media (max-width: 650px) {
  .slot-price-badge { align-self: flex-start; }
  .slot-prize-row { grid-template-columns: 94px minmax(0, 1fr) auto; gap: 9px; padding: 11px; }
  .slot-prize-icons svg { width: 27px; height: 27px; }
  .slot-machine { width: calc(100% - 38px); padding: 14px 14px 20px; border-radius: 24px; }
  .slot-machine-title { font-size: 19px; }
  .slot-machine-lights { width: 70px; }
  .slot-reels { gap: 6px; padding: 9px; }
  .slot-handle { right: -39px; transform: scale(0.84); transform-origin: 27px 142px; }
  .slot-handle.pulled { transform: scale(0.84) rotate(34deg); }
}
