:root {
  --bg: #111418;
  --bg-soft: #171b21;
  --card: #20252d;
  --card-2: #262c35;
  --line: rgba(255,255,255,.09);
  --text: #f4f7fb;
  --muted: #9aa4b2;
  --green: #39ff9c;
  --green-soft: rgba(57,255,156,.16);
  --rosy: #ff6f91;
  --rosy-soft: rgba(255,111,145,.15);
  --shadow: 0 24px 80px rgba(0,0,0,.38);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #223128 0, transparent 32%), var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
}

.page-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: .22;
  pointer-events: none;
}
.page-glow-one { background: var(--green); top: -120px; right: -110px; }
.page-glow-two { background: var(--rosy); bottom: 12%; left: -170px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(17,20,24,.78);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  max-width: 1180px;
  margin: auto;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #07120d;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), #d8ffe9);
  box-shadow: 0 0 26px rgba(57,255,156,.32);
}
.brand strong, .brand small { display: block; }
.brand small { color: var(--muted); font-size: 12px; margin-top: 2px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color .25s ease;
}
.nav-link:hover { color: var(--green); }

main { max-width: 1180px; margin: auto; padding: 58px 22px 42px; }
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: center;
  gap: 28px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-size: 12px;
}
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 84px);
  line-height: .95;
  letter-spacing: -.06em;
}
.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 900;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  color: #07120d;
  background: linear-gradient(135deg, var(--green), #b7ffd8);
  box-shadow: 0 16px 42px rgba(57,255,156,.22);
}
.btn-primary:hover { box-shadow: 0 20px 55px rgba(57,255,156,.34); }
.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
}
.btn-xl { padding: 17px 28px; font-size: 16px; }

.glass-card, .news-card, .match-card, .modal-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
  box-shadow: var(--shadow);
}
.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(57,255,156,.12), 0 0 30px var(--green);
}
.hero-card h2 { margin: 22px 0 8px; font-size: 32px; }
.hero-card p { color: var(--muted); margin: 0 0 8px; }
.hero-card strong { font-size: 20px; }
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 28px;
}
.mini-grid div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(0,0,0,.18);
  border: 1px solid var(--line);
}
.mini-grid span { display: block; color: var(--green); font-weight: 900; font-size: 24px; }
.mini-grid small { color: var(--muted); }

.content-section { margin-top: 84px; }
.section-head { margin-bottom: 24px; }
.section-head h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.04em; }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card, .match-card { border-radius: var(--radius); padding: 22px; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.news-card:hover, .match-card:hover { transform: translateY(-6px); border-color: rgba(57,255,156,.35); }
.news-card h3 { margin: 0 0 12px; font-size: 22px; }
.news-card p { color: var(--muted); line-height: 1.65; margin: 0 0 18px; }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}
.pill-green { color: var(--green); background: var(--green-soft); }
.pill-rosy { color: var(--rosy); background: var(--rosy-soft); }

.matches-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.match-top { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.match-card h3 { margin: 0; font-size: 21px; }
.league { margin-top: 7px; color: var(--muted); font-size: 13px; }
.odd-box {
  min-width: 82px;
  text-align: center;
  border-radius: 18px;
  padding: 10px;
  color: #07120d;
  background: var(--green);
  font-weight: 900;
}
.odd-box small { display: block; font-size: 11px; opacity: .72; }
.match-pick { color: var(--rosy); font-weight: 900; margin: 12px 0; }
.match-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.match-stats div { padding: 12px; border-radius: 16px; background: rgba(0,0,0,.18); border: 1px solid var(--line); }
.match-stats span { display: block; color: var(--text); font-weight: 900; }
.match-stats small { color: var(--muted); }
.reason { color: var(--muted); line-height: 1.6; margin: 14px 0 0; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 20px;
}
.modal.is-open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(10px); }
.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 30px;
  padding: 28px;
  animation: modalIn .28s ease both;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
}
.ticket-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.ticket-item strong { color: var(--green); }
.ticket-total {
  margin-top: 20px;
  padding: 18px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--green-soft);
  border: 1px solid rgba(57,255,156,.3);
}
.ticket-total strong { font-size: 34px; color: var(--green); }
.modal-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
.site-footer { color: var(--muted); text-align: center; padding: 32px 20px 46px; border-top: 1px solid var(--line); }

.section-in { animation: fadeUp .7s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1100px) {
  .matches-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .news-grid, .matches-grid { grid-template-columns: 1fr; }
  .nav-link { display: none; }
}
@media (max-width: 560px) {
  main { padding-top: 36px; }
  .nav-shell { padding: 14px; }
  .brand small { display: none; }
  .hero h1 { font-size: 44px; }
  .row-head { align-items: flex-start; flex-direction: column; }
  .match-stats, .mini-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .nav-actions .btn { width: auto; padding: 11px 15px; }
}

/* ==========================================
   ADAUGA ASTA LA FINALUL FISIERULUI style.css
   (NU inlocui style.css existent - doar adauga la final)
   ========================================== */

/* Header pentru gruparea stirilor pe zile */
.news-day-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8px 8px;
  margin-top: 12px;
  border-bottom: 1px solid rgba(46, 213, 115, 0.18);
}

.news-day-header h3 {
  font-size: 18px;
  margin: 0;
  color: #2ed573;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.news-day-header .pill {
  font-size: 12px;
  padding: 4px 10px;
}

.news-day-group {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.pill-time {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
}

/* Tab-uri pentru bilete (Sigur / Mediu / Cota mare) */
.ticket-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.ticket-tab {
  flex: 1;
  min-width: 100px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  line-height: 1.4;
}

.ticket-tab small {
  font-size: 11px;
  opacity: 0.7;
  font-weight: normal;
}

.ticket-tab:hover {
  background: rgba(46, 213, 115, 0.12);
  border-color: rgba(46, 213, 115, 0.35);
}

.ticket-tab.active {
  background: rgba(46, 213, 115, 0.18);
  border-color: #2ed573;
  color: #fff;
  font-weight: 600;
}

/* Match card - tip pariu pill langa pronostic */
.match-pick .pill-green {
  margin-right: 8px;
  font-size: 11px;
  vertical-align: middle;
}
