/* --- BigLottery · Custom design --- */
:root {
  --bg: #0d0d0d;
  --bg-elevated: #161616;
  --surface: #1e1e1e;
  --card: #f8f6f1;
  --text: #f5f0e8;
  --text-muted: #a39e94;
  --accent: #d4a853;
  --accent-light: #e8c97a;
  --accent-dark: #b8923f;
  --gold-gradient: linear-gradient(135deg, #e8c97a 0%, #d4a853 50%, #b8923f 100%);
  --announcement-bg: #2d2a24;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-heading: "Syne", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  --bottom-nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-h);
}

/* Pages without bottom nav (avoid big black area) */
body.alert-detail-page {
  padding-bottom: 0;
}

body.alert-detail-page .app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.alert-detail-page .alert-detail-main {
  flex: 1;
  min-height: 0;
}

.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg-elevated);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__welcome {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.header__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

a.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn--primary {
  background: var(--gold-gradient);
  color: #0d0d0d;
}

.btn--primary:hover {
  opacity: 0.95;
}

/* Announcement */
.announcement {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-bottom: 1px solid rgba(212, 168, 83, 0.2);
  position: relative;
  overflow: hidden;
}

.announcement::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 168, 83, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.announcement__icon-wrapper {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(212, 168, 83, 0.1));
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.3);
}

.announcement__icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.announcement__marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.announcement__marquee-wrapper:hover .announcement__marquee {
  animation-play-state: paused;
}

.announcement__marquee {
  display: flex;
  gap: 40px;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.announcement__text {
  font-size: 0.8125rem;
  color: var(--text);
  line-height: 1.5;
  display: inline-block;
  padding-right: 40px;
}

.announcement__text strong {
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}

.announcement__action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(212, 168, 83, 0.15));
  border: 1px solid rgba(212, 168, 83, 0.4);
  border-radius: var(--radius-sm);
  color: var(--accent-light);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.announcement__action:hover {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.3), rgba(212, 168, 83, 0.25));
  border-color: var(--accent);
  transform: translateX(2px);
}

.announcement__action svg {
  transition: transform 0.2s ease;
}

.announcement__action:hover svg {
  transform: translateX(2px);
}

/* Responsive adjustments */
@media (max-width: 400px) {
  .announcement {
    padding: 10px 16px;
    gap: 10px;
  }
  
  .announcement__action span {
    display: none;
  }
  
  .announcement__action {
    padding: 6px;
    min-width: 32px;
    justify-content: center;
  }
  
  .announcement__icon-wrapper {
    width: 28px;
    height: 28px;
  }
  
  .announcement__icon {
    width: 16px;
    height: 16px;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 32px 20px 40px;
  overflow: hidden;
  min-height: 280px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #0a1929 0%, #1a2a3a 40%, #0f172a 100%);
  animation: gradientShift 8s ease infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Bokeh background lights */
.hero__bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: bokehFloat 8s ease-in-out infinite;
}

.hero__bokeh--1 {
  width: 120px;
  height: 120px;
  background: rgba(212, 168, 83, 0.3);
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.hero__bokeh--2 {
  width: 80px;
  height: 80px;
  background: rgba(139, 92, 246, 0.25);
  top: 30%;
  right: 20%;
  animation-delay: 1s;
}

.hero__bokeh--3 {
  width: 100px;
  height: 100px;
  background: rgba(6, 182, 212, 0.2);
  bottom: 20%;
  left: 25%;
  animation-delay: 2s;
}

.hero__bokeh--4 {
  width: 60px;
  height: 60px;
  background: rgba(212, 168, 83, 0.25);
  top: 50%;
  right: 30%;
  animation-delay: 3s;
}

.hero__bokeh--5 {
  width: 90px;
  height: 90px;
  background: rgba(139, 92, 246, 0.2);
  bottom: 30%;
  right: 15%;
  animation-delay: 4s;
}

.hero__bokeh--6 {
  width: 70px;
  height: 70px;
  background: rgba(6, 182, 212, 0.25);
  top: 20%;
  left: 50%;
  animation-delay: 5s;
}

.hero__bokeh--7 {
  width: 85px;
  height: 85px;
  background: rgba(212, 168, 83, 0.2);
  bottom: 15%;
  left: 40%;
  animation-delay: 6s;
}

.hero__bokeh--8 {
  width: 55px;
  height: 55px;
  background: rgba(139, 92, 246, 0.3);
  top: 60%;
  right: 40%;
  animation-delay: 7s;
}

@keyframes bokehFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, -15px) scale(1.1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-15px, 20px) scale(0.9);
    opacity: 0.25;
  }
  75% {
    transform: translate(15px, 15px) scale(1.05);
    opacity: 0.35;
  }
}

/* Falling coins */
.hero__coins {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__coin {
  position: absolute;
  font-size: 1.5rem;
  animation: coinFall linear infinite;
  opacity: 0.8;
}

.hero__coin--1 {
  left: 10%;
  animation-duration: 4s;
  animation-delay: 0s;
}

.hero__coin--2 {
  left: 25%;
  animation-duration: 5s;
  animation-delay: 0.5s;
}

.hero__coin--3 {
  left: 40%;
  animation-duration: 4.5s;
  animation-delay: 1s;
}

.hero__coin--4 {
  left: 55%;
  animation-duration: 5.5s;
  animation-delay: 1.5s;
}

.hero__coin--5 {
  left: 70%;
  animation-duration: 4s;
  animation-delay: 2s;
}

.hero__coin--6 {
  left: 85%;
  animation-duration: 5s;
  animation-delay: 2.5s;
}

.hero__coin--7 {
  left: 15%;
  animation-duration: 4.8s;
  animation-delay: 3s;
}

.hero__coin--8 {
  left: 80%;
  animation-duration: 5.2s;
  animation-delay: 3.5s;
}

@keyframes coinFall {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    top: 110%;
    transform: translateX(20px) rotate(360deg);
    opacity: 0;
  }
}

/* Floating lottery balls */
.hero__lottery-balls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__ball {
  position: absolute;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #000;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 -2px 4px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.3);
  animation: ballFloat 6s ease-in-out infinite;
  position: relative;
}

.hero__ball::before {
  content: attr(data-number);
  position: relative;
  z-index: 2;
  background: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  font-size: 0.875rem;
}

.hero__ball::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  border-radius: 50%;
  z-index: 1;
  filter: blur(1px);
}

