/* ===== ROOT VARIABLES ===== */
:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card2: #1a1a26;
  --border: #2a2a3e;
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #a08020;
  --red: #e63946;
  --blue: #4361ee;
  --green: #2a9d8f;
  --text: #e8e8f0;
  --text-muted: #8888a8;
  --text-dim: #555570;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 0 20px rgba(212,175,55,0.2);
  --font-display: 'Black Han Sans', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;
  --transition: 0.25s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; }
input, select, textarea, button { font-family: var(--font-body); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { font-size: 1.6rem; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.main-nav {
  display: flex;
  gap: 24px;
  flex: 1;
}
.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 4px 0;
  position: relative;
  text-decoration: none;
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.notif-badge {
  position: relative;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 4px 8px;
}
.notif-badge span {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--red);
  color: white;
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 10px;
  font-weight: 700;
}
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 16px;
  gap: 4px;
}
.mobile-nav a {
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.mobile-nav a:hover { background: var(--bg-card2); color: var(--text); }
.mobile-nav.open { display: flex; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 6px 14px; font-size: 0.82rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #1a1200;
  font-weight: 700;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: var(--shadow-gold); color: #1a1200; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); }
.btn-danger { background: var(--red); color: white; }
.btn-danger:hover { filter: brightness(1.1); }
.btn-admin { background: var(--blue); color: white; }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { filter: brightness(1.1); }

/* ===== FLASH MESSAGE ===== */
.flash-msg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 500;
}
.flash-msg button { background: none; border: none; cursor: pointer; font-size: 1.2rem; color: inherit; opacity: 0.7; }
.flash-success { background: rgba(42,157,143,0.15); color: #4ecdc4; border-bottom: 1px solid rgba(42,157,143,0.3); }
.flash-error { background: rgba(230,57,70,0.15); color: #ff6b7a; border-bottom: 1px solid rgba(230,57,70,0.3); }
.flash-info { background: rgba(67,97,238,0.15); color: #7b9eff; border-bottom: 1px solid rgba(67,97,238,0.3); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.page-section { padding: 60px 0; }
.page-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}
.page-header p { color: var(--text-muted); margin-top: 6px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-lg { padding: 32px; }
.card-hover { transition: all var(--transition); cursor: pointer; }
.card-hover:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }

/* ===== HERO ===== */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 20% 50%, rgba(212,175,55,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(67,97,238,0.06) 0%, transparent 60%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 15% 85%, rgba(212,175,55,0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(230,57,70,0.06) 0%, transparent 40%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(212,175,55,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,55,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .highlight { color: var(--gold); }
.hero-desc { font-size: 1.05rem; color: var(--text-muted); line-height: 1.8; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-jackpot-cards { display: flex; flex-direction: column; gap: 16px; }
.jackpot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.jackpot-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.jackpot-card.powerball::before { background: linear-gradient(90deg, #e63946, #ff6b7a); }
.jackpot-card.mega::before { background: linear-gradient(90deg, #f4a261, #e76f51); }
.jackpot-card.lucky::before { background: linear-gradient(90deg, #2a9d8f, #4ecdc4); }
.jackpot-card:hover { border-color: rgba(212,175,55,0.3); transform: translateX(4px); }
.jackpot-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.jackpot-name { font-family: var(--font-display); font-size: 1.1rem; color: var(--text); margin-bottom: 8px; }
.jackpot-amount { font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.jackpot-draw { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }

/* ===== LOTTERY TYPE GRID ===== */
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.lottery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.lottery-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.lottery-card-header {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lottery-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.lottery-card-body { padding: 0 24px 24px; }
.lottery-jackpot-amount { font-size: 2.2rem; font-weight: 800; color: var(--gold); margin: 12px 0 4px; }
.lottery-info { display: flex; gap: 20px; flex-wrap: wrap; margin: 16px 0; }
.lottery-info-item { font-size: 0.78rem; color: var(--text-muted); }
.lottery-info-item span { color: var(--text); font-weight: 600; display: block; font-size: 0.88rem; }

/* ===== NUMBER PICKER ===== */
.number-picker { margin: 20px 0; }
.number-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.num-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  background: var(--bg-card2);
  border: 2px solid var(--border);
  color: var(--text-muted);
  transition: all 0.15s ease;
  user-select: none;
}
.num-ball:hover { border-color: var(--gold); color: var(--gold); }
.num-ball.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1200;
  box-shadow: 0 0 12px rgba(212,175,55,0.4);
}
.num-ball.bonus-ball { border-color: var(--red); }
.num-ball.bonus-ball.selected { background: var(--red); border-color: var(--red); color: white; box-shadow: 0 0 12px rgba(230,57,70,0.4); }
.num-ball.disabled { opacity: 0.3; cursor: not-allowed; }
.picker-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.picker-label .count { color: var(--gold); }
.selected-display {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 44px;
  padding: 8px 12px;
  background: var(--bg-card2);
  border-radius: 10px;
  border: 1px solid var(--border);
  align-items: center;
  margin-bottom: 12px;
}
.selected-ball {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1200;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.selected-ball.bonus { background: var(--red); color: white; }
.selected-placeholder { color: var(--text-dim); font-size: 0.85rem; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card2);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--gold); }
.form-control::placeholder { color: var(--text-dim); }
.form-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.04) 0%, transparent 70%);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.auth-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.auth-subtitle { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }
.auth-divider { text-align: center; color: var(--text-dim); font-size: 0.8rem; margin: 20px 0; position: relative; }
.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.auth-divider span { background: var(--bg-card); padding: 0 12px; position: relative; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }

/* ===== TABLES ===== */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; }
th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-card2);
  border-bottom: 1px solid var(--border);
}
td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(42,42,62,0.5);
  color: var(--text);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(212,175,55,0.02); }

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-pending { background: rgba(244,162,97,0.15); color: #f4a261; }
.badge-paid { background: rgba(67,97,238,0.15); color: #7b9eff; }
.badge-completed { background: rgba(42,157,143,0.15); color: #4ecdc4; }
.badge-cancelled { background: rgba(100,100,120,0.15); color: #888; }
.badge-winner { background: rgba(212,175,55,0.2); color: var(--gold); border: 1px solid rgba(212,175,55,0.4); }
.badge-active { background: rgba(42,157,143,0.15); color: #4ecdc4; }
.badge-suspended { background: rgba(230,57,70,0.15); color: #ff6b7a; }
.badge-admin { background: rgba(67,97,238,0.15); color: #7b9eff; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 8px; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-sub { font-size: 0.78rem; color: var(--text-dim); margin-top: 6px; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.tab-btn {
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
}
.tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }
.tab-btn:hover { color: var(--text); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ===== DRAW NUMBERS ===== */
.draw-numbers { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.draw-ball {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem;
  background: linear-gradient(135deg, #f0d060, var(--gold));
  color: #1a1200;
}
.draw-ball.bonus {
  background: linear-gradient(135deg, #ff6b7a, var(--red));
  color: white;
}
.draw-separator { color: var(--text-dim); font-size: 1.2rem; }

/* ===== NOTICE / FAQ ===== */
.notice-list { display: flex; flex-direction: column; gap: 0; }
.notice-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
  text-decoration: none;
  color: var(--text);
}
.notice-item:hover { background: var(--bg-card2); }
.notice-item.pinned .notice-title { color: var(--gold); }
.pin-badge { font-size: 0.7rem; background: rgba(212,175,55,0.15); color: var(--gold); padding: 2px 8px; border-radius: 4px; flex-shrink: 0; }
.notice-title { flex: 1; font-size: 0.92rem; }
.notice-date { font-size: 0.78rem; color: var(--text-dim); flex-shrink: 0; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-card);
  border: none;
  color: var(--text);
  text-align: left;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-card2); }
.faq-question .icon { color: var(--gold); transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open .icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 16px 20px; background: var(--bg-card2); color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; border-top: 1px solid var(--border); }
.faq-answer.open { display: block; }

/* ===== DASHBOARD ===== */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}
.sidebar {
  position: sticky;
  top: 80px;
  height: fit-content;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
}
.sidebar-item:hover { background: var(--bg-card); color: var(--text); }
.sidebar-item.active { background: rgba(212,175,55,0.1); color: var(--gold); }
.sidebar-item i { width: 20px; text-align: center; }
.user-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: #1a1200;
  margin: 0 auto 14px;
}
.user-name { font-weight: 700; font-size: 1rem; }
.user-balance {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin: 8px 0 4px;
}
.user-balance-label { font-size: 0.75rem; color: var(--text-dim); }

/* ===== ADMIN ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
}
.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.admin-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  padding: 0 8px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.admin-nav-group { margin-bottom: 20px; }
.admin-nav-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); padding: 0 8px; margin-bottom: 6px; }
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
  margin-bottom: 2px;
}
.admin-nav-item:hover { background: var(--bg-card2); color: var(--text); }
.admin-nav-item.active { background: rgba(212,175,55,0.1); color: var(--gold); }
.admin-main { padding: 32px; overflow: auto; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.admin-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
  text-decoration: none;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: #1a1200; border-color: var(--gold); }

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--text); }
.empty-state p { font-size: 0.88rem; }

/* ===== MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.modal-title { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 1.3rem; cursor: pointer; }

/* ===== STEPS ===== */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.step.active .step-num { background: var(--gold); color: #1a1200; }
.step.done .step-num { background: var(--green); color: white; }
.step-label { font-size: 0.82rem; color: var(--text-muted); }
.step.active .step-label { color: var(--text); font-weight: 600; }
.step-line { flex: 1; height: 1px; background: var(--border); margin: 0 8px; }

/* ===== ORDER SUMMARY ===== */
.order-summary {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.order-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; font-weight: 700; font-size: 1rem; color: var(--gold); }
.order-row .label { color: var(--text-muted); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
}
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; color: var(--gold); margin-bottom: 12px; }
.footer-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.7; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 14px; }
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 8px;
}
.section-title .accent { color: var(--gold); }
.section-sub { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 40px; }

/* ===== HOW IT WORKS ===== */
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  position: relative;
}
.how-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.how-card h3 { font-size: 0.95rem; margin-bottom: 8px; }
.how-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-title { font-size: 2.4rem; }
  .hero-jackpot-cards { flex-direction: row; overflow-x: auto; }
  .jackpot-card { min-width: 220px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 1.9rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
