/* Wild Card 2 — wc2-styles.css */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --gold: #d4a017; --gold-dim: rgba(212,160,23,0.15);
  --bg: #0a0800; --surface: #160d04; --card: #1e1206;
  --border: rgba(255,255,255,0.08); --text: #ffffff; --muted: rgba(255,255,255,0.4);
  --accent: #b45309; --accent-bright: #fbbf24; --accent-glow: rgba(180,83,9,0.35);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { background: var(--bg); color: var(--text); font-family: 'DM Sans', -apple-system, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
.wc2-wrap { max-width: 620px; margin: 0 auto; min-height: 100vh; position: relative; }
.wc2-glow { position: fixed; top: -8%; left: 50%; transform: translateX(-50%); width: 360px; height: 360px; background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.wc2-nav { position: relative; z-index: 10; display: flex; justify-content: center; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--border); background: rgba(10,8,0,0.95); backdrop-filter: blur(8px); flex-wrap: wrap; }
.wc2-nav a { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.wc2-nav a:hover { color: var(--gold); }
.wc2-back { display: inline-flex; align-items: center; gap: 6px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 10px 20px; letter-spacing: 0.04em; transition: color 0.15s; position: relative; z-index: 1; }
.wc2-back:hover { color: var(--gold); }
.lm-ad-banner, .lm-ad-midpage, .lm-ad-badge { position: relative; z-index: 1; text-align: center; padding: 8px 16px; display: none; }
.lm-ad-banner-inner, .lm-ad-mid-inner { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.lm-ad-label { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.18); font-weight: 600; }
.lm-ad-sponsor-label { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 2px; }
.lm-ad-badge-inner { font-size: 11px; color: rgba(255,255,255,0.35); }
.lm-ad-badge-inner a { color: var(--gold); text-decoration: none; }
.wc2-header { position: relative; z-index: 1; text-align: center; padding: 28px 20px 16px; }
.wc2-badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(212,160,23,0.4); padding: 5px 16px; border-radius: 100px; margin-bottom: 14px; background: var(--gold-dim); }
.wc2-header h1 { font-family: 'Oswald', sans-serif; font-size: 38px; font-weight: 700; line-height: 1; color: var(--text); letter-spacing: 0.02em; }
.wc2-header h1 span { color: var(--gold); }
.wc2-header p { margin: 8px 0 0; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.wc2-divider { width: 40px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 14px auto 0; border: none; }
.wc2-jackpot { position: relative; z-index: 1; margin: 16px; border-radius: var(--radius); background: linear-gradient(135deg, #1a0e04, #120a02); border: 1px solid rgba(180,83,9,0.4); padding: 18px 20px; text-align: center; overflow: hidden; }
.wc2-jackpot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(180,83,9,0.25) 0%, transparent 70%); pointer-events: none; }
.wc2-jackpot-label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.wc2-jackpot-amount { font-family: 'Oswald', sans-serif; font-size: 42px; font-weight: 700; color: var(--accent-bright); line-height: 1; }
.wc2-jackpot-sub { font-size: 11px; color: var(--muted); margin-top: 6px; }
.wc2-jackpot-days { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; padding: 4px 12px; background: rgba(180,83,9,0.15); border: 1px solid rgba(180,83,9,0.35); border-radius: 100px; font-size: 11px; color: var(--accent-bright); font-weight: 600; }
.tabs { position: relative; z-index: 1; display: flex; gap: 4px; padding: 14px 16px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab-btn { flex-shrink: 0; padding: 8px 18px; border-radius: 100px; font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--border); background: transparent; color: var(--muted); cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.tab-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.tab-btn.active { background: var(--gold); color: #0a0800; border-color: var(--gold); }
.tab-panel { display: none; position: relative; z-index: 1; }
.tab-panel.active { display: block; }
.wc2-section { margin: 16px; padding: 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); }
.wc2-section-title { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.wc2-ball-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; }
.wc2-ball { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; border: 2px solid rgba(255,255,255,0.1); background: var(--surface); color: var(--muted); cursor: pointer; transition: all 0.15s; -webkit-user-select: none; user-select: none; }
.wc2-ball:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.wc2-ball.selected { background: var(--accent); border-color: var(--accent-bright); color: #fff; box-shadow: 0 0 12px var(--accent-glow); }
.wc2-ball.generated { background: linear-gradient(135deg, var(--accent), #7c2d12); border-color: var(--accent-bright); color: #fff; box-shadow: 0 0 16px var(--accent-glow); animation: wc2pop 0.3s ease; }
@keyframes wc2pop { 0%{transform:scale(0.6);opacity:0} 70%{transform:scale(1.12)} 100%{transform:scale(1);opacity:1} }
.wc2-wild-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 8px; margin-top: 12px; }
.wc2-wild-ball { width: 44px; height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; border: 2px dashed rgba(251,191,36,0.25); background: rgba(251,191,36,0.04); color: rgba(251,191,36,0.4); cursor: pointer; transition: all 0.15s; -webkit-user-select: none; user-select: none; }
.wc2-wild-ball:hover { border-color: var(--accent-bright); color: var(--accent-bright); border-style: solid; }
.wc2-wild-ball.selected { background: rgba(251,191,36,0.12); border-color: var(--accent-bright); border-style: solid; color: var(--accent-bright); box-shadow: 0 0 10px rgba(251,191,36,0.2); }
.wc2-selected-display { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 16px 4px; min-height: 54px; align-items: center; position: relative; z-index: 1; }
.wc2-sel-ball { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; background: linear-gradient(135deg, var(--accent), #7c2d12); border: 2px solid var(--accent-bright); color: #fff; box-shadow: 0 0 16px var(--accent-glow); animation: wc2pop 0.3s ease; }
.wc2-sel-wild { border-radius: 6px; background: rgba(251,191,36,0.12); border-color: var(--accent-bright); color: var(--accent-bright); box-shadow: 0 0 12px rgba(251,191,36,0.2); }
.wc2-sel-placeholder { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; text-transform: uppercase; }
.wc2-count-bar { display: flex; justify-content: center; gap: 6px; padding: 8px 16px; position: relative; z-index: 1; }
.wc2-count-pip { width: 8px; height: 8px; border-radius: 50%; background: var(--border); transition: all 0.2s; }
.wc2-count-pip.filled { background: var(--accent-bright); }
.wc2-actions { display: flex; gap: 10px; margin: 12px 16px; position: relative; z-index: 1; }
.wc2-btn { flex: 1; padding: 13px; border-radius: 12px; border: none; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: all 0.15s; }
.wc2-btn-primary { background: linear-gradient(135deg, var(--gold), #b8880e); color: #0a0800; box-shadow: 0 4px 16px rgba(212,160,23,0.3); }
.wc2-btn-primary:hover { box-shadow: 0 6px 24px rgba(212,160,23,0.5); transform: translateY(-1px); }
.wc2-btn-secondary { background: var(--card); color: var(--muted); border: 1px solid var(--border); }
.wc2-btn-secondary:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.wc2-result { margin: 0 16px 16px; padding: 16px 20px; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); display: none; position: relative; z-index: 1; }
.wc2-result.show { display: block; }
.wc2-result-title { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.wc2-result-balls { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.wc2-result-ball { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--accent), #7c2d12); border: 2px solid var(--accent-bright); color: #fff; box-shadow: 0 0 12px var(--accent-glow); }
.wc2-result-wild { border-radius: 6px; background: rgba(251,191,36,0.12); border-color: var(--accent-bright); color: var(--accent-bright); }
.wc2-match-info { font-size: 13px; font-weight: 600; color: var(--accent-bright); padding: 8px 12px; background: rgba(180,83,9,0.12); border: 1px solid rgba(180,83,9,0.3); border-radius: 8px; text-align: center; }
.wc2-freq-list { display: flex; flex-direction: column; gap: 6px; padding: 16px; position: relative; z-index: 1; }
.wc2-freq-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--card); border-radius: 10px; border: 1px solid var(--border); }
.wc2-freq-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: linear-gradient(135deg, var(--accent), #7c2d12); border: 1.5px solid var(--accent-bright); color: #fff; flex-shrink: 0; }
.wc2-freq-label { flex: 1; font-size: 13px; font-weight: 500; color: var(--text); }
.wc2-freq-bar-wrap { flex: 2; height: 6px; background: var(--surface); border-radius: 100px; overflow: hidden; }
.wc2-freq-bar { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width 0.6s ease; }
.wc2-freq-count { font-size: 12px; color: var(--muted); font-weight: 600; min-width: 28px; text-align: right; }
.wc2-history-list { display: flex; flex-direction: column; gap: 8px; padding: 16px; position: relative; z-index: 1; }
.wc2-history-row { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.wc2-history-date { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.wc2-history-balls { display: flex; gap: 6px; flex-wrap: wrap; }
.wc2-history-ball { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; background: var(--surface); border: 1.5px solid rgba(180,83,9,0.45); color: var(--accent-bright); }
.wc2-history-ball.wild { border-radius: 5px; border-color: rgba(251,191,36,0.4); color: var(--gold); }
.wc2-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; position: relative; z-index: 1; }
.wc2-stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; text-align: center; }
.wc2-stat-value { font-family: 'Oswald', sans-serif; font-size: 28px; font-weight: 700; color: var(--accent-bright); line-height: 1; }
.wc2-stat-label { font-size: 10px; color: var(--muted); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }
.wc2-footer { position: relative; z-index: 1; text-align: center; padding: 24px 20px 52px; margin-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: 11px; line-height: 1.9; }
.wc2-footer a { color: var(--gold); text-decoration: none; }
.wc2-footer nav { display: flex; justify-content: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