.hero__ball--1 {
  background: linear-gradient(135deg, #2d9cdb, #1e7bb8);
  top: 15%;
  left: 5%;
  animation-delay: 0s;
}

.hero__ball--2 {
  background: linear-gradient(135deg, #f2994a, #e67e22);
  top: 25%;
  right: 10%;
  animation-delay: 1s;
}

.hero__ball--3 {
  background: linear-gradient(135deg, #219653, #16a34a);
  bottom: 30%;
  left: 15%;
  animation-delay: 2s;
}

.hero__ball--4 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  top: 50%;
  right: 20%;
  animation-delay: 3s;
}

.hero__ball--5 {
  background: linear-gradient(135deg, #eb5757, #dc2626);
  bottom: 20%;
  right: 5%;
  animation-delay: 4s;
}

.hero__ball--6 {
  background: linear-gradient(135deg, #9b51e0, #7c3aed);
  top: 60%;
  left: 8%;
  animation-delay: 5s;
}

@keyframes ballFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(15px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-10px, -10px) rotate(180deg);
  }
  75% {
    transform: translate(10px, -15px) rotate(270deg);
  }
}

/* Confetti particles */
.hero__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__confetti-piece {
  position: absolute;
  width: 8px;
  height: 8px;
  animation: confettiFall linear infinite;
}

.hero__confetti-piece--1 {
  background: #ef4444;
  left: 10%;
  animation-duration: 3s;
  animation-delay: 0s;
}

.hero__confetti-piece--2 {
  background: #f59e0b;
  left: 20%;
  animation-duration: 3.5s;
  animation-delay: 0.3s;
}

.hero__confetti-piece--3 {
  background: #10b981;
  left: 30%;
  animation-duration: 4s;
  animation-delay: 0.6s;
}

.hero__confetti-piece--4 {
  background: #3b82f6;
  left: 40%;
  animation-duration: 3.2s;
  animation-delay: 0.9s;
}

.hero__confetti-piece--5 {
  background: #8b5cf6;
  left: 50%;
  animation-duration: 3.8s;
  animation-delay: 1.2s;
}

.hero__confetti-piece--6 {
  background: #ec4899;
  left: 60%;
  animation-duration: 3.5s;
  animation-delay: 1.5s;
}

.hero__confetti-piece--7 {
  background: #f59e0b;
  left: 70%;
  animation-duration: 4.2s;
  animation-delay: 1.8s;
}

.hero__confetti-piece--8 {
  background: #10b981;
  left: 80%;
  animation-duration: 3.6s;
  animation-delay: 2.1s;
}

.hero__confetti-piece--9 {
  background: #3b82f6;
  left: 90%;
  animation-duration: 3.9s;
  animation-delay: 2.4s;
}

.hero__confetti-piece--10 {
  background: #8b5cf6;
  left: 15%;
  animation-duration: 4.1s;
  animation-delay: 2.7s;
}

@keyframes confettiFall {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    transform: translateX(30px) rotate(720deg);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title-wrapper {
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15em;
}

.hero__title--accent-line {
  margin-top: 0.2em;
}

.hero__title-word {
  display: inline-block;
  position: relative;
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.hero__title-word--1 {
  color: var(--text);
  animation-delay: 0.1s;
}

.hero__title-word--2 {
  color: var(--text);
  animation-delay: 0.2s;
}

.hero__title-word--3 {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.3s;
  position: relative;
}

.hero__title-word--3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-gradient);
  animation: underlineExpand 0.6s ease-out 0.5s forwards;
}

.hero__title-word--4 {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-delay: 0.4s;
  animation: shimmerText 3s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes underlineExpand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes shimmerText {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__title-word--4 {
  background: linear-gradient(90deg, #FCD34D 0%, #F59E0B 25%, #D97706 50%, #F59E0B 75%, #FCD34D 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s ease-in-out infinite;
}

.hero__subtitle-wrapper {
  margin-top: 24px;
  max-width: 320px;
}

.hero__subtitle {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}

.hero__subtitle-word {
  display: inline-block;
  animation: fadeInSlide 1s ease-out forwards;
  opacity: 0;
  position: relative;
}

.hero__subtitle-word:nth-child(1) { animation-delay: 0.5s; }
.hero__subtitle-word:nth-child(2) { animation-delay: 0.6s; }
.hero__subtitle-word:nth-child(3) { animation-delay: 0.7s; }
.hero__subtitle-word:nth-child(4) { animation-delay: 0.8s; }
.hero__subtitle-word:nth-child(5) { animation-delay: 0.9s; }
.hero__subtitle-word:nth-child(6) { animation-delay: 1.0s; }
.hero__subtitle-word:nth-child(7) { animation-delay: 1.1s; }
.hero__subtitle-word:nth-child(8) { animation-delay: 1.2s; }

.hero__subtitle-word::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.hero__subtitle-word:hover::after {
  width: 100%;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero visual - WIN badge and Jackpot */
.hero__visual {
  position: absolute;
  right: 10px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__win-badge {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: winPulse 2s ease-in-out infinite;
}

.hero__win-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #FFD700;
  text-shadow: 
    0 0 10px rgba(255, 215, 0, 0.8),
    0 0 20px rgba(255, 215, 0, 0.6),
    0 0 30px rgba(255, 215, 0, 0.4);
  position: relative;
  z-index: 2;
  animation: winShimmer 2s ease-in-out infinite;
  letter-spacing: 2px;
}

.hero__win-glow {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid #dc2626;
  box-shadow: 
    0 0 20px rgba(220, 38, 38, 0.6),
    inset 0 0 20px rgba(220, 38, 38, 0.3);
  animation: winGlow 2s ease-in-out infinite;
}

.hero__win-glow::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.5);
  animation: winGlowInner 1.5s ease-in-out infinite;
}

@keyframes winPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes winShimmer {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

@keyframes winGlow {
  0%, 100% {
    opacity: 0.8;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes winGlowInner {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.hero__jackpot {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(139, 92, 246, 0.15));
  border: 2px solid rgba(212, 168, 83, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 0 30px rgba(212, 168, 83, 0.2);
  animation: jackpotFloat 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
}

.hero__jackpot-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.hero__jackpot-amount {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent-light);
  text-shadow: 0 0 10px rgba(212, 168, 83, 0.5);
  animation: amountPulse 2s ease-in-out infinite;
}

.hero__jackpot-amount--secondary {
  font-size: 0.875rem;
  margin-top: 2px;
  opacity: 0.9;
  animation-delay: 1s;
}

@keyframes jackpotFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes amountPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

/* Main card */
.main {
  padding: 0 16px 24px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.card {
  background: var(--card);
  color: #1a1a1a;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

/* Quick actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: transform 0.15s ease;
}

.quick-action:active {
  transform: scale(0.95);
}

.quick-action__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-action__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.quick-action:hover .quick-action__icon {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(212, 168, 83, 0.4);
}

.quick-action__label {
  text-align: center;
}

/* Lottery */
.lottery__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.lottery__header-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-gradient);
  color: #0d0d0d;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(212, 168, 83, 0.35);
  animation: iconBreathe 3s ease-in-out infinite;
}

.lottery__header-icon svg {
  width: 22px;
  height: 22px;
}

@keyframes iconBreathe {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(212, 168, 83, 0.35); }
  50% { transform: scale(1.05); box-shadow: 0 6px 16px rgba(212, 168, 83, 0.45); }
}

.lottery__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.lottery__title-accent {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}

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

.lottery__item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--lottery-bg, #6b4bb8);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  padding: 10px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  gap: 8px;
  overflow: hidden;
  animation: tileFloat 4s ease-in-out infinite;
}

.lottery__item:nth-child(1) { animation-delay: 0s; }
.lottery__item:nth-child(2) { animation-delay: 0.5s; }
.lottery__item:nth-child(3) { animation-delay: 1s; }
.lottery__item:nth-child(4) { animation-delay: 0.2s; }
.lottery__item:nth-child(5) { animation-delay: 0.7s; }
.lottery__item:nth-child(6) { animation-delay: 1.2s; }
.lottery__item:nth-child(7) { animation-delay: 0.4s; }

@keyframes tileFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.lottery__item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lottery__item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.lottery__item:hover::before {
  opacity: 1;
}

.lottery__item:hover .lottery__inner {
  transform: scale(1.05);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.lottery__item:hover .lottery__icon {
  transform: scale(1.15) rotate(8deg);
  opacity: 1;
}

.lottery__item--soon {
  opacity: 0.75;
  cursor: default;
}

.lottery__item--soon:hover {
  transform: none;
}

.lottery__item--soon:hover .lottery__inner,
.lottery__item--soon:hover .lottery__icon {
  transform: none;
}

/* Inner dark frame – unified across all icons */
.lottery__inner {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border-radius: 10px;
  padding: 8px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  animation: innerPulse 3s ease-in-out infinite;
}

.lottery__item:hover .lottery__inner {
  animation: none;
}

@keyframes innerPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.95; }
}

.lottery__item--happy10 .lottery__inner {
  background: rgba(15, 23, 42, 0.9);
}

.lottery__item--happy10 .lottery__icon svg circle {
  transform-origin: center;
  animation: accentDotPulse 2s ease-in-out infinite;
}

@keyframes accentDotPulse {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.lottery__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  opacity: 0.95;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  z-index: 1;
}

.lottery__icon--logo {
  width: 56px;
  height: 56px;
  opacity: 1;
}

.lottery__item--mk10 { background: linear-gradient(135deg, #4c1d95 0%, #6b4bb8 50%, #8b5cf6 100%); }
.lottery__item--happy10 { background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%); }
.lottery__item--lucky28 { background: linear-gradient(135deg, #991b1b 0%, #eb5757 50%, #f87171 100%); }
.lottery__item--5of11 { background: linear-gradient(135deg, #14532d 0%, #219653 50%, #34d399 100%); }
.lottery__item--mark6 { background: linear-gradient(135deg, #7c2d12 0%, #f2994a 50%, #fbbf24 100%); }
.lottery__item--5min { background: linear-gradient(135deg, #581c87 0%, #9b51e0 50%, #c084fc 100%); }
.lottery__item--4d { background: linear-gradient(135deg, #374151 0%, #6b7280 50%, #9ca3af 100%); }

.lottery__icon svg {
  width: 100%;
  height: 100%;
}

.lottery__abbr {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 1;
  position: relative;
  font-size: 0.6875rem;
  font-weight: 800;
  color: #1a1a1a;
  transition: transform 0.3s ease;
}

.lottery__item:hover .lottery__abbr {
  transform: scale(1.05);
}

.lottery__badge {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  color: #64748b;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.lottery__footer {
  margin-top: 22px;
  text-align: center;
}

.link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  background: none;
  border: none;
  color: #2d9cdb;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.link--lang:hover {
  color: #1a7bb8;
}

/* Contact tab */
.contact-tab {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 42px;
  padding: 14px 10px;
  background: linear-gradient(180deg, #2d9cdb 0%, #27ae60 100%);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.2);
  z-index: 99;
  transition: width 0.2s ease, padding 0.2s ease;
}

.contact-tab:hover {
  width: 46px;
  padding-left: 12px;
}

.contact-tab__text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  transform: rotate(180deg);
}

.contact-tab__icon {
  font-size: 1rem;
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--bottom-nav-h);
  background: var(--card);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
  z-index: 100;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.bottom-nav__item:hover {
  color: var(--accent);
}

.bottom-nav__item--active {
  color: var(--accent-dark);
}

.bottom-nav__item--active .bottom-nav__icon {
  color: var(--accent);
}

.bottom-nav__icon {
  font-size: 1.25rem;
  color: inherit;
}

/* Responsive: hide contact tab on very small viewports if it overlaps */
@media (max-width: 360px) {
  .quick-actions {
    gap: 8px;
  }

  .quick-action__icon {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .quick-action__icon svg {
    width: 18px;
    height: 18px;
  }

  .lottery__icon {
    width: 30px;
    height: 30px;
  }

  .lottery__icon--logo {
    width: 56px;
    height: 56px;
  }

  .lottery__grid {
    gap: 10px;
  }
}

/* ============================================
   DRAW PAGE STYLES
   ============================================ */

/* Draw Header */
.draw-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 30%, #334155 60%, #0B1120 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: drawHeaderGradient 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.draw-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: drawHeaderGlow 4s ease-in-out infinite;
}

.draw-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.1) 50%, transparent 100%);
  animation: drawHeaderShine 6s ease-in-out infinite;
}

@keyframes drawHeaderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes drawHeaderGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20%, 20%) scale(1.2); opacity: 0.5; }
}

@keyframes drawHeaderShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.draw-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  color: #FACC15;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.draw-header__back:hover {
  background: rgba(250, 204, 21, 0.35);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.draw-header__back:active {
  transform: translateX(-2px) scale(0.95);
}

.draw-header__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  animation: drawTitleShimmer 3s ease infinite;
}

@keyframes drawTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.draw-header__spacer {
  width: 40px;
}

/* Draw Main */
.draw-main {
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: calc(100vh - 140px);
  padding-bottom: 20px;
  animation: drawMainGradient 10s ease infinite;
}

@keyframes drawMainGradient {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

.draw-section {
  padding: 24px 20px;
}

.draw-section__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  animation: drawSectionTitleShimmer 3s ease infinite;
}

@keyframes drawSectionTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Draw Games List */
.draw-games {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.draw-game {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-radius: var(--radius);
  border: 2px solid rgba(250, 204, 21, 0.2);
  padding: 16px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(250, 204, 21, 0.1);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  animation: gameCardSlideIn 0.5s ease-out backwards, drawGameGradient 6s ease infinite;
}

@keyframes drawGameGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.draw-game:nth-child(1) { animation-delay: 0.1s; }
.draw-game:nth-child(2) { animation-delay: 0.15s; }
.draw-game:nth-child(3) { animation-delay: 0.2s; }
.draw-game:nth-child(4) { animation-delay: 0.25s; }
.draw-game:nth-child(5) { animation-delay: 0.3s; }
.draw-game:nth-child(6) { animation-delay: 0.35s; }

@keyframes gameCardSlideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.draw-game::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.15), transparent);
  transition: left 0.5s ease;
}

.draw-game:hover {
  transform: translateX(4px) translateY(-2px);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.3), 0 0 40px rgba(250, 204, 21, 0.2);
  border-color: rgba(250, 204, 21, 0.4);
}

.draw-game:hover::before {
  left: 100%;
}

.draw-game__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconFloat 3s ease-in-out infinite;
}

.draw-game:nth-child(1) .draw-game__icon { animation-delay: 0s; }
.draw-game:nth-child(2) .draw-game__icon { animation-delay: 0.5s; }
.draw-game:nth-child(3) .draw-game__icon { animation-delay: 1s; }
.draw-game:nth-child(4) .draw-game__icon { animation-delay: 1.5s; }
.draw-game:nth-child(5) .draw-game__icon { animation-delay: 2s; }
.draw-game:nth-child(6) .draw-game__icon { animation-delay: 2.5s; }

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

.draw-game:hover .draw-game__icon {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.1); }
}

.draw-game__icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.draw-game__info {
  flex: 1;
  min-width: 0;
}

.draw-game__name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
  animation: drawGameNameShimmer 3s ease infinite;
}

@keyframes drawGameNameShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.draw-game__trending {
  font-size: 1.125rem;
  animation: flameFlicker 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.6));
}

@keyframes flameFlicker {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  25% { 
    transform: scale(1.1) rotate(-5deg);
    opacity: 0.9;
  }
  50% { 
    transform: scale(0.95) rotate(5deg);
    opacity: 0.95;
  }
  75% { 
    transform: scale(1.05) rotate(-3deg);
    opacity: 0.9;
  }
}

.draw-game__subtitle {
  margin: 0;
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
  animation: subtitleFade 2s ease-in-out infinite;
}

