/* L7 Lottery — Wingo Prediction Center */
.l7lottery-wingo-page-hero {
  padding: 56px 0 34px;
  background:
    radial-gradient(circle at 12% 0%, rgba(242,173,46,.12), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(15,143,134,.12), transparent 30%);
}
.l7lottery-wingo-page-hero .l7lottery-page-intro { max-width: 850px; }
.l7lottery-wingo-page-hero h1 { max-width: 980px; }

.l7lottery-wingo-center { padding: 22px 0 54px; }
.l7lottery-wingo-shell {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px;
  border: 1px solid rgba(242,173,46,.18);
  border-radius: 30px;
  background: linear-gradient(160deg, #2a001a 0%, #190011 54%, #0f0916 100%);
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
  overflow: hidden;
}
.l7lottery-wingo-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(110deg, #ff2757 0%, #ff5a2e 55%, #ff9800 100%);
  color: #fff;
}
.l7lottery-wingo-kicker { margin: 0 0 7px; font-size: .78rem; font-weight: 900; letter-spacing: .09em; }
.l7lottery-wingo-hero h2 { margin: 0 0 7px; color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.55rem); }
.l7lottery-wingo-hero p { margin: 0; color: rgba(255,255,255,.94); }
.l7lottery-wingo-clock {
  flex: 0 0 auto;
  min-width: 180px;
  padding: 17px 22px;
  border-radius: 20px;
  background: rgba(91,38,0,.35);
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.l7lottery-wingo-clock span { display: block; margin-bottom: 3px; font-size: .8rem; }
.l7lottery-wingo-clock strong { display: block; font-size: 1.55rem; color: #fff; }

.l7lottery-wingo-access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
  padding: 13px 18px;
  border-radius: 18px;
  background: linear-gradient(100deg, #ffe184, #ffb52f 58%, #ff6900);
  color: #24120a;
  font-weight: 900;
}
.l7lottery-wingo-access .l7lottery-button { min-height: 42px; padding: 9px 18px; background: #220014; color: #fff; border-color: transparent; }

.l7lottery-wingo-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 0 0 20px; }
.l7lottery-wingo-tab {
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  color: #f7eaf1;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
}
.l7lottery-wingo-tab.is-active { background: #fff; color: #260018; border-color: #fff; }

.l7lottery-wingo-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.l7lottery-wingo-card {
  min-width: 0;
  padding: 20px;
  border: 2px solid transparent;
  border-radius: 24px;
  background: linear-gradient(180deg,#fff 0%,#fff5f5 100%);
  color: #2b1820;
  box-shadow: 0 14px 38px rgba(0,0,0,.14);
}
.l7lottery-wingo-card.is-primary { border-color: #ffb62c; box-shadow: 0 0 0 4px rgba(255,182,44,.14), 0 14px 38px rgba(0,0,0,.18); }
.l7lottery-wingo-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.l7lottery-wingo-card-head strong { padding: 8px 14px; border-radius: 999px; background: #2b001b; color: #fff; font-size: .9rem; }
.l7lottery-wingo-card-head > span { color: #ff1748; font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.l7lottery-wingo-micro { margin: 10px 0 16px; color: #8a6975; font-size: .74rem; }
.l7lottery-wingo-period { display: grid; gap: 4px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.72); }
.l7lottery-wingo-period span { color: #8c6b75; font-size: .76rem; }
.l7lottery-wingo-period strong { font-size: .98rem; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.l7lottery-wingo-period small { color: #7f5965; font-size: .78rem; }
.l7lottery-wingo-period b { color: #ff1748; }
.l7lottery-wingo-signal {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  margin: 16px 0;
  border-radius: 20px;
  background: linear-gradient(135deg,#1768ff,#062eaf);
  color: #fff;
  font-size: clamp(1.8rem,3vw,2.65rem);
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
  text-align: center;
}
.l7lottery-wingo-countdown { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; border-radius:16px; background:rgba(255,255,255,.66); }
.l7lottery-wingo-countdown span { color:#8a6975; font-size:.75rem; }
.l7lottery-wingo-countdown strong { color:#ff1748; font-size:1.2rem; font-variant-numeric: tabular-nums; }
.l7lottery-wingo-card.is-ending .l7lottery-wingo-countdown strong { color:#b40025; }
.l7lottery-wingo-balls { display:flex; justify-content:center; gap:10px; margin:17px 0; }
.l7lottery-wingo-balls span {
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:50%;
  background:linear-gradient(145deg,#ffd3df,#ff315a);
  color:#fff; font-weight:950; font-size:1.18rem;
  box-shadow: inset 0 4px 10px rgba(255,255,255,.55), 0 8px 18px rgba(255,49,90,.18);
  transition: transform .25s ease;
}
.l7lottery-wingo-card.is-updated .l7lottery-wingo-balls span { transform: translateY(-4px) scale(1.04); }
.l7lottery-wingo-meta { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.l7lottery-wingo-meta > div { min-width:0; padding:12px; border-radius:14px; background:rgba(255,255,255,.7); }
.l7lottery-wingo-meta span { display:block; margin-bottom:6px; color:#8a6975; font-size:.72rem; }
.l7lottery-wingo-meta strong { font-size:.85rem; overflow-wrap:anywhere; }
.l7lottery-wingo-disclaimer { margin-top:20px; padding:17px 19px; border:1px solid rgba(255,255,255,.12); border-radius:16px; background:rgba(255,255,255,.055); color:#e9dce3; }
.l7lottery-wingo-disclaimer strong { color:#ffd575; }
.l7lottery-wingo-disclaimer p { margin:5px 0 0; color:#cfbec8; line-height:1.65; }

.l7lottery-wingo-content-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.l7lottery-wingo-info-card { min-width:0; padding:24px; border:1px solid var(--l7lottery-border); border-radius:20px; background:var(--l7lottery-card); }
.l7lottery-wingo-info-card h2,.l7lottery-wingo-info-card h3 { margin-top:0; }
.l7lottery-wingo-info-card p:last-child { margin-bottom:0; }

@media (max-width: 1180px) {
  .l7lottery-wingo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .l7lottery-wingo-page-hero { padding-top: 36px; }
  .l7lottery-wingo-shell { width:min(100% - 20px,1500px); padding:14px; border-radius:22px; }
  .l7lottery-wingo-hero { align-items:flex-start; flex-direction:column; padding:20px; border-radius:18px; }
  .l7lottery-wingo-clock { width:100%; min-width:0; }
  .l7lottery-wingo-access { align-items:stretch; flex-direction:column; text-align:center; }
  .l7lottery-wingo-access .l7lottery-button { width:100%; }
  .l7lottery-wingo-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .l7lottery-wingo-grid,.l7lottery-wingo-content-grid { grid-template-columns:1fr; }
  .l7lottery-wingo-card { padding:17px; border-radius:20px; }
}
@media (max-width: 420px) {
  .l7lottery-wingo-tabs { grid-template-columns:1fr 1fr; }
  .l7lottery-wingo-card-head { align-items:flex-start; }
  .l7lottery-wingo-meta { grid-template-columns:1fr; }
}
@media (hover:hover) and (pointer:fine) {
  .l7lottery-wingo-tab:hover { border-color:#ffb62c; }
  .l7lottery-wingo-card { transition:transform .18s ease, box-shadow .18s ease; }
  .l7lottery-wingo-card:hover { transform:translateY(-2px); box-shadow:0 18px 42px rgba(0,0,0,.18); }
}
@media (prefers-reduced-motion: reduce) {
  .l7lottery-wingo-card,.l7lottery-wingo-balls span { transition:none !important; }
}