@keyframes subtitleFade {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.draw-game__action {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.draw-game__action::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.draw-game__action:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.draw-game__action:hover::before {
  opacity: 1;
}

.draw-game__action:active {
  transform: scale(1.05) rotate(3deg);
}

.draw-game__action svg {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.draw-game__action:hover svg {
  transform: translateX(2px);
}

/* Responsive adjustments for Draw page */
@media (max-width: 360px) {
  .draw-game {
    padding: 12px;
    gap: 12px;
  }

  .draw-game__icon {
    width: 48px;
    height: 48px;
  }

  .draw-game__action {
    width: 40px;
    height: 40px;
  }

  .draw-game__action svg {
    width: 18px;
    height: 18px;
  }
}

/* ============================================
   DRAW RECORD PAGE (MK10) STYLES
   ============================================ */

.draw-record-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 30%, #334155 60%, #0B1120 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: drawRecordHeaderGradient 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.draw-record-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: drawRecordHeaderGlow 4s ease-in-out infinite;
}

.draw-record-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.1) 50%, transparent 100%);
  animation: drawRecordHeaderShine 6s ease-in-out infinite;
}

@keyframes drawRecordHeaderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes drawRecordHeaderGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20%, 20%) scale(1.2); opacity: 0.5; }
}

@keyframes drawRecordHeaderShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.draw-record-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  color: #FACC15;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.draw-record-header__back:hover {
  background: rgba(250, 204, 21, 0.35);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.draw-record-header__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  position: relative;
  z-index: 10;
  text-align: center;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  animation: drawRecordTitleShimmer 3s ease infinite;
}

@keyframes drawRecordTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.draw-record-header__spacer {
  width: 40px;
}

/* Tabs */
.draw-record-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  animation: drawRecordTabsGradient 6s ease infinite;
}

@keyframes drawRecordTabsGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.draw-record-tab {
  flex: 1;
  padding: 14px 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(250, 204, 21, 0.6);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.draw-record-tab:hover {
  color: rgba(250, 204, 21, 0.9);
}

.draw-record-tab--active {
  color: #FACC15;
  font-weight: 700;
  border-bottom-color: #FACC15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

/* Date Filter */
.draw-record-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  flex-wrap: wrap;
  animation: drawRecordTabsGradient 6s ease infinite;
}

.draw-record-filter__inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.draw-record-filter__field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.draw-record-filter__icon {
  flex-shrink: 0;
  color: #FACC15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.draw-record-filter__input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #FACC15;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.draw-record-filter__input:focus {
  outline: none;
  border-color: rgba(250, 204, 21, 0.6);
  box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.draw-record-filter__sep {
  color: rgba(250, 204, 21, 0.7);
  font-weight: 700;
  flex-shrink: 0;
}

.draw-record-filter__apply {
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 800;
  color: #0d0d0d;
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.5);
  animation: drawRecordTitleShimmer 3s ease infinite;
}

.draw-record-filter__apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.6);
}

.draw-record-filter__apply:active {
  transform: translateY(0);
}

/* Main */
.draw-record-main {
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: calc(100vh - 220px);
  padding: 20px;
  padding-bottom: 24px;
  animation: drawMainGradient 10s ease infinite;
}

.draw-record-results-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  animation: drawSectionTitleShimmer 3s ease infinite;
}

/* Draw entries */
.draw-record-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.draw-record-entry {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
  animation: recordEntryIn 0.4s ease-out backwards;
}

.draw-record-entry:nth-child(1) { animation-delay: 0.05s; }
.draw-record-entry:nth-child(2) { animation-delay: 0.1s; }
.draw-record-entry:nth-child(3) { animation-delay: 0.15s; }
.draw-record-entry:nth-child(4) { animation-delay: 0.2s; }
.draw-record-entry:nth-child(5) { animation-delay: 0.25s; }

@keyframes recordEntryIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.draw-record-entry:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.draw-record-entry__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e5e7eb;
}

.draw-record-entry__date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #4b5563;
  font-weight: 500;
}

.draw-record-entry__date svg {
  flex-shrink: 0;
  color: #8b5cf6;
}

.draw-record-entry__draw-id {
  font-size: 0.8125rem;
  color: #6b7280;
}

.draw-record-entry__draw-id strong {
  color: #1a1a1a;
  font-weight: 700;
}

.draw-record-entry__numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.draw-record-ball {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  animation: ballPop 0.4s ease-out backwards;
}

.draw-record-ball:nth-child(1) { animation-delay: 0.1s; }
.draw-record-ball:nth-child(2) { animation-delay: 0.15s; }
.draw-record-ball:nth-child(3) { animation-delay: 0.2s; }
.draw-record-ball:nth-child(4) { animation-delay: 0.25s; }
.draw-record-ball:nth-child(5) { animation-delay: 0.3s; }
.draw-record-ball:nth-child(6) { animation-delay: 0.35s; }
.draw-record-ball:nth-child(7) { animation-delay: 0.4s; }
.draw-record-ball:nth-child(8) { animation-delay: 0.45s; }
.draw-record-ball:nth-child(9) { animation-delay: 0.5s; }
.draw-record-ball:nth-child(10) { animation-delay: 0.55s; }

@keyframes ballPop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.draw-record-ball:hover {
  transform: scale(1.1);
}

.draw-record-ball--purple {
  background: linear-gradient(135deg, #6b4bb8 0%, #8b5cf6 100%);
}

.draw-record-ball--yellow {
  background: linear-gradient(135deg, #d4a853 0%, #f59e0b 100%);
}

/* Tags for Lucky 28 (SUM, BIG-SMALL, EVEN-ODD) */
.draw-record-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e5e7eb;
}

.draw-record-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease;
}

.draw-record-tag:hover {
  transform: scale(1.05);
}

.draw-record-tag--sum {
  background: #f3f4f6;
  color: #1a1a1a;
}

.draw-record-tag--sum .draw-record-tag__label {
  color: #6b7280;
  font-weight: 600;
}

.draw-record-tag--sum .draw-record-tag__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  background: #dc2626;
  color: #fff;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0 6px;
}

.draw-record-tag--size {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(251, 191, 36, 0.3);
}

.draw-record-tag--parity {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

/* Adjust ball size for 2-digit numbers (Mark 6) */
.draw-record-ball {
  min-width: 36px;
  padding: 0 4px;
}

@media (max-width: 360px) {
  .draw-record-header__title {
    font-size: 0.875rem;
  }

  .draw-record-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .draw-record-filter__inputs {
    flex-direction: column;
  }

  .draw-record-ball {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
}

/* ============================================
   DEPOSIT PAGE STYLES
   ============================================ */

.deposit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 30%, #334155 60%, #0B1120 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: depositHeaderGradient 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.deposit-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: depositHeaderGlow 4s ease-in-out infinite;
}

.deposit-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.1) 50%, transparent 100%);
  animation: depositHeaderShine 6s ease-in-out infinite;
}

@keyframes depositHeaderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes depositHeaderGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20%, 20%) scale(1.2); opacity: 0.5; }
}

@keyframes depositHeaderShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.deposit-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  color: #FACC15;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.deposit-header__back:hover {
  background: rgba(250, 204, 21, 0.35);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.deposit-header__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  letter-spacing: -0.01em;
  animation: depositTitleShimmer 3s ease infinite;
}

@keyframes depositTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.deposit-header__spacer {
  width: 40px;
}

/* Progress Steps */
.deposit-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  gap: 8px;
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  animation: depositProgressGradient 6s ease infinite;
}

@keyframes depositProgressGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.deposit-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 100px;
}

.deposit-progress__step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  color: rgba(250, 204, 21, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(250, 204, 21, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.deposit-progress__step--active .deposit-progress__step-number {
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  color: #0d0d0d;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.6), 0 0 30px rgba(250, 204, 21, 0.4);
  border-color: #FACC15;
  animation: depositStepPulse 2s ease-in-out infinite, depositStepGradient 3s ease infinite;
}

@keyframes depositStepPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(250, 204, 21, 0.6), 0 0 30px rgba(250, 204, 21, 0.4); }
  50% { transform: scale(1.1); box-shadow: 0 6px 25px rgba(250, 204, 21, 0.8), 0 0 40px rgba(250, 204, 21, 0.6); }
}

@keyframes depositStepGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.deposit-progress__step-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(250, 204, 21, 0.6);
  text-align: center;
  line-height: 1.2;
}

.deposit-progress__step--active .deposit-progress__step-label {
  color: #FACC15;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.deposit-progress__step--completed .deposit-progress__step-number {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5);
  border-color: #10b981;
}

.deposit-progress__step--completed .deposit-progress__step-label {
  color: #10b981;
  font-weight: 600;
}

.deposit-progress__connector--completed::after {
  width: 100% !important;
  background: linear-gradient(90deg, #10b981, #059669);
}

.deposit-progress__connector {
  flex: 1;
  height: 2px;
  background: rgba(250, 204, 21, 0.2);
  margin: 0 -20px;
  position: relative;
  max-width: 60px;
}

.deposit-progress__connector::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #FACC15, #FDE047);
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.deposit-progress__step--active ~ .deposit-progress__connector::after {
  width: 100%;
}

/* Main Content */
.deposit-main {
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: calc(100vh - 200px);
  padding: 24px 20px;
  padding-bottom: 100px;
  animation: depositMainGradient 10s ease infinite;
}

@keyframes depositMainGradient {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

.deposit-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-radius: 1rem;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 50px rgba(250, 204, 21, 0.2);
  border: 2px solid rgba(250, 204, 21, 0.3);
  position: relative;
  overflow: hidden;
  animation: depositSectionGradient 6s ease infinite;
}

.deposit-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  animation: depositSectionShine 4s ease-in-out infinite;
}

@keyframes depositSectionGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes depositSectionShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.deposit-section__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 25px rgba(250, 204, 21, 0.6);
  animation: depositTitleShimmer 3s ease infinite;
  position: relative;
  z-index: 1;
}

@keyframes depositTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.deposit-section__subtitle {
  font-size: 0.875rem;
  color: rgba(250, 204, 21, 0.8);
  margin: 0 0 24px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

/* Payment Method Display */
.deposit-method-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  align-items: flex-end;
}

.deposit-method-row .deposit-method {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.deposit-method {
  margin-bottom: 20px;
}

.deposit-method__label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.8);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.deposit-method__value {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.1);
  position: relative;
  z-index: 1;
}

.deposit-method__value:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.2);
}

.deposit-method__value--currency {
  gap: 12px;
}

.deposit-method__badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  color: #0d0d0d;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.5), inset 0 2px 8px rgba(255, 255, 255, 0.3);
  animation: depositBadgeGradient 3s ease infinite;
}

@keyframes depositBadgeGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.deposit-method__icon-wrapper {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(38, 161, 123, 0.3));
}

.deposit-method__currency-name {
  font-size: 1.125rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.02em;
  animation: depositCurrencyShimmer 3s ease infinite;
}

@keyframes depositCurrencyShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* QR Code */
.deposit-qr {
  display: flex;
  justify-content: center;
  margin: 32px 0;
  padding: 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
  border-radius: var(--radius);
  border: 2px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(250, 204, 21, 0.2);
  position: relative;
  z-index: 1;
}

.deposit-qr__code {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 40px rgba(250, 204, 21, 0.3);
  border: 2px solid rgba(250, 204, 21, 0.2);
}

.deposit-qr__code svg {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
}

/* Deposit Address */
.deposit-address {
  margin-top: 24px;
}

.deposit-address__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.8);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.deposit-address__value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.1);
  position: relative;
  z-index: 1;
}

.deposit-address__value:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.2);
}

.deposit-address__text {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #FACC15;
  word-break: break-all;
  line-height: 1.6;
  letter-spacing: 0.02em;
  flex: 1;
  min-width: 0;
  font-weight: 600;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

.deposit-address__copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FACC15;
  background: rgba(250, 204, 21, 0.15);
  border: 1.5px solid rgba(250, 204, 21, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.deposit-address__copy:hover {
  background: rgba(250, 204, 21, 0.25);
  border-color: rgba(250, 204, 21, 0.5);
  color: #FDE047;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.deposit-address__copy:active {
  transform: scale(0.98);
}

.deposit-address__copy svg {
  flex-shrink: 0;
}

/* Footer with Continue Button */
.deposit-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
  border-top: 2px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6), 0 0 50px rgba(250, 204, 21, 0.2);
  z-index: 100;
}

.deposit-continue {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: #0d0d0d;
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.5), 0 0 30px rgba(250, 204, 21, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  animation: depositContinueGradient 3s ease infinite;
}

.deposit-continue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.deposit-continue:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.6), 0 0 40px rgba(250, 204, 21, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

.deposit-continue:hover::before {
  left: 100%;
}

@keyframes depositContinueGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.deposit-continue:active {
  transform: translateY(0);
}

/* Deposit Step 2 - Form Fields */
.deposit-field {
  margin-bottom: 20px;
}

.deposit-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.deposit-field__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.deposit-field__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #1a1a1a;
  background: #f8f6f1;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  outline: none;
}

.deposit-field__input:focus {
  border-color: #8b5cf6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.deposit-field__input::placeholder {
  color: #9ca3af;
}

.deposit-field__suffix {
  position: absolute;
  right: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  pointer-events: none;
}

.deposit-field__input-wrapper .deposit-field__input {
  padding-right: 70px;
}

/* Agreement Checkbox */
.deposit-agreement {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.deposit-agreement__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.deposit-agreement__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.deposit-agreement__custom-checkbox {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.deposit-agreement__checkbox:checked + .deposit-agreement__custom-checkbox {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.deposit-agreement__checkbox:checked + .deposit-agreement__custom-checkbox::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.deposit-agreement__text {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #4b5563;
  flex: 1;
}

.deposit-agreement__text strong {
  color: #1a1a1a;
  font-weight: 700;
}

/* Two Button Footer */
.deposit-footer--two-buttons {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
}

.deposit-btn {
  flex: 1;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
}

.deposit-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.deposit-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.deposit-btn--primary:active {
  transform: translateY(0);
}

.deposit-btn--secondary {
  color: #4b5563;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
}

.deposit-btn--secondary:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
}

.deposit-btn--secondary:active {
  transform: scale(0.98);
}

@media (max-width: 360px) {
  .deposit-progress__step-label {
    font-size: 0.625rem;
  }

  .deposit-qr__code {
    width: 180px;
    height: 180px;
  }

  .deposit-section {
    padding: 20px;
  }

  .deposit-method-row {
    flex-direction: column;
    align-items: stretch;
  }

  .deposit-method-row .deposit-method {
    margin-bottom: 16px;
  }

  .deposit-method-row .deposit-method:last-child {
    margin-bottom: 0;
  }

  .deposit-footer--two-buttons {
    flex-direction: column;
  }

  .deposit-btn {
    width: 100%;
  }
}

/* ============================================
   DEPOSIT RECORD / PENDING PAGE
   ============================================ */

.deposit-header--record {
  background: linear-gradient(135deg, #4c1d95 0%, #6b4bb8 35%, #3b82f6 100%);
}

/* Processing banner */
.pending-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  margin: 0 20px 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(251, 146, 60, 0.12);
}

.pending-banner__icon {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  color: #f97316;
  box-shadow: 0 2px 12px rgba(249, 115, 22, 0.2);
}

.pending-banner__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(249, 115, 22, 0.25);
  animation: pendingPulse 2s ease-in-out infinite;
}

.pending-banner__icon svg {
  position: relative;
  z-index: 1;
}

@keyframes pendingPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

.pending-banner__content {
  flex: 1;
  min-width: 0;
}

.pending-banner__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.pending-banner__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

/* Tabs */
.deposit-record-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px 16px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}

.deposit-record-tab {
  padding: 12px 20px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.deposit-record-tab:hover {
  color: #4b5563;
}

.deposit-record-tab--active {
  color: #8b5cf6;
}

.deposit-record-tab--active::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
  border-radius: 3px 3px 0 0;
}

/* Record list */
.deposit-record-main {
  padding: 20px;
  padding-bottom: 120px;
  background: #f5f5f5;
  min-height: 50vh;
}

.deposit-record-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.deposit-record-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.deposit-record-card--pending {
  border: 1px solid #fed7aa;
  background: linear-gradient(180deg, #fffbf7 0%, #fff 100%);
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.1);
}

.deposit-record-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.deposit-record-card__ref {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 0.8125rem;
  color: #6b7280;
  word-break: break-all;
  max-width: 60%;
}

.deposit-record-card__time {
  font-size: 0.8125rem;
  color: #9ca3af;
  white-space: nowrap;
}

.deposit-record-card__divider {
  height: 1px;
  margin: 14px 0;
  background: repeating-linear-gradient(90deg, #e5e7eb 0, #e5e7eb 4px, transparent 4px, transparent 8px);
}

.deposit-record-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.deposit-record-card__row + .deposit-record-card__row {
  margin-top: 10px;
}

.deposit-record-card__label {
  font-size: 0.9375rem;
  color: #4b5563;
}

.deposit-record-card__amount {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.deposit-record-card__amount small {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  margin-left: 2px;
}

.deposit-record-card__amount--withdrawal {
  color: #dc2626;
}

.deposit-record-card__row--status {
  padding-top: 4px;
}

.deposit-record-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.deposit-record-card__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.deposit-record-card__status--pending {
  color: #ea580c;
}

.deposit-record-card__status--pending .deposit-record-card__status-dot {
  background: #f97316;
  animation: statusDotPulse 1.5s ease-in-out infinite;
}

.deposit-record-card__status--completed {
  color: #059669;
}

.deposit-record-card__status--completed .deposit-record-card__status-dot {
  background: #10b981;
}

@keyframes statusDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.deposit-record-card__source {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Footer */
.deposit-record-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.deposit-btn--block {
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.deposit-record-footer__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.deposit-record-footer__link:hover {
  color: #8b5cf6;
}

@media (max-width: 360px) {
  .pending-banner {
    margin-left: 16px;
    margin-right: 16px;
    padding: 16px;
  }

  .deposit-record-main {
    padding: 16px;
  }

  .deposit-record-card {
    padding: 16px;
  }

  .deposit-record-card__ref {
    max-width: 100%;
  }
}

/* ============================================
   WITHDRAWAL PAGE STYLES
   ============================================ */

.withdrawal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #4c1d95 0%, #6b4bb8 40%, #3b82f6 100%);
  position: relative;
  overflow: hidden;
}

.withdrawal-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.withdrawal-header__back:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

.withdrawal-header__title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin: 0;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.withdrawal-header__spacer {
  width: 40px;
}

/* Main Content */
.withdrawal-main {
  background: #f5f5f5;
  min-height: calc(100vh - 200px);
  padding: 20px;
  padding-bottom: 100px;
}

/* Withdrawal Type Selection */
.withdrawal-type {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.withdrawal-type__btn {
  flex: 1;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #4b5563;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all 0.3s ease;
}

.withdrawal-type__btn--active {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border-color: #8b5cf6;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.withdrawal-type__btn:hover:not(.withdrawal-type__btn--active) {
  background: #e5e7eb;
  border-color: #d1d5db;
}

/* Account Balance */
.withdrawal-balance {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.withdrawal-balance__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 50%;
  color: #6b7280;
  flex-shrink: 0;
}

.withdrawal-balance__content {
  flex: 1;
  min-width: 0;
}

.withdrawal-balance__label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 4px;
}

.withdrawal-balance__amount {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

/* Form Section */
.withdrawal-section {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Form Fields */
.withdrawal-field {
  margin-bottom: 20px;
}

.withdrawal-field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.withdrawal-field__input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.withdrawal-field__input-wrapper--password {
  padding-right: 48px;
}

.withdrawal-field__input {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-body);
  color: #1a1a1a;
  background: #f8f6f1;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  outline: none;
}

.withdrawal-field__input:focus {
  border-color: #8b5cf6;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.withdrawal-field__input::placeholder {
  color: #9ca3af;
}

.withdrawal-field__suffix {
  position: absolute;
  right: 16px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  pointer-events: none;
}

.withdrawal-field__input-wrapper .withdrawal-field__input {
  padding-right: 70px;
}

.withdrawal-field__toggle {
  position: absolute;
  right: 12px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.withdrawal-field__toggle:hover {
  background: rgba(107, 114, 128, 0.1);
  color: #4b5563;
}

/* Handling Fees */
.withdrawal-fees {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.withdrawal-fees__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.withdrawal-fees__toggle svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.withdrawal-fees__content {
  display: none;
  padding-top: 12px;
}

.withdrawal-fees__text {
  font-size: 0.875rem;
  color: #8b5cf6;
  font-weight: 600;
}

/* Payment Section */
.withdrawal-payment {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.withdrawal-payment__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

/* Payment Method Display */
.withdrawal-method {
  margin-bottom: 20px;
}

.withdrawal-method__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 8px;
}

.withdrawal-method__value {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #f8f6f1;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.withdrawal-method__value--wallet {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
}

.withdrawal-method__icon-wrapper {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.withdrawal-method__text {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
}

.withdrawal-method__text--address {
  font-size: 0.875rem;
  color: #6b7280;
  letter-spacing: 0.02em;
}

/* Remind Section */
.withdrawal-remind {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.withdrawal-remind__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.withdrawal-remind__list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: #6b7280;
}

.withdrawal-remind__list li {
  margin-bottom: 6px;
}

/* Footer with Submit Button */
.withdrawal-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  padding: 16px 20px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.withdrawal-submit {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.withdrawal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.withdrawal-submit:active {
  transform: translateY(0);
}

@media (max-width: 360px) {
  .withdrawal-main {
    padding: 16px;
  }

  .withdrawal-section {
    padding: 20px;
  }

  .withdrawal-type {
    flex-direction: column;
  }
}

/* ============================================
   ALERTS / INFORMATION PAGE
   ============================================ */

.alerts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 30%, #334155 60%, #0B1120 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: alertsHeaderGradient 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.alerts-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: alertsHeaderGlow 4s ease-in-out infinite;
}

.alerts-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.1) 50%, transparent 100%);
  animation: alertsHeaderShine 6s ease-in-out infinite;
}

@keyframes alertsHeaderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes alertsHeaderGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20%, 20%) scale(1.2); opacity: 0.5; }
}

@keyframes alertsHeaderShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.alerts-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  color: #FACC15;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.alerts-header__back:hover {
  background: rgba(250, 204, 21, 0.35);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.alerts-header__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  letter-spacing: -0.01em;
  animation: alertsTitleShimmer 3s ease infinite;
}

@keyframes alertsTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.alerts-header__spacer {
  width: 40px;
}

/* Tabs */
.alerts-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  animation: alertsTabsGradient 6s ease infinite;
}

@keyframes alertsTabsGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.alerts-tab {
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(250, 204, 21, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.alerts-tab:hover {
  color: rgba(250, 204, 21, 0.9);
}

.alerts-tab--active {
  color: #FACC15;
  font-weight: 700;
}

.alerts-tab--active::after {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #FACC15, #FDE047);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

/* List */
.alerts-main {
  padding: 20px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: 50vh;
  animation: alertsMainGradient 10s ease infinite;
}

@keyframes alertsMainGradient {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

.alerts-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(250, 204, 21, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(250, 204, 21, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: alertsCardGradient 6s ease infinite;
}

.alert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  transition: left 0.5s ease;
}

.alert-card:hover {
  box-shadow: 0 6px 25px rgba(250, 204, 21, 0.3), 0 0 40px rgba(250, 204, 21, 0.2);
  transform: translateY(-2px);
  border-color: rgba(250, 204, 21, 0.4);
}

.alert-card:hover::before {
  left: 100%;
}

@keyframes alertsCardGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.alert-card--unread {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  border: 2px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 4px 25px rgba(250, 204, 21, 0.4), 0 0 40px rgba(250, 204, 21, 0.2);
}

.alert-card__unread {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 100%);
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.8);
  animation: alertsUnreadPulse 2s ease infinite;
}

@keyframes alertsUnreadPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
}

.alert-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  color: #0d0d0d;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.5), 0 0 25px rgba(250, 204, 21, 0.3);
  animation: alertsIconGradient 3s ease infinite;
}

@keyframes alertsIconGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.alert-card__content {
  flex: 1;
  min-width: 0;
}

.alert-card__time {
  display: block;
  font-size: 0.75rem;
  color: rgba(250, 204, 21, 0.7);
  margin-bottom: 4px;
  font-weight: 600;
}

.alert-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  animation: alertsTitleShimmer 3s ease infinite;
}

.alert-card__snippet {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(250, 204, 21, 0.8);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alert-card__chevron {
  color: rgba(250, 204, 21, 0.5);
  flex-shrink: 0;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.alert-card:hover .alert-card__chevron {
  color: #FACC15;
  transform: translateX(2px);
}

/* Empty state */
.alerts-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.alerts-empty__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2) 0%, rgba(250, 204, 21, 0.1) 100%);
  color: rgba(250, 204, 21, 0.6);
  border-radius: 50%;
  margin-bottom: 20px;
  border: 2px solid rgba(250, 204, 21, 0.3);
}

.alerts-empty__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  animation: alertsTitleShimmer 3s ease infinite;
}

.alerts-empty__text {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: rgba(250, 204, 21, 0.7);
  margin: 0;
  max-width: 280px;
}

/* Detail page */
.alert-detail-main {
  padding: 20px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: 60vh;
  animation: alertsMainGradient 10s ease infinite;
}

.alert-detail {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(250, 204, 21, 0.3);
  animation: alertsCardGradient 6s ease infinite;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.alert-detail__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
  margin-bottom: 16px;
}

.alert-detail__title {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  color: #FACC15;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.25);
}

.alert-detail__time {
  display: block;
  font-size: 0.875rem;
  color: rgba(226, 232, 240, 0.65);
  margin-bottom: 20px;
}

.alert-detail__body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.86);
}

.alert-detail__body p {
  margin: 0 0 1em;
}

.alert-detail__body p:last-child {
  margin-bottom: 0;
}

.alert-detail-error {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.alert-detail-error p {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 16px;
}

.alert-detail-error__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #8b5cf6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.alert-detail-error__link:hover {
  color: #6b4bb8;
}

@media (max-width: 360px) {
  .alerts-main,
  .alert-detail-main {
    padding: 16px;
  }

  .alert-card {
    padding: 14px;
  }

  .alert-detail {
    padding: 20px;
  }
}

/* ============================================
   LOGIN PAGE
   ============================================ */

.login-page {
  padding-bottom: 0;
}

.login-page .app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
}

/* Header with bokeh */
.login-header {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 24px 40px;
  overflow: hidden;
}

.login-header__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #0d0d0d 0%, #161616 35%, #1e1e1e 70%, #252520 100%);
}

.login-header__bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  animation: loginBokeh 10s ease-in-out infinite;
}

.login-header__bokeh--1 {
  width: 100px;
  height: 100px;
  background: rgba(212, 168, 83, 0.35);
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.login-header__bokeh--2 {
  width: 80px;
  height: 80px;
  background: rgba(232, 201, 122, 0.3);
  top: 25%;
  right: 10%;
  animation-delay: 1.5s;
}

.login-header__bokeh--3 {
  width: 60px;
  height: 60px;
  background: rgba(184, 146, 63, 0.35);
  bottom: 30%;
  left: 15%;
  animation-delay: 3s;
}

.login-header__bokeh--4 {
  width: 90px;
  height: 90px;
  background: rgba(212, 168, 83, 0.25);
  bottom: 15%;
  right: 5%;
  animation-delay: 2s;
}

.login-header__bokeh--5 {
  width: 50px;
  height: 50px;
  background: rgba(232, 201, 122, 0.3);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 0.8s;
}

@keyframes loginBokeh {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  33% { transform: translate(15px, -10px) scale(1.05); opacity: 0.5; }
  66% { transform: translate(-10px, 8px) scale(0.95); opacity: 0.35; }
}

.login-header__back {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 2;
}

.login-header__back:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

.login-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  animation: loginBrandIn 0.8s ease-out forwards;
}

@keyframes loginBrandIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header__logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  animation: loginLogoPulse 3s ease-in-out infinite;
}

@keyframes loginLogoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(212, 168, 83, 0.4)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 20px rgba(212, 168, 83, 0.5)); }
}

.login-header__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.03em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-header__float {
  position: absolute;
  font-size: 1.25rem;
  opacity: 0.5;
  animation: loginFloat 6s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.login-header__float--1 {
  top: 18%;
  right: 12%;
  animation-delay: 0s;
}

.login-header__float--2 {
  bottom: 25%;
  left: 8%;
  animation-delay: 2s;
}

.login-header__float--3 {
  top: 35%;
  left: 10%;
  animation-delay: 4s;
}

@keyframes loginFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-12px) rotate(8deg); opacity: 0.6; }
}

/* Card */
.login-main {
  padding: 0 20px 32px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
}

.login-card {
  background: var(--card);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 32px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2), 0 4px 24px rgba(0, 0, 0, 0.15);
  animation: loginCardIn 0.6s ease-out 0.2s both;
}

@keyframes loginCardIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 6px;
  letter-spacing: -0.03em;
  text-align: center;
}

.login-card__tagline {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 28px;
  text-align: center;
  line-height: 1.5;
}

/* Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.login-field__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #4b5563;
}

.login-field__input {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1a1a1a;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field__input::placeholder {
  color: #9ca3af;
}

.login-field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 168, 83, 0.15);
}

.login-field__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-field__wrapper .login-field__input {
  padding-right: 52px;
}

.login-field__toggle {
  position: absolute;
  right: 12px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.login-field__toggle:hover {
  color: var(--accent);
  background: rgba(212, 168, 83, 0.1);
}

.login-field__eye,
.login-field__eye-off {
  display: inline-flex;
}

.login-field__eye[hidden],
.login-field__eye-off[hidden] {
  display: none !important;
}

/* Button */
.login-btn {
  width: 100%;
  padding: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #0d0d0d;
  background: var(--gold-gradient);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.35);
  margin-top: 8px;
  animation: loginBtnShimmer 4s ease-in-out infinite;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 168, 83, 0.45);
}

.login-btn:active {
  transform: translateY(0);
}

@keyframes loginBtnShimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.08); }
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 20px;
}

.login-divider__line {
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.login-divider__text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: lowercase;
}

/* Signup link */
.login-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

.login-signup:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(212, 168, 83, 0.06);
  transform: translateY(-1px);
}

.login-signup__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  border-radius: 50%;
  transition: background 0.25s ease, color 0.25s ease;
}

.login-signup:hover .login-signup__icon {
  background: var(--accent);
  color: #0d0d0d;
}

@media (max-width: 360px) {
  .login-header {
    min-height: 200px;
    padding-bottom: 32px;
  }

  .login-main {
    padding-left: 16px;
    padding-right: 16px;
    margin-top: -20px;
  }

  .login-card {
    padding: 24px 20px;
  }

  .login-card__title {
    font-size: 1.5rem;
  }
}

/* ============================================
   SIGNUP PAGE
   ============================================ */

.signup-page .login-header { min-height: 200px; padding-bottom: 32px; }
.signup-main { margin-top: -24px; padding-bottom: 40px; }
.signup-card { padding-bottom: 28px; }

.signup-form .login-field { margin-bottom: 4px; }

.signup-strength {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 4px;
}
.signup-strength--visible { display: flex; }

.signup-strength__bars {
  display: flex;
  gap: 4px;
  align-items: center;
}
.signup-strength__bar {
  width: 24px;
  height: 4px;
  border-radius: 2px;
  background: #e5e7eb;
  transition: background 0.25s ease;
}
.signup-strength__bar--on { background: var(--accent); }
.signup-strength__bar:nth-child(1).signup-strength__bar--on { background: #ef4444; }
.signup-strength__bar:nth-child(2).signup-strength__bar--on { background: #f59e0b; }
.signup-strength__bar:nth-child(3).signup-strength__bar--on { background: #10b981; }

.signup-strength__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
}

.signup-agree {
  margin: 20px 0 16px;
}
.signup-agree__label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
}
.signup-agree__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.signup-agree__box {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.signup-agree__input:checked + .signup-agree__box {
  background: var(--gold-gradient);
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(212, 168, 83, 0.3);
}
.signup-agree__input:checked + .signup-agree__box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #0d0d0d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}
.signup-agree__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #4b5563;
  flex: 1;
}
.signup-agree__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.signup-agree__link:hover { border-bottom-color: var(--accent); }

.signup-btn { margin-top: 4px; }

.signup-footer {
  font-size: 0.75rem;
  line-height: 1.5;
  color: #9ca3af;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
}
.signup-footer__link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.signup-footer__link:hover { text-decoration: underline; }

@media (max-width: 360px) {
  .signup-main { padding-left: 16px; padding-right: 16px; margin-top: -20px; }
  .signup-card { padding: 24px 20px 24px; }
}

/* ============================================
   TERMS / USER SERVICE AGREEMENTS PAGE
   ============================================ */

.terms-page { padding-bottom: 0; }
.terms-page .app { max-width: 560px; margin: 0 auto; min-height: 100vh; }

.terms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0d0d0d 0%, #161616 40%, #1e1e1e 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}
.terms-header__back,
.terms-header__home {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text);
  text-decoration: none;
  transition: all 0.25s ease;
}
.terms-header__back:hover,
.terms-header__home:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  transform: scale(1.05);
}
.terms-header__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
  text-align: center;
  flex: 1;
  padding: 0 12px;
}
.terms-header__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin: 8px auto 0;
  animation: termsAccent 2s ease-in-out infinite;
}
@keyframes termsAccent {
  0%, 100% { opacity: 0.7; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.1); }
}

.terms-main {
  padding: 24px 20px 40px;
  background: #f5f5f5;
  min-height: calc(100vh - 80px);
}
.terms-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.terms-section {
  margin-bottom: 28px;
}
.terms-section:last-child { margin-bottom: 0; }
.terms-section__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  letter-spacing: -0.02em;
}
.terms-list {
  margin: 0;
  padding-left: 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #4b5563;
}
.terms-list li {
  margin-bottom: 10px;
}
.terms-list li:last-child { margin-bottom: 0; }

@media (max-width: 360px) {
  .terms-main { padding: 16px; }
  .terms-content { padding: 20px 18px; }
  .terms-section__title { font-size: 0.9375rem; }
  .terms-list { font-size: 0.875rem; padding-left: 18px; }
}

/* ============================================
   MK10 GAME PAGE
   ============================================ */

.mk10-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 30%, #334155 60%, #0B1120 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: mk10HeaderGradient 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mk10-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.08) 0%, transparent 70%);
  animation: mk10HeaderGlow 4s ease-in-out infinite;
}

.mk10-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.05) 50%, transparent 100%);
  animation: mk10HeaderShine 6s ease-in-out infinite;
}

@keyframes mk10HeaderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10HeaderGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20%, 20%) scale(1.2); opacity: 0.5; }
}

@keyframes mk10HeaderShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.mk10-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  color: #FACC15;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.mk10-header__back:hover {
  background: rgba(250, 204, 21, 0.35);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.mk10-header__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: mk10TitleShimmer 3s ease infinite;
}

.mk10-header__spacer {
  width: 40px;
}

/* Main */
.mk10-main {
  padding: 20px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: calc(100vh - 80px);
  animation: mk10MainGradient 10s ease infinite;
}

@keyframes mk10MainGradient {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

/* VIP Cards */
.mk10-card {
  position: relative;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 60px rgba(250, 204, 21, 0.4), inset 0 1px 0 rgba(250, 204, 21, 0.2);
  border: 2px solid rgba(250, 204, 21, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: mk10CardIn 0.6s ease-out forwards;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 50%, #1e293b 100%);
  background-size: 200% 200%;
  opacity: 1;
  backdrop-filter: none;
}

.mk10-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  transition: left 0.6s ease;
}

.mk10-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 60px rgba(250, 204, 21, 0.3);
  border-color: rgba(250, 204, 21, 0.5);
}

.mk10-card:hover::before {
  left: 100%;
}

.mk10-card:nth-child(1) { animation-delay: 0.1s; }
.mk10-card:nth-child(2) { animation-delay: 0.2s; }
.mk10-card:nth-child(3) { animation-delay: 0.3s; }
.mk10-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes mk10CardIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pattern (2x2 grid) */
.mk10-card__pattern {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  opacity: 0.4;
  z-index: 1;
}

.mk10-card__pattern::before,
.mk10-card__pattern::after {
  content: '';
  background: rgba(250, 204, 21, 0.3);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.2);
}

.mk10-card__pattern::before {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.mk10-card__pattern::after {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.mk10-card__pattern {
  background-image: 
    linear-gradient(rgba(250, 204, 21, 0.3), rgba(250, 204, 21, 0.3)),
    linear-gradient(rgba(250, 204, 21, 0.3), rgba(250, 204, 21, 0.3));
  background-size: 12px 12px, 12px 12px;
  background-position: 0 0, 16px 16px;
  background-repeat: no-repeat;
}

/* Card Content */
.mk10-card__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.mk10-card__info {
  flex: 1;
  min-width: 0;
}

.mk10-card__level {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  text-shadow: 0 0 25px rgba(250, 204, 21, 0.6);
  animation: mk10CardLevelShimmer 3s ease infinite;
  position: relative;
  z-index: 2;
}

@keyframes mk10CardLevelShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-card__detail {
  font-size: 0.875rem;
  color: rgba(250, 204, 21, 0.9);
  margin: 0 0 8px;
  line-height: 1.5;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.mk10-card__detail strong {
  font-weight: 800;
  color: #FACC15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.mk10-card__visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* VIP1 - Gold Accent */
.mk10-card--vip1 {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  position: relative;
  animation: mk10CardGradient 6s ease infinite;
}

.mk10-card--vip1::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: mk10CardOrb 8s ease-in-out infinite;
}

@keyframes mk10CardGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10CardOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(-30px, 30px) scale(1.2); opacity: 0.5; }
}

.mk10-card__bingo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mk10-card__crown {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mk10Float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.5));
  position: relative;
  z-index: 2;
}

@keyframes mk10Float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}

.mk10-card__bingo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  letter-spacing: 0.1em;
  transform: perspective(100px) rotateX(5deg);
  animation: mk10BingoTextShimmer 3s ease infinite;
  position: relative;
  z-index: 2;
}

@keyframes mk10BingoTextShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* VIP2 - Gold Accent */
.mk10-card--vip2 {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  animation: mk10CardGradient 6s ease infinite;
}

.mk10-card--vip2::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: mk10CardOrb 8s ease-in-out infinite;
  animation-delay: 1s;
}

.mk10-card__lottery {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.mk10-card__tickets {
  display: flex;
  gap: -10px;
  position: relative;
}

.mk10-card__ticket {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.4));
  position: relative;
  z-index: 2;
}

.mk10-card__ticket--1 {
  animation: mk10Ticket1 2s ease-in-out infinite;
}

.mk10-card__ticket--2 {
  margin-left: -20px;
  animation: mk10Ticket2 2s ease-in-out infinite;
}

@keyframes mk10Ticket1 {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-4px) rotate(2deg); }
}

@keyframes mk10Ticket2 {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-4px) rotate(-2deg); }
}

.mk10-card__pencil {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mk10Float 2.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.5));
  position: relative;
  z-index: 2;
}

/* VIP3 - Gold Accent */
.mk10-card--vip3 {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  animation: mk10CardGradient 6s ease infinite;
}

.mk10-card--vip3::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: mk10CardOrb 8s ease-in-out infinite;
  animation-delay: 2s;
}

.mk10-card__ticket-single {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.4));
  animation: mk10Float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

/* Top VIP - Premium Gold Accent */
.mk10-card--topvip {
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 50%, #1e293b 100%);
  background-size: 200% 200%;
  animation: mk10CardGradient 6s ease infinite;
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 50px rgba(250, 204, 21, 0.2);
}

.mk10-card--topvip::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.25) 0%, transparent 70%);
  animation: mk10CardOrb 8s ease-in-out infinite;
  animation-delay: 3s;
}

.mk10-card--topvip:hover {
  border-color: rgba(250, 204, 21, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 80px rgba(250, 204, 21, 0.4);
}

.mk10-card__wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mk10-card__wheel-inner {
  width: 120px;
  height: 120px;
  animation: mk10WheelSpin 8s linear infinite;
  filter: drop-shadow(0 4px 20px rgba(250, 204, 21, 0.5));
  position: relative;
  z-index: 2;
}

@keyframes mk10WheelSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Lottery Balls */
.mk10-card__balls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.mk10-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.3);
  position: relative;
  animation: mk10BallBounce 2s ease-in-out infinite;
  border: 2px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.mk10-ball::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.mk10-ball:nth-child(1) { animation-delay: 0s; }
.mk10-ball:nth-child(2) { animation-delay: 0.2s; }
.mk10-ball:nth-child(3) { animation-delay: 0.4s; }
.mk10-ball:nth-child(4) { animation-delay: 0.6s; }
.mk10-ball:nth-child(5) { animation-delay: 0.8s; }

@keyframes mk10BallBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
}

.mk10-ball--purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6b4bb8 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  animation: mk10BallBounce 2s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.2);
}

.mk10-ball--red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #ef4444 100%);
  background-size: 200% 200%;
  animation: mk10BallBounce 2s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.2);
}

.mk10-ball--green {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #10b981 100%);
  background-size: 200% 200%;
  animation: mk10BallBounce 2s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.2);
}

.mk10-ball--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%);
  background-size: 200% 200%;
  animation: mk10BallBounce 2s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.5), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.2);
}

@keyframes mk10BallGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 360px) {
  .mk10-main {
    padding: 16px;
  }

  .mk10-card {
    padding: 20px;
  }

  .mk10-card__level {
    font-size: 1.75rem;
  }

  .mk10-card__detail {
    font-size: 0.8125rem;
  }

  .mk10-card__bingo-text {
    font-size: 1.25rem;
  }

  .mk10-ball {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
}

/* ============================================
   MK10 GAMING PAGE
   ============================================ */

.mk10-game-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 30%, #334155 60%, #0B1120 100%);
  background-size: 200% 200%;
  position: relative;
  overflow: hidden;
  animation: mk10HeaderGradient 8s ease infinite;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mk10-game-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15) 0%, transparent 70%);
  animation: mk10HeaderGlow 4s ease-in-out infinite;
}

.mk10-game-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(250, 204, 21, 0.1) 50%, transparent 100%);
  animation: mk10HeaderShine 6s ease-in-out infinite;
}

@keyframes mk10HeaderGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10HeaderGlow {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20%, 20%) scale(1.2); opacity: 0.5; }
}

@keyframes mk10HeaderShine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.mk10-game-header__back {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.2);
  border-radius: 50%;
  color: #FACC15;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.mk10-game-header__back:hover {
  background: rgba(250, 204, 21, 0.35);
  transform: translateX(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
}

.mk10-game-header__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  margin: 0;
  position: relative;
  z-index: 10;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  letter-spacing: 0.05em;
  animation: mk10TitleShimmer 3s ease infinite;
}

@keyframes mk10TitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-game-header__profile {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
  position: relative;
  z-index: 10;
}
.mk10-game-header__profile:hover {
  opacity: 0.8;
}

.mk10-game-header__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.3) 0%, rgba(251, 191, 36, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 2px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.mk10-game-header__profile:hover .mk10-game-header__avatar {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4);
  border-color: rgba(250, 204, 21, 0.6);
}

/* Alert Bar */
.mk10-game-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FEF3C7 100%);
  background-size: 200% 100%;
  border-bottom: 1px solid rgba(250, 204, 21, 0.3);
  position: relative;
  overflow: hidden;
  animation: mk10AlertGradient 4s ease infinite;
  box-shadow: 0 1px 5px rgba(250, 204, 21, 0.15);
}

.mk10-game-alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: mk10AlertShine 3s ease-in-out infinite;
}

@keyframes mk10AlertGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10AlertShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.mk10-game-alert__icon {
  font-size: 0.9375rem;
  flex-shrink: 0;
  animation: mk10AlertIconPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(146, 64, 14, 0.2));
}

@keyframes mk10AlertIconPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.mk10-game-alert__text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #92400e;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Game Status */
.mk10-game-status {
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 200% 200%;
  padding: 20px;
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  position: relative;
  overflow: hidden;
  animation: mk10StatusGradient 6s ease infinite;
  box-shadow: inset 0 0 30px rgba(250, 204, 21, 0.1);
}

.mk10-game-status::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
  animation: mk10StatusOrb 8s ease-in-out infinite;
}

@keyframes mk10StatusGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10StatusOrb {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(-30px, 30px) scale(1.2); opacity: 0.5; }
}

.mk10-game-status__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mk10-game-status__round-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mk10-game-status__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(250, 204, 21, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
  position: relative;
  z-index: 1;
}

.mk10-game-status__timer {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #dc2626 100%);
  background-size: 200% 100%;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.6), 0 0 30px rgba(220, 38, 38, 0.4);
  animation: mk10TimerPulse 2s ease-in-out infinite, mk10TimerGradient 3s ease infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  align-self: flex-start;
}

.mk10-game-status__timer--drawing {
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.6), 0 0 30px rgba(250, 204, 21, 0.4);
  animation: mk10TimerPulse 1s ease-in-out infinite, mk10TimerGradient 2s ease infinite;
}

@keyframes mk10TimerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes mk10TimerGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-game-status__timer-value {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mk10-game-status__round {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mk10-game-status__round-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.3);
}

.mk10-game-status__round-number {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  text-shadow: 0 0 25px rgba(250, 204, 21, 0.6);
  animation: mk10RoundNumberShimmer 3s ease infinite;
  position: relative;
  z-index: 1;
  line-height: 1;
  display: inline-block;
}

.mk10-game-status__round-number::after {
  content: attr(data-round);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(10px);
  opacity: 0.4;
  z-index: -1;
  animation: mk10RoundNumberShimmer 3s ease infinite;
}

@keyframes mk10RoundNumberShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-game-status__results {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}

.mk10-game-ball {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(250, 204, 21, 0.3);
  position: relative;
  animation: mk10GameBallIn 0.5s ease-out forwards, mk10BallFloat 3s ease-in-out infinite;
  opacity: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes mk10BallFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.mk10-game-ball:nth-child(1) { animation-delay: 0.05s; }
.mk10-game-ball:nth-child(2) { animation-delay: 0.1s; }
.mk10-game-ball:nth-child(3) { animation-delay: 0.15s; }
.mk10-game-ball:nth-child(4) { animation-delay: 0.2s; }
.mk10-game-ball:nth-child(5) { animation-delay: 0.25s; }
.mk10-game-ball:nth-child(6) { animation-delay: 0.3s; }
.mk10-game-ball:nth-child(7) { animation-delay: 0.35s; }
.mk10-game-ball:nth-child(8) { animation-delay: 0.4s; }
.mk10-game-ball:nth-child(9) { animation-delay: 0.45s; }
.mk10-game-ball:nth-child(10) { animation-delay: 0.5s; }

@keyframes mk10GameBallIn {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.mk10-game-ball::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.mk10-game-ball--purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #6b4bb8 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  animation: mk10GameBallIn 0.5s ease-out forwards, mk10BallFloat 3s ease-in-out infinite, mk10BallGradient 4s ease infinite;
}

.mk10-game-ball--yellow {
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 200%;
  color: #1a1a1a;
  animation: mk10GameBallIn 0.5s ease-out forwards, mk10BallFloat 3s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 25px rgba(250, 204, 21, 0.5);
}

@keyframes mk10BallGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-game-ball--yellow::before {
  background: rgba(0, 0, 0, 0.2);
}

.mk10-game-ball--blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  background-size: 200% 200%;
  animation: mk10GameBallIn 0.5s ease-out forwards, mk10BallFloat 3s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 25px rgba(59, 130, 246, 0.5);
}

.mk10-game-ball--blue::before {
  background: rgba(0, 0, 0, 0.2);
}

.mk10-game-ball--pink {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
  background-size: 200% 200%;
  animation: mk10GameBallIn 0.5s ease-out forwards, mk10BallFloat 3s ease-in-out infinite, mk10BallGradient 4s ease infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2), 0 0 25px rgba(236, 72, 153, 0.5);
}

.mk10-game-ball--pink::before {
  background: rgba(0, 0, 0, 0.2);
}

/* Balance */
.mk10-game-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 200% 200%;
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  position: relative;
  overflow: hidden;
  animation: mk10BalanceGradient 6s ease infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mk10-game-balance::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  animation: mk10BalanceShine 4s ease-in-out infinite;
}

@keyframes mk10BalanceGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10BalanceShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

.mk10-game-balance__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mk10-game-balance__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

.mk10-game-balance__amount {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.mk10-game-balance__icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.mk10-game-balance__icon {
  font-size: 2rem;
  filter: drop-shadow(0 4px 12px rgba(250, 204, 21, 0.6));
  animation: mk10BalanceIconPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 2;
  transform-origin: center;
}

.mk10-game-balance__icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.4) 0%, transparent 70%);
  animation: mk10BalanceIconGlow 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes mk10BalanceIconPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.05) rotate(-3deg); }
  75% { transform: scale(1.05) rotate(3deg); }
}

@keyframes mk10BalanceIconGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.2); }
}

.mk10-game-balance__value-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.mk10-game-balance__value {
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  text-shadow: 0 0 30px rgba(250, 204, 21, 0.6);
  animation: mk10BalanceValueShimmer 3s ease infinite;
  position: relative;
  z-index: 1;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
  display: inline-block;
}

.mk10-game-balance__value::after {
  content: attr(data-value);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 30%, #FBBF24 60%, #FACC15 100%);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;
  animation: mk10BalanceValueShimmer 3s ease infinite;
}

.mk10-game-balance__currency {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
  position: relative;
  z-index: 1;
  margin-top: -2px;
}

@keyframes mk10BalanceValueShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-game-balance__link {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #FACC15;
  text-decoration: none;
  padding: 12px 18px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.15) 0%, rgba(251, 191, 36, 0.1) 100%);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid rgba(250, 204, 21, 0.4);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.25), inset 0 1px 0 rgba(250, 204, 21, 0.2);
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-width: 100px;
}

.mk10-game-balance__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.3), transparent);
  transition: left 0.5s ease;
}

.mk10-game-balance__link:hover {
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.25) 0%, rgba(251, 191, 36, 0.2) 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4), inset 0 1px 0 rgba(250, 204, 21, 0.3);
  border-color: rgba(250, 204, 21, 0.6);
}

.mk10-game-balance__link:hover::before {
  left: 100%;
}

.mk10-game-balance__link svg {
  margin-top: 2px;
  transition: transform 0.3s ease;
}

.mk10-game-balance__link:hover svg {
  transform: translateY(2px);
}

/* Filter Tabs */
.mk10-game-tabs {
  display: flex;
  gap: 0;
  padding: 0 20px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 100%);
  border-bottom: 2px solid rgba(250, 204, 21, 0.2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.mk10-game-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.mk10-game-tab {
  flex: 1;
  min-width: fit-content;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(250, 204, 21, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mk10-game-tab:hover {
  color: rgba(250, 204, 21, 0.9);
  background: rgba(250, 204, 21, 0.05);
}

.mk10-game-tab--active {
  color: #FACC15;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.mk10-game-tab--active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  border-radius: 3px 3px 0 0;
  animation: mk10TabSlide 0.3s ease-out, mk10TabActiveGlow 2s ease infinite;
  box-shadow: 0 0 15px rgba(250, 204, 21, 0.6);
}

@keyframes mk10TabActiveGlow {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 0 15px rgba(250, 204, 21, 0.6); }
  50% { background-position: 100% 50%; box-shadow: 0 0 20px rgba(250, 204, 21, 0.8); }
}

@keyframes mk10TabSlide {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* Main Content */
.mk10-game-main {
  padding: 20px;
  padding-bottom: 100px;
  background: linear-gradient(180deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 100% 200%;
  min-height: calc(100vh - 400px);
  position: relative;
  animation: mk10MainGradient 10s ease infinite;
}

.mk10-game-main--disabled .mk10-game-section,
.mk10-game-main--disabled .mk10-game-bets {
  opacity: 0.4;
  filter: grayscale(0.4);
}

@keyframes mk10MainGradient {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

/* Drawing Phase Overlay */
.mk10-game-drawing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
  will-change: opacity;
  border-radius: 16px;
  /* Optimize for performance */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.mk10-game-drawing-overlay--visible {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.mk10-game-drawing-overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* EMERGENCY OVERRIDE: Force hide overlay if it's stuck */
.mk10-game-drawing-overlay[data-force-hide="true"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Additional safety: Hide overlay when not in drawing phase */
body:not([data-drawing-phase="true"]) .mk10-game-drawing-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.mk10-game-drawing-overlay__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 30%, rgba(250, 204, 21, 0.25) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 20%, rgba(250, 204, 21, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 38%, rgba(250, 204, 21, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 70%, rgba(250, 204, 21, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 72%, rgba(250, 204, 21, 0.26) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 76%, rgba(250, 204, 21, 0.2) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 100%);
  padding: 18px 20px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(10, 15, 26, 0.65), 0 0 0 1px rgba(250, 204, 21, 0.28), inset 0 0 24px rgba(250, 204, 21, 0.08);
  border: 1.5px solid rgba(250, 204, 21, 0.25);
  max-width: 90%;
  max-width: calc(100% - 32px);
  transform: scale(0.95);
  transition: transform 0.3s ease-out;
  will-change: transform;
  /* Optimize for performance */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.mk10-game-drawing-overlay--visible .mk10-game-drawing-overlay__content {
  transform: scale(1) translateZ(0);
}

.mk10-game-drawing-overlay__icon {
  width: 32px;
  height: 32px;
  color: #FACC15;
  flex-shrink: 0;
  animation: mk10DrawingIconPulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
  will-change: transform;
}

@keyframes mk10DrawingIconPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.mk10-game-drawing-overlay__text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
  text-align: center;
  letter-spacing: 0.02em;
  white-space: normal;
  text-transform: none;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.7);
}

@keyframes mk10DrawingTextShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Optimize animations for lower-powered devices */
@media (prefers-reduced-motion: reduce) {
  .mk10-game-drawing-overlay,
  .mk10-game-drawing-overlay__content,
  .mk10-game-drawing-overlay__icon,
  .mk10-game-drawing-overlay__text {
    animation: none !important;
    transition: none !important;
  }
}

/* Status label drawing state */
.mk10-game-status__label--drawing {
  color: #0b1120 !important;
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35), 0 0 10px rgba(250, 204, 21, 0.4);
  text-shadow: none;
  animation: mk10StatusLabelPulse 1.6s ease-in-out infinite;
}

@keyframes mk10StatusLabelPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Timer drawing state */
.mk10-game-status__timer--drawing {
  color: #0b1120 !important;
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  text-shadow: none;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35), 0 0 12px rgba(250, 204, 21, 0.5);
}

/* Betting Sections */
.mk10-game-section {
  margin-bottom: 20px;
  animation: mk10SectionIn 0.4s ease-out forwards;
  opacity: 0;
}

.mk10-game-drawing-notice {
  position: relative;
  margin: 8px 0 18px;
  padding: 16px 16px 18px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 12% 18%, rgba(250, 204, 21, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 30%, rgba(250, 204, 21, 0.25) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 20%, rgba(250, 204, 21, 0.22) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 38%, rgba(250, 204, 21, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 70%, rgba(250, 204, 21, 0.2) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 72%, rgba(250, 204, 21, 0.26) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 76%, rgba(250, 204, 21, 0.2) 0 1px, transparent 2px),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(250, 204, 21, 0.25);
  box-shadow: 0 10px 24px rgba(10, 15, 26, 0.6), inset 0 0 20px rgba(250, 204, 21, 0.08);
  text-align: center;
}

.mk10-game-drawing-notice__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.7);
}

.mk10-game-section:nth-child(1) { animation-delay: 0.05s; }
.mk10-game-section:nth-child(2) { animation-delay: 0.1s; }
.mk10-game-section:nth-child(3) { animation-delay: 0.15s; }
.mk10-game-section:nth-child(4) { animation-delay: 0.2s; }
.mk10-game-section:nth-child(5) { animation-delay: 0.25s; }
.mk10-game-section:nth-child(6) { animation-delay: 0.3s; }
.mk10-game-section:nth-child(7) { animation-delay: 0.35s; }
.mk10-game-section:nth-child(8) { animation-delay: 0.4s; }
.mk10-game-section:nth-child(9) { animation-delay: 0.45s; }
.mk10-game-section:nth-child(10) { animation-delay: 0.5s; }

@keyframes mk10SectionIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mk10-game-section__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
  background-size: 200% 100%;
  color: #FACC15;
  border-radius: var(--radius) var(--radius) 0 0;
  letter-spacing: 0.02em;
  text-shadow: 0 0 15px rgba(250, 204, 21, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.2);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-bottom: 2px solid rgba(250, 204, 21, 0.4);
  animation: mk10SectionTitleGradient 4s ease infinite;
  position: relative;
  overflow: hidden;
}

.mk10-game-section__title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.2), transparent);
  animation: mk10SectionTitleShine 3s ease-in-out infinite;
}

@keyframes mk10SectionTitleGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10SectionTitleShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Betting Grid */
.mk10-game-bets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: linear-gradient(135deg, #1e293b 0%, #0B1120 100%);
  padding: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-top: none;
}

.mk10-game-bet {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 14px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.1);
  animation: mk10BetGradient 5s ease infinite;
}

.mk10-game-bet::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.3), transparent);
  transition: left 0.6s ease;
}

.mk10-game-bet::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.5), rgba(251, 191, 36, 0.3), rgba(250, 204, 21, 0.5));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: mk10BetBorderGlow 3s ease infinite;
}

.mk10-game-bet:hover {
  border-color: #FACC15;
  background: linear-gradient(135deg, #334155 0%, #475569 50%, #334155 100%);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(250, 204, 21, 0.4), 0 0 30px rgba(250, 204, 21, 0.2), inset 0 1px 0 rgba(250, 204, 21, 0.2);
}

.mk10-game-bet:hover::before {
  left: 100%;
}

.mk10-game-bet:hover::after {
  opacity: 1;
}

@keyframes mk10BetGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes mk10BetBorderGlow {
  0%, 100% { background-position: 0% 50%; opacity: 0.5; }
  50% { background-position: 100% 50%; opacity: 0.8; }
}

.mk10-game-bet--selected {
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 200%;
  border-color: #FACC15;
  color: #0d0d0d;
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.6), 0 0 40px rgba(250, 204, 21, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  animation: mk10BetSelectedPulse 2s ease-in-out infinite, mk10BetSelectedGradient 3s ease infinite;
}

.mk10-game-bet--selected::after {
  opacity: 1;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.8), rgba(251, 191, 36, 0.6), rgba(250, 204, 21, 0.8));
}

.mk10-game-bet--selected .mk10-game-bet__type {
  color: #0d0d0d;
  font-weight: 800;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mk10-game-bet--selected .mk10-game-bet__odds {
  color: #1a1a1a;
  font-weight: 700;
}

.mk10-game-bet--disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  filter: grayscale(0.5);
}

.mk10-game-bet--disabled:hover {
  transform: none !important;
  border-color: rgba(250, 204, 21, 0.3) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.1) !important;
}

.mk10-game-bet--disabled::before {
  display: none;
}

.mk10-game-bet--disabled::after {
  display: none;
}

@keyframes mk10BetSelectedPulse {
  0%, 100% { box-shadow: 0 8px 30px rgba(250, 204, 21, 0.6), 0 0 40px rgba(250, 204, 21, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 10px 35px rgba(250, 204, 21, 0.8), 0 0 50px rgba(250, 204, 21, 0.6), inset 0 2px 10px rgba(255, 255, 255, 0.4); }
}

@keyframes mk10BetSelectedGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-game-bet__type {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FACC15;
  text-align: center;
  letter-spacing: -0.01em;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
  position: relative;
  z-index: 1;
}

.mk10-game-bet__odds {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(250, 204, 21, 0.8);
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 360px) {
  .mk10-game-main {
    padding: 16px;
  }

  .mk10-game-bets {
    gap: 8px;
    padding: 10px;
  }

  .mk10-game-bet {
    padding: 14px 10px;
  }

  .mk10-game-bet__type {
    font-size: 0.875rem;
  }

  .mk10-game-bet__odds {
    font-size: 0.75rem;
  }

  .mk10-game-status {
    padding: 16px;
  }

  .mk10-game-status__top {
    flex-direction: column;
    gap: 12px;
  }

  .mk10-game-status__round-info {
    width: 100%;
  }

  .mk10-game-status__timer {
    align-self: flex-end;
  }

  .mk10-game-status__round-number {
    font-size: 1.75rem;
  }

  .mk10-game-ball {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
}

/* Quick Bet Modal */
.mk10-quick-bet-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.mk10-quick-bet-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  animation: mk10ModalOverlayFadeIn 0.3s ease-out;
}

@keyframes mk10ModalOverlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mk10-quick-bet-modal__content {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(135deg, #0B1120 0%, #1e293b 50%, #0B1120 100%);
  background-size: 200% 200%;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(250, 204, 21, 0.2);
  border-top: 2px solid rgba(250, 204, 21, 0.4);
  animation: mk10ModalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.mk10-quick-bet-modal__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.1), transparent);
  animation: mk10ModalShine 4s ease-in-out infinite;
}

@keyframes mk10ModalSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes mk10ModalShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.mk10-quick-bet-modal__header {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.mk10-quick-bet-modal__header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.mk10-quick-bet-modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 204, 21, 0.15);
  border: 1.5px solid rgba(250, 204, 21, 0.3);
  border-radius: 10px;
  color: #FACC15;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mk10-quick-bet-modal__close:hover {
  background: rgba(250, 204, 21, 0.25);
  border-color: rgba(250, 204, 21, 0.5);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3);
}

.mk10-quick-bet-modal__close svg {
  width: 18px;
  height: 18px;
}

.mk10-quick-bet-modal__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FACC15 0%, #FDE047 50%, #FACC15 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 6px 0;
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.5);
  animation: mk10ModalTitleShimmer 3s ease infinite;
  letter-spacing: -0.02em;
}

@keyframes mk10ModalTitleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-quick-bet-modal__subtitle {
  font-size: 0.8125rem;
  color: rgba(250, 204, 21, 0.7);
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.mk10-quick-bet-modal__amounts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.mk10-quick-bet-amount {
  padding: 14px 8px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #1e293b 100%);
  background-size: 200% 200%;
  border: 1.5px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.8);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.1);
  position: relative;
  overflow: hidden;
}

.mk10-quick-bet-amount::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(250, 204, 21, 0.2), transparent);
  transition: left 0.5s ease;
}

.mk10-quick-bet-amount:hover {
  background: linear-gradient(135deg, #334155 0%, #475569 50%, #334155 100%);
  border-color: rgba(250, 204, 21, 0.5);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.3), inset 0 1px 0 rgba(250, 204, 21, 0.2);
  color: #FACC15;
}

.mk10-quick-bet-amount:hover::before {
  left: 100%;
}

.mk10-quick-bet-amount.active {
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 200%;
  border-color: #FACC15;
  color: #0d0d0d;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.5), 0 0 30px rgba(250, 204, 21, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
  animation: mk10BetAmountActivePulse 2s ease-in-out infinite, mk10BetAmountGradient 3s ease infinite;
}

@keyframes mk10BetAmountActivePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(250, 204, 21, 0.5), 0 0 30px rgba(250, 204, 21, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 6px 25px rgba(250, 204, 21, 0.7), 0 0 40px rgba(250, 204, 21, 0.5), inset 0 2px 10px rgba(255, 255, 255, 0.4); }
}

@keyframes mk10BetAmountGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.mk10-quick-bet-modal__input-section {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.mk10-quick-bet-modal__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.8);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.3);
}

.mk10-quick-bet-modal__input {
  width: 100%;
  padding: 16px 18px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
  color: #FACC15;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.mk10-quick-bet-modal__input::placeholder {
  color: rgba(250, 204, 21, 0.4);
  font-weight: 600;
}

.mk10-quick-bet-modal__input:focus {
  outline: none;
  border-color: #FACC15;
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
  box-shadow: 0 6px 20px rgba(250, 204, 21, 0.4), 0 0 30px rgba(250, 204, 21, 0.2), inset 0 2px 8px rgba(0, 0, 0, 0.2);
  transform: scale(1.01);
}

.mk10-quick-bet-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.mk10-quick-bet-modal__cancel {
  padding: 16px 24px;
  background: transparent;
  border: 1.5px solid rgba(250, 204, 21, 0.3);
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(250, 204, 21, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mk10-quick-bet-modal__cancel:hover {
  color: #FACC15;
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.mk10-quick-bet-modal__bet {
  flex: 1;
  padding: 16px 24px;
  background: linear-gradient(135deg, #FACC15 0%, #FBBF24 50%, #F59E0B 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  color: #0d0d0d;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(250, 204, 21, 0.5), 0 0 30px rgba(250, 204, 21, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  animation: mk10BetButtonGradient 3s ease infinite;
}

.mk10-quick-bet-modal__bet::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.mk10-quick-bet-modal__bet:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(250, 204, 21, 0.6), 0 0 40px rgba(250, 204, 21, 0.4), inset 0 2px 10px rgba(255, 255, 255, 0.4);
}

.mk10-quick-bet-modal__bet:hover::before {
  left: 100%;
}

.mk10-quick-bet-modal__bet:active {
  transform: translateY(-1px) scale(0.98);
}

.mk10-quick-bet-modal__bet:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

@keyframes mk10BetButtonGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
