/* Custom CSS Variables for Theming */
:root {
  --background: hsl(222.2, 84%, 4.9%); /* slate-900 */
  --foreground: hsl(210, 20%, 98%); /* white */
  --card: hsl(222.2, 84%, 4.9%); /* bg-white/5 */
  --card-foreground: hsl(210, 20%, 98%);
  --popover: hsl(222.2, 84%, 4.9%);
  --popover-foreground: hsl(210, 20%, 98%);
  --primary: hsl(142.1, 76.2%, 36.3%); /* green-500 */
  --primary-foreground: hsl(210, 20%, 98%);
  --secondary: hsl(217.2, 32.6%, 17.5%); /* slate-800 */
  --secondary-foreground: hsl(210, 20%, 98%);
  --muted: hsl(217.2, 32.6%, 17.5%); /* slate-800 */
  --muted-foreground: hsl(215.4, 16.3%, 56.9%); /* slate-400 */
  --accent: hsl(217.2, 32.6%, 17.5%); /* slate-800 */
  --accent-foreground: hsl(210, 20%, 98%);
  --destructive: hsl(0, 62.8%, 30.6%); /* red-500 */
  --destructive-foreground: hsl(210, 20%, 98%);
  --border: hsl(217.2, 32.6%, 17.5%); /* white/10 */
  --input: hsl(217.2, 32.6%, 17.5%); /* white/5 */
  --ring: hsl(142.1, 76.2%, 36.3%); /* green-500 */
  
}

/* Base styles (equivalent to @tailwind base;) */
*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--border); /* @apply border-border; */
}

/* Animații pentru actualizarea monedelor în header */
i[data-lucide="gem"].updating {
  animation: coinPulse 0.8s ease-in-out;
}

@keyframes coinPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); color: #10b981; }
  100% { transform: scale(1); }
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  font-feature-settings: "rlig" 1, "calt" 1;
}

body {
  margin: 0;
  line-height: inherit;
  background-color: #0f172a!important; /* bg-slate-900 */
  color: #e5e7eb!important; /* text-slate-200 aproximativ */
  font-family: "Inter", sans-serif; /* Custom font */
  font-feature-settings: "rlig" 1, "calt" 1;
}

.outcome-win { background: #c8e6c9 !important; }
.outcome-lose { background: #ffcdd2 !important; }
.outcome-pending { background: #e0e0e0 !important; }

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #94a3b8; /* slate-400 */
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  vertical-align: middle;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}

/* Components (equivalent to @tailwind components;) */
.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem; /* max-w-7xl */
}

/* Utilities (equivalent to @tailwind utilities; and custom utilities) */
.gradient-bg {
  background: linear-gradient(135deg, #0a0a0f 0%, #111827 25%, #1e293b 50%, #111827 75%, #0a0a0f 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

.glass-card {
  background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
  -webkit-backdrop-filter: blur(12px); /* backdrop-blur-xl */
  backdrop-filter: blur(12px); /* backdrop-blur-xl */
  border: 1px solid rgba(255, 255, 255, 0.1); /* border border-white/10 */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
}
/* Glass card cu aspect ratio pătrat pentru stats */
.glass-card.aspect-square {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.glass-card-hover {
  background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
  -webkit-backdrop-filter: blur(12px); /* backdrop-blur-xl */
  backdrop-filter: blur(12px); /* backdrop-blur-xl */
  border: 1px solid rgba(255, 255, 255, 0.1); /* border border-white/10 */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* shadow-2xl */
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms; /* transition-all duration-500 */
}
.glass-card-hover:hover {
  background-color: rgba(255, 255, 255, 0.1); /* hover:bg-white/10 */
  border-color: rgba(255, 255, 255, 0.2); /* hover:border-white/20 */
  box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.1), 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* hover:shadow-green-500/10 hover:shadow-2xl */
  transform: translateY(-8px); /* hover:-translate-y-2 */
}

.bb-surface {
  /* Robust rendering: keep base surface flat; put gradients on ::before to avoid 1px seams */
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.055);
  /* backdrop-filter can cause flicker on some GPUs/Windows browsers */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  /* Heavy shadows can "clip" and flicker during compositing */
  box-shadow: none;
  background-clip: padding-box;
  transform: none;
  will-change: auto;
}

.bb-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 420px at 50% -40%, rgba(34, 197, 94, 0.14) 0%, rgba(34, 197, 94, 0) 62%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.060) 0%,
      rgba(255, 255, 255, 0.048) 40%,
      rgba(255, 255, 255, 0.036) 100%
    );
  transform: none;
}

.bb-surface > * {
  position: relative;
  z-index: 1;
}

.bb-hero {
  position: relative;
  overflow: hidden;
}
.bb-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(34, 197, 94, 0.18), rgba(34, 197, 94, 0) 60%),
    radial-gradient(700px 320px at 80% 0%, rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0) 60%);
  pointer-events: none;
}
.bb-hero > * {
  position: relative;
  z-index: 1;
}

.bb-pill-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 1.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.bb-pill-tabs::-webkit-scrollbar { display: none; }

.bb-pill-tab {
  flex: 0 0 auto;
  padding: 0.2rem 0.7rem;
  border-radius: 0.95rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}
.bb-pill-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}
.bb-pill-tab.active {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.25);
  color: rgba(134, 239, 172, 1);
}

/* matches.php filter bar (new, compact, reliable) */
.bb-filterbar{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.bb-filterbar-search{
  display:flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 7px 10px;
  min-width: 0;
}
.bb-filterbar-search.is-collapsed{
  display:none;
}
.bb-filterbar-search input{
  width:100%;
  min-width:0;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 12px;
}
.bb-filterbar-search input::placeholder{
  color: rgba(148,163,184,0.95);
}

/* week date strip (DU/LU/... + ASTĂZI) */
.bb-date-strip{
  display:grid;
  grid-template-columns: repeat(7, minmax(0, 1fr)); /* 6 days + search */
  gap:8px;
  padding:8px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.bb-date-item{
  position:relative;
  width: 100%;
  padding: 8px 6px 10px 6px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(226,232,240,0.95);
  text-align:center;
}
.bb-date-item.bb-date-search{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 8px 6px;
}
.bb-date-item.bb-date-search i{
  color: rgba(203,213,225,0.95);
}
.bb-date-item:hover{
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
}
.bb-date-item.active{
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.30);
  color: rgba(134, 239, 172, 1);
}
.bb-date-item.active::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:-4px;
  height:3px;
  border-radius:999px;
  background: rgba(34, 197, 94, 0.95);
}
.bb-date-dow{
  font-size: 11px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(203,213,225,0.95);
}
.bb-date-item:not(.active) .bb-date-dow{
  color: rgba(203,213,225,0.9);
}
.bb-date-item.is-today .bb-date-dow{
  color: rgba(134, 239, 172, 1);
}
.bb-date-val{
  margin-top: 6px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: rgba(226,232,240,0.95);
}
.bb-date-item:not(.active) .bb-date-val{
  opacity: 0.72;
}

@media (max-width: 360px){
  .bb-date-strip{ gap:6px; padding:6px; }
  .bb-date-item{ padding: 7px 4px 9px 4px; border-radius: 12px; }
  .bb-date-dow{ font-size: 10px; }
  .bb-date-val{ font-size: 10px; }
}

/* Match page: compact odds buttons */
#tab-betting .odds-btn--compact,
.bb-odds-accordion .odds-btn--compact {
  min-height: 0 !important;
  padding: 0.2rem 0.35rem !important;
  border-radius: 0.4rem !important;
}
#tab-betting .odds-btn__label,
.bb-odds-accordion .odds-btn__label {
  font-size: 9px !important;
  line-height: 1 !important;
  color: #94a3b8;
  font-weight: 500;
}
#tab-betting .odds-btn__value,
.bb-odds-accordion .odds-btn__value {
  font-size: 11px !important;
  line-height: 1.1 !important;
  font-weight: 700;
  color: #fff;
}

/* matches.php mobile layout (ensure ok down to 300px) */
.bb-mobile-league-header{
  display:flex;
  align-items:center;
  gap:12px;
  padding:5px 5px;
  background: rgba(14, 233, 94, 0.18);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  border-radius: 0;
}
.bb-mobile-league-icon{
  width:34px;
  height:34px;
  border-radius:10px;
  background: transparent;
  border: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex-shrink:0;
}
.bb-league-flag,
.bb-league-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.bb-league-flag--inline{
  width:16px;
  height:16px;
  object-fit:contain;
  border-radius:2px;
  flex-shrink:0;
}
.bb-league-flag-fallback{
  font-size:10px;
  font-weight:800;
  letter-spacing:0.02em;
  color:#e2e8f0;
  line-height:1;
  text-align:center;
  padding:2px;
}
.bb-mobile-league-title{
  color:#fff;
  font-size:18px;
  line-height:1.05;
  font-weight:500;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width: 220px;
}
.bb-mobile-league-count{
  margin-left: auto;
  min-width: 28px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(226,232,240,0.95);
  font-size: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bb-mobile-league-subtitle{
  margin-top:4px;
  color: rgba(203,213,225,0.9);
  font-size:13px;
  letter-spacing:0.28em;
}
.bb-mobile-league-matches{
  border-top:1px solid rgba(255,255,255,0.10);
  background: rgba(2, 6, 23, 0.35);
}

/* League accordion (matches.php) */
.bb-league-accordion {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.bb-league-accordion > summary.bb-league-summary {
  list-style: none;
  cursor: pointer;
}
.bb-league-accordion > summary.bb-league-summary::-webkit-details-marker {
  display: none;
}
.bb-league-accordion > summary.bb-league-summary::marker {
  display: none;
  content: '';
}
.bb-league-chevron {
  margin-left: 8px;
  color: rgba(226, 232, 240, 0.85);
  font-size: 11px;
  font-weight: 700;
  transition: transform 160ms ease;
  flex-shrink: 0;
}
.bb-league-accordion[open] .bb-league-chevron {
  transform: rotate(180deg);
}
.bb-league-accordion:not([open]) .bb-mobile-league-matches {
  display: none;
}

/* Scroll restore highlight */
.bb-scroll-restore-highlight {
  outline: 2px solid rgba(34, 197, 94, 0.65);
  outline-offset: 2px;
  border-radius: 1rem;
  transition: outline-color 1.2s ease;
}
.bb-mobile-match-row{
  display:grid;
  grid-template-columns: 2.1rem minmax(0, 1fr) 5.3rem;
  gap:10px;
  /* stretch so right column can bottom-align */
  align-items:stretch;
  padding:12px;
}
.bb-mobile-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.bb-mobile-time-top{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(226,232,240,0.92);
  font-size: 11px;
  line-height: 1;
}
.bb-mobile-teams .bb-mobile-time-top{
  margin-bottom: 6px;
}
.bb-mobile-match-row.no-bet{
  grid-template-columns: minmax(0, 1fr) 5.3rem;
}
.bb-mobile-match-row.no-bet > .bb-mobile-left{
  display:none;
}
.bb-mobile-match-row .bb-mobile-right{
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-left: 10px;
}
.bb-mobile-match-row .bb-mobile-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  /* keep odds aligned to the bottom of the card */
  justify-content:flex-end;
  gap:8px;
  height: 100%;
}
.bb-mobile-time-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(226,232,240,0.95);
  font-size: 12px;
  font-weight: 500;
}
.bb-mobile-score-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.20);
  color: rgba(226,232,240,0.98);
  font-size: 12px;
  font-weight: 500;
}
.bb-mobile-match-row .bb-mobile-odds{
  color: rgba(226,232,240,0.95);
  font-size:12px;
  line-height:1.15;
}
.bb-mobile-match-row .bb-mobile-odds.is-muted{
  opacity: 0.65;
}
.bb-mobile-match-row .bb-mobile-odds > div + div{
  margin-top:6px;
}
.bb-mobile-odds-wrap{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  width:100%;
  height:100%;
  text-align:right;
}
.bb-mobile-time-side{
  color: rgba(226,232,240,0.78);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.bb-mobile-match-row .bb-mobile-odds-wrap > .bb-mobile-odds{
  text-align:right;
}

/* ---- Result block (live / finished matches) ---- */
.bb-mobile-result{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  width:100%;
  height:100%;
}
.bb-status-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.bb-status-pill--live{
  background: rgba(239,68,68,0.16);
  border: 1px solid rgba(239,68,68,0.45);
  color: #fecaca;
}
.bb-status-pill--final{
  background: rgba(148,163,184,0.12);
  border: 1px solid rgba(148,163,184,0.25);
  color: rgba(226,232,240,0.9);
}
.bb-live-dot{
  width:6px;
  height:6px;
  border-radius:999px;
  background:#ef4444;
  box-shadow: 0 0 0 0 rgba(239,68,68,0.7);
  animation: bb-live-pulse 1.4s ease-in-out infinite;
}
@keyframes bb-live-pulse{
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.65); }
  70%  { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}
.bb-mobile-result-score{
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.bb-mobile-result.is-live .bb-mobile-result-score{
  color: #fecaca;
}
@media (min-width: 640px){
  .bb-mobile-result-score{ font-size:16px; }
  .bb-status-pill{ font-size:11px; padding: 3px 9px; }
}
@media (max-width: 320px){
  .bb-mobile-league-title{ font-size:16px; max-width: 190px; }
  .bb-mobile-match-row{ grid-template-columns: 2.0rem minmax(0,1fr) 5.0rem; padding:10px; gap:8px; align-items:stretch; }
  .bb-mobile-match-row.no-bet{ grid-template-columns: minmax(0,1fr) 5.0rem; }
  .bb-mobile-match-row .bb-mobile-odds{ font-size:11px; }
}

@media (min-width: 640px){
  /* desktop: same design, slightly roomier but still compact */
  .bb-mobile-league-header{ padding:10px 10px; }
  .bb-mobile-league-icon{ width:36px; height:36px; }
  .bb-mobile-league-title{ font-size:18px; max-width: 420px; }
  .bb-mobile-match-row{ grid-template-columns: 2.4rem minmax(0,1fr) 6.0rem; padding:12px 12px; align-items:stretch; }
  .bb-mobile-match-row.no-bet{ grid-template-columns: minmax(0,1fr) 6.0rem; }
  .bb-mobile-match-row .bb-mobile-odds{ font-size:12px; }
}

/* Filters: tighter + no bold pills */
#match-status-tabs .bb-pill-tab{
  font-weight: 500;
  padding: 0.2rem 0.65rem;
}

/* Matches filters: make pills extra-compact */
#match-status-tabs.bb-pill-tabs {
  gap: 0.35rem;
  padding: 0.4rem;
  border-radius: 1rem;
  /* Uniform background to avoid color seams while horizontal scrolling */
  background-color: rgba(15, 23, 42, 0.35); /* slate-900 */
  border: 1px solid rgba(255, 255, 255, 0.08);
}
#match-status-tabs .bb-pill-tab {
  padding: 0.45rem 0.7rem;
  border-radius: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
}

/* Disable bb-surface gradient overlay specifically for the horizontal tabs */
#match-status-tabs.bb-surface::before {
  display: none;
}

/* Fix select dropdown (Windows): options should be dark with white text */
#matches-filters select {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.055);
}
#matches-filters select option {
  color: #ffffff;
  background-color: #0f172a; /* slate-900 */
}

/* Match odds accordion: minimalist / width-first */
.bb-odds-accordion {
  border-radius: 0.85rem;
}
.bb-odds-summary {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.bb-odds-summary > div > .text-white {
  font-size: 0.9rem;
}
.bb-odds-accordion[open] .bb-odds-chevron {
  transform: rotate(180deg);
  transition: transform 160ms ease;
}
.bb-odds-chevron {
  transition: transform 160ms ease;
}

/* Legacy odds-btn children (fallback) */
.bb-odds-accordion .odds-btn:not(.odds-btn--compact) {
  padding: 0.2rem 0.1rem !important;
  border-radius: 0.4rem !important;
  min-height: 0 !important;
}
.bb-odds-accordion .odds-btn:not(.odds-btn--compact) > div:first-child {
  font-size: 9px !important;
}
.bb-odds-accordion .odds-btn:not(.odds-btn--compact) > div:last-child {
  font-size: 11px !important;
}

/* Group container (one "frame" around all accordions), similar to Statistics rows */
.bb-odds-group {
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bb-stat-row {
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.bb-stat-bar {
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}
.bb-stat-bar > .bb-stat-left {
  height: 100%;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.9), rgba(16, 185, 129, 0.9));
  border-radius: 999px;
}
.bb-stat-bar > .bb-stat-right {
  height: 100%;
  background: rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  position: absolute;
  right: 0;
  top: 0;
}

/* Match page: compact stats / events panels */
.bb-match-panel {
  padding: 0.65rem 0.7rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.bb-match-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bb-match-panel-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
}
.bb-match-panel-title i {
  width: 0.9rem;
  height: 0.9rem;
  color: rgba(34, 197, 94, 0.85);
}
.bb-match-teams-mini {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.95);
  margin-bottom: 0.45rem;
}
.bb-match-teams-mini .home {
  text-align: right;
  color: rgba(34, 197, 94, 0.95);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bb-match-teams-mini .away {
  text-align: left;
  color: rgba(148, 163, 184, 0.95);
  overflow: hidden;
  white-space: nowrap;
}
.bb-stat-compact {
  padding: 0.45rem 0.5rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bb-stat-compact + .bb-stat-compact {
  margin-top: 0.35rem;
}
.bb-stat-compact-top {
  display: grid;
  grid-template-columns: 2.25rem 1fr 2.25rem;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.3rem;
}
.bb-stat-compact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(148, 163, 184, 0.95);
}
.bb-stat-compact-icon i {
  width: 0.85rem;
  height: 0.85rem;
}
.bb-stat-compact-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(203, 213, 225, 0.95);
  line-height: 1.2;
}
.bb-stat-compact-val {
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
}
.bb-stat-compact-val.home {
  text-align: right;
  color: rgba(34, 197, 94, 0.95);
}
.bb-stat-compact-val.away {
  text-align: left;
}
.bb-stat-bar.bb-stat-bar--compact {
  height: 0.35rem;
}
.bb-event-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}
.bb-event-item {
  display: grid;
  grid-template-columns: 2.1rem 1.65rem 1fr;
  gap: 0.4rem;
  align-items: start;
  padding: 0.4rem 0.45rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.bb-event-minute {
  font-size: 0.65rem;
  font-weight: 800;
  color: rgba(34, 197, 94, 0.9);
  line-height: 1.65rem;
  text-align: center;
}
.bb-event-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 0.45rem;
  flex-shrink: 0;
}
.bb-event-icon i {
  width: 0.85rem;
  height: 0.85rem;
}
.bb-event-icon--goal {
  background: rgba(34, 197, 94, 0.15);
  color: rgb(74, 222, 128);
}
.bb-event-icon--owngoal {
  background: rgba(248, 113, 113, 0.12);
  color: rgb(252, 165, 165);
}
.bb-event-icon--card-yellow {
  background: rgba(234, 179, 8, 0.15);
  color: rgb(250, 204, 21);
}
.bb-event-icon--card-red {
  background: rgba(239, 68, 68, 0.15);
  color: rgb(248, 113, 113);
}
.bb-event-icon--sub {
  background: rgba(59, 130, 246, 0.12);
  color: rgb(96, 165, 250);
}
.bb-event-icon--var {
  background: rgba(168, 85, 247, 0.12);
  color: rgb(192, 132, 252);
}
.bb-event-icon--penalty {
  background: rgba(251, 146, 60, 0.12);
  color: rgb(251, 146, 60);
}
.bb-event-icon--neutral {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(148, 163, 184, 0.95);
}
.bb-event-body-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.bb-event-body-player {
  font-size: 0.65rem;
  color: rgba(203, 213, 225, 0.9);
  margin-top: 0.1rem;
}
.bb-event-body-meta {
  font-size: 0.6rem;
  color: rgba(148, 163, 184, 0.85);
  margin-top: 0.15rem;
}
.bb-event-side-badge {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(148, 163, 184, 0.95);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.bb-lineup-compact {
  padding: 0.35rem 0.45rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.68rem;
}
.bb-lineup-compact + .bb-lineup-compact {
  margin-top: 0.3rem;
}

.text-gradient {
  background-image: linear-gradient(to right, #22c55e, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.btn-primary {
  background-image: linear-gradient(to right, #22c55e, #10b981); /* bg-gradient-to-r from-green-500 to-emerald-500 */
  color: #ffffff; /* text-white */
  font-weight: 600; /* font-semibold */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  padding-top: 0.75rem; /* py-3 */
  padding-bottom: 0.75rem; /* py-3 */
  border-radius: 0.75rem; /* rounded-xl */
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms; /* transition-all duration-300 */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
}
.btn-primary:hover {
  background-image: linear-gradient(to right, #16a34a, #059669); /* hover:from-green-600 hover:to-emerald-600 */
  box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.25), 0 8px 10px -6px rgba(34, 197, 94, 0.25); /* hover:shadow-green-500/25 hover:shadow-xl */
  transform: translateY(-4px); /* hover:-translate-y-1 */
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.1); /* bg-white/10 */
  border: 1px solid rgba(34, 197, 94, 0.5); /* border border-green-500/50 */
  color: #4ade80; /* text-green-400 */
  font-weight: 600; /* font-semibold */
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  padding-top: 0.75rem; /* py-3 */
  padding-bottom: 0.75rem; /* py-3 */
  border-radius: 0.75rem; /* rounded-xl */
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms; /* transition-all duration-300 */
}
.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2); /* hover:bg-white/20 */
  border-color: #4ade80; /* hover:border-green-400 */
  color: #86efac; /* hover:text-green-300 */
}

.btn-danger {
  background-color: #dc2626; /* bg-red-600 */
  border: 2px solid #dc2626; /* border-2 border-red-600 */
  color: #ffffff; /* text-white */
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  font-weight: 600; /* font-semibold */
  border-radius: 0.75rem; /* rounded-xl */
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms; /* transition-all duration-300 */
}

.btn-danger:hover {
  background-color: #b91c1c; /* hover:bg-red-700 */
  border-color: #b91c1c; /* hover:border-red-700 */
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-glow {
  animation: glow 3s ease-in-out infinite alternate;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}



/* Profile Tabs */
.tab-btn {
  flex: 1 1 0%; /* flex-1 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1rem; /* px-4 */
  padding-right: 1rem; /* px-4 */
  padding-top: 0.75rem; /* py-3 */
  padding-bottom: 0.75rem; /* py-3 */
  border-radius: 0.75rem; /* rounded-xl */
  color: #cbd5e1; /* text-slate-300 */
  font-weight: 500; /* font-medium */
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms; /* transition-colors */
}
.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.1); /* hover:bg-white/10 */
  color: #ffffff; /* hover:text-white */
}
.tab-btn.active {
  background-color: #16a34a; /* bg-green-600 */
  color: #ffffff; /* text-white */
}

/* Media Queries for Responsiveness */
@media (min-width: 768px) {
  /* md breakpoint */
  .team-name {
    font-size: 1.25rem; /* md:text-xl */
  }
  .team-score {
    font-size: 2.25rem; /* md:text-4xl */
  }
  .match-vs {
    padding-left: 2rem; /* md:px-8 */
    padding-right: 2rem; /* md:px-8 */
  }
  .vs-text {
    font-size: 1.5rem; /* md:text-2xl */
  }
  .odds-grid {
    gap: 1rem; /* md:gap-4 */
  }
  .odds-grid-main{
    gap: 1rem;
  }
  .odds-btn {
    padding: 1rem; /* md:p-4 */
  }
  .odds-label {
    font-size: 0.875rem; /* md:text-sm */
  }
  .odds-value {
    font-size: 1.25rem; /* md:text-xl */
  }
  .over-under-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* md:grid-cols-2 */
  }
}

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

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

@keyframes glow {
  0% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  }
  100% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
  }
}

@keyframes slideUp {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes slideDown {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Tabs */
.tab-button {
  background-color: transparent;
  border: none;
  padding: 0.75rem 1.25rem; /* py-3 px-5 */
  border-radius: 0.75rem; /* rounded-xl */
  color: #94a3b8; /* slate-400 */
  font-weight: 500; /* font-medium */
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button:hover {
  color: #f8fafc; /* white */
  background-color: rgba(255, 255, 255, 0.05); /* white/5 */
}

.tab-button.active {
  background-image: linear-gradient(to right, #22c55e, #10b981); /* from-green-500 to-emerald-500 */
  color: #ffffff;
  box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3); /* shadow-green-500/30 */
}
/* Specific styles for achievements */
.daily-reward-day {
  padding: 0.5rem; /* p-2 */
  border-radius: 0.5rem; /* rounded-lg */
  text-align: center;
  font-size: 0.75rem; /* text-xs */
  font-weight: 500; /* font-medium */
  transition: all 0.3s ease;
}

.daily-reward-day.claimed {
  background-color: #22c55e; /* green-500 */
  color: #ffffff;
}

.daily-reward-day.current {
  background-image: linear-gradient(to bottom right, #22c55e, #10b981); /* bg-gradient-to-br from-green-500 to-emerald-500 */
  color: #ffffff;
  animation: glow 2s infinite ease-in-out;
}

.daily-reward-day.unclaimed {
  background-color: rgba(255, 255, 255, 0.05); /* white/5 */
  color: #94a3b8; /* slate-400 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* border-white/10 */
}

.level-achievement-card {
  background-color: rgba(255, 255, 255, 0.05); /* white/5 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* white/10 */
  border-radius: 1.5rem; /* rounded-3xl */
  padding: 1.5rem; /* p-6 */
  text-align: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2); /* shadow-lg */
  transition: all 0.3s ease;
  position: relative;
}

.level-achievement-card.unlocked {
  border: 2px solid #22c55e; /* ring-2 ring-green-500 */
}

.level-achievement-card:hover {
  background-color: rgba(255, 255, 255, 0.1); /* white/10 */
  border-color: rgba(255, 255, 255, 0.2); /* white/20 */
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(34, 197, 94, 0.3); /* shadow-xl, shadow-green-500/30 */
}

.level-achievement-icon {
  width: 4rem; /* w-16 */
  height: 4rem; /* h-16 */
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem; /* mb-4 */
}

.level-achievement-title {
  font-size: 1.25rem; /* text-xl */
  font-weight: 700; /* font-bold */
  color: #ffffff; /* white */
  margin-bottom: 0.5rem; /* mb-2 */
}

.level-achievement-description {
  color: #94a3b8; /* slate-400 */
  font-size: 0.875rem; /* text-sm */
  margin-bottom: 1rem; /* mb-4 */
}

.level-achievement-progress-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1); /* white/10 */
  border-radius: 9999px; /* rounded-full */
  height: 0.75rem; /* h-3 */
  margin-bottom: 1rem; /* mb-4 */
}

.level-achievement-progress-fill {
  background-image: linear-gradient(to right, #22c55e, #10b981); /* bg-gradient-to-r from-green-500 to-emerald-500 */
  height: 100%;
  border-radius: 9999px; /* rounded-full */
  transition: width 0.5s ease;
}

.level-achievement-rewards-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: inline-block; /* To center the list */
}

.level-achievement-rewards-list li {
  display: flex;
  align-items: center;
  font-size: 0.875rem; /* text-sm */
  color: #cbd5e1; /* slate-300 */
  margin-bottom: 0.5rem; /* mb-2 */
}

.level-achievement-rewards-list li i {
  width: 1rem; /* w-4 */
  height: 1rem; /* h-4 */
  color: #22c55e; /* green-400 */
  margin-right: 0.5rem; /* mr-2 */
  flex-shrink: 0;
}

.bronze-achievement-card {
  background-color: rgba(255, 255, 255, 0.05); /* white/5 */
  border: 1px solid rgba(255, 255, 255, 0.1); /* white/10 */
  border-radius: 1rem; /* rounded-2xl */
  padding: 1rem; /* p-4 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bronze-achievement-card.completed {
  border: 2px solid #22c55e; /* ring-2 ring-green-500 */
}

.bronze-achievement-card:hover {
  background-color: rgba(255, 255, 255, 0.1); /* white/10 */
  border-color: rgba(255, 255, 255, 0.2); /* white/20 */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 0 10px rgba(34, 197, 94, 0.2); /* shadow-lg, shadow-green-500/20 */
}

.bronze-achievement-icon {
  width: 2rem; /* w-8 */
  height: 2rem; /* h-8 */
  margin-right: 1rem; /* mr-4 */
}

.bronze-achievement-title {
  font-size: 1.125rem; /* text-lg */
  font-weight: 700; /* font-bold */
  color: #ffffff; /* white */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bronze-achievement-description {
  font-size: 0.875rem; /* text-sm */
  color: #94a3b8; /* slate-400 */
}

.bronze-achievement-progress-bar {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1); /* white/10 */
  border-radius: 9999px; /* rounded-full */
  height: 0.5rem; /* h-2 */
  margin-bottom: 1rem; /* mb-4 */
}

.bronze-achievement-progress-fill {
  background-image: linear-gradient(to right, #22c55e, #10b981); /* bg-gradient-to-r from-green-500 to-emerald-500 */
  height: 100%;
  border-radius: 9999px; /* rounded-full */
  transition: width 0.5s ease;
}

.bronze-achievement-reward {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500; /* font-medium */
  color: #22c55e; /* green-400 */
}
/* Matches Page Specific Styles - COMPACT VERSION */
.match-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.match-card.has-bet {
  border: 2px solid rgba(34, 197, 94, 0.5);
  background-color: rgba(34, 197, 94, 0.05);
}

.status-badge {
  padding-left: 0.5rem; /* px-2 */
  padding-right: 0.5rem; /* px-2 */
  padding-top: 0.125rem; /* py-0.5 */
  padding-bottom: 0.125rem; /* py-0.5 */
  border-radius: 9999px; /* rounded-full */
  font-size: 0.75rem; /* text-xs */
  font-weight: 700; /* font-bold */
  display: flex;
  align-items: center;
}
.status-badge.live {
  background-color: rgba(239, 68, 68, 0.2); /* bg-red-500/20 */
  color: #f87171; /* text-red-400 */
  border: 1px solid rgba(239, 68, 68, 0.3); /* border border-red-500/30 */
}
.status-badge.upcoming {
  background-color: rgba(59, 130, 246, 0.2); /* bg-blue-500/20 */
  color: #60a5fa; /* text-blue-400 */
  border: 1px solid rgba(59, 130, 246, 0.3); /* border border-blue-500/30 */
}
.status-badge.past {
  background-color: rgba(107, 114, 128, 0.2); /* bg-gray-500/20 */
  color: #9ca3af; /* text-gray-400 */
  border: 1px solid rgba(107, 114, 128, 0.3); /* border border-gray-500/30 */
}

.teams-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem; /* mb-3 */
}

.team {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  flex: 1;
}
.team.away-team {
  flex-direction: row-reverse; /* flex-row-reverse */
  text-align: right;
}

.team-logo {
  flex-shrink: 0;
}

.team-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.team.away-team .team-info {
  align-items: flex-end;
}

.team-name {
  font-size: 0.875rem; /* text-sm */
  font-weight: 600; /* font-semibold */
  color: #ffffff; /* text-white */
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.team-score {
  font-size: 1.25rem; /* text-xl */
  font-weight: 900; /* font-black */
  color: #4ade80; /* text-green-400 */
  line-height: 1;
}

.match-vs {
  text-align: center;
  padding-left: 0.5rem; /* px-2 */
  padding-right: 0.5rem; /* px-2 */
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.vs-text {
  color: #4ade80; /* text-green-400 */
  font-size: 0.875rem; /* text-sm */
  font-weight: 700; /* font-bold */
}

.odds-section {
  margin-bottom: 0.75rem; /* mb-3 */
}

.odds-grid-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* grid-cols-3 */
  gap: 0.375rem; /* gap-1.5 */
}

.odds-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* grid-cols-3 */
  gap: 0.375rem; /* gap-1.5 */
}
.odds-btn {
  background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
  padding: 0.5rem; /* p-2 */
  border-radius: 0.5rem; /* rounded-lg */
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms; /* transition-all */
  font-weight: 700; /* font-bold */
  border: 1px solid rgba(255, 255, 255, 0.1); /* border border-white/10 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 3rem; /* min-h-12 */
}
.odds-btn:hover:not(:disabled) {
  background-color: #22c55e; /* hover:bg-green-500 */
  color: #ffffff; /* hover:text-white */
  border-color: #22c55e; /* hover:border-green-500 */
  transform: translateY(-1px);
}
.odds-btn.selected {
  background-color: #16a34a; /* bg-green-600 */
  border-color: #16a34a; /* border-green-600 */
  color: #ffffff; /* text-white */
}
.odds-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.odds-label {
  font-size: 0.75rem; /* text-xs */
  color: #94a3b8; /* text-slate-400 */
  margin-bottom: 0.125rem; /* mb-0.5 */
  line-height: 1;
}
.odds-btn.selected .odds-label,
.odds-btn:hover:not(:disabled) .odds-label {
  color: #ffffff; /* text-white */
}
.odds-value {
  font-size: 0.875rem; /* text-sm */
  font-weight: 800;
  line-height: 1;
}

/* Pentru butoanele foarte mici (Total Goals, Corners) */
.odds-btn.compact {
  min-height: 1.75rem; /* min-h-7 */
  padding: 0.25rem 0.375rem; /* py-1 px-1.5 */
  font-size: 0.75rem; /* text-xs */
}

.odds-btn.compact .odds-label {
  font-size: 0.625rem; /* text-xs */
  margin-bottom: 0.0625rem; /* mb-px */
}

.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem; /* py-2 */
  color: #4ade80; /* text-green-400 */
  transition-property: color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms; /* transition-colors */
  font-weight: 500; /* font-medium */
  font-size: 0.875rem; /* text-sm */
  gap: 0.5rem;
}
.accordion-toggle:hover:not(:disabled) {
  color: #86efac; /* hover:text-green-300 */
}
.accordion-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.accordion-content {
  padding-top: 0.75rem; /* pt-3 */
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* border-t border-white/10 */
  display: none;
  margin-top: 0.75rem; /* mt-3 */
}
.accordion-content.expanded {
  display: block;
}

.expanded-odds {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
}
.odds-category {
  padding: 0.75rem; /* p-3 */
  background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
  border-radius: 0.5rem; /* rounded-lg */
}
.category-title {
  font-size: 0.875rem; /* text-sm */
  font-weight: 700; /* font-bold */
  color: #4ade80; /* text-green-400 */
  margin-bottom: 0.5rem; /* mb-2 */
}
.odds-btn.secondary {
  background-color: rgba(255, 255, 255, 0.1); /* bg-white/10 */
  border: 1px solid rgba(255, 255, 255, 0.05); /* border-white/5 */
  min-height: 2.5rem; /* min-h-10 */
}
.odds-btn.secondary:hover:not(:disabled) {
  background-color: rgba(34, 197, 94, 0.2); /* hover:bg-green-500/20 */
  color: #86efac; /* hover:text-green-300 */
  border-color: rgba(74, 222, 128, 0.5); /* hover:border-green-400/50 */
}
.odds-btn.secondary.selected {
  background-color: #22c55e; /* bg-green-500 */
  color: #ffffff; /* text-white */
  border-color: #22c55e; /* border-green-500 */
}
.odds-btn.secondary.selected .odds-label {
  color: #ffffff; /* text-white */
}

.over-under-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
  gap: 0.5rem; /* gap-2 */
}
.ou-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* space-y-2 */
}
.ou-header {
  font-size: 0.75rem; /* text-xs */
  font-weight: 600; /* font-semibold */
  color: #cbd5e1; /* text-slate-300 */
}

.special-bets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* grid-cols-1 */
  gap: 0.5rem; /* gap-2 */
}
.special-bet-btn {
  background-color: rgba(255, 255, 255, 0.1); /* bg-white/10 */
  padding: 0.75rem; /* p-3 */
  border-radius: 0.5rem; /* rounded-lg */
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms; /* transition-all */
  font-weight: 700; /* font-bold */
  border: 1px solid rgba(255, 255, 255, 0.05); /* border border-white/5 */
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.special-bet-btn:hover:not(:disabled) {
  background-color: rgba(34, 197, 94, 0.2); /* hover:bg-green-500/20 */
  color: #86efac; /* hover:text-green-300 */
  border-color: rgba(74, 222, 128, 0.5); /* hover:border-green-400/50 */
}
.special-bet-btn.selected {
  background-color: #22c55e; /* bg-green-500 */
  color: #ffffff; /* text-white */
  border-color: #22c55e; /* border-green-500 */
}
.special-bet-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.special-bet-title {
  font-size: 0.875rem; /* text-sm */
  color: #ffffff; /* text-white */
}
.special-bet-desc {
  font-size: 0.75rem; /* text-xs */
  color: #94a3b8; /* text-slate-400 */
}
.special-bet-btn.selected .special-bet-desc {
  color: rgba(255, 255, 255, 0.8); /* text-white/80 */
}
.special-bet-odd {
  font-size: 0.875rem; /* text-sm */
  font-weight: 800;
}

/* Bet Status Indicator */
.bet-status-indicator {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #16a34a;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

Withdraw Button Styles
.withdraw-bet-card-btn {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  margin-top: 0.75rem;
}
.withdraw-bet-card-btn:hover {
  background-color: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #fca5a5;
}

/* Filters */
.filter-btn {
  background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
  color: #cbd5e1; /* text-slate-300 */
  padding-left: 0.75rem; /* px-3 */
  padding-right: 0.75rem; /* px-3 */
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem; /* py-2 */
  border-radius: 0.5rem; /* rounded-lg */
  display: flex;
  align-items: center;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms; /* transition-colors */
  font-size: 0.875rem;
}
.filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.1); /* hover:bg-white/10 */
  color: #ffffff; /* hover:text-white */
}
.filter-btn.active {
  background-color: #16a34a; /* bg-green-600 */
  color: #ffffff; /* text-white */
}

/* Enhancements for matches modal coin buttons (from match.html) */
.coin-button {
  transition: all 0.2s ease-in-out;
}
.coin-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.coin-button.selected {
  outline: 2px solid rgba(34, 197, 94, 0.8);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.coin-button:disabled {
  opacity: 0.5;
  filter: grayscale(30%);
  cursor: not-allowed;
}



/* Expandable content (matches cards) */
.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.expandable-content.expanded {
  max-height: 1000px;
}

/* League Section Styles */
.league-section {
  margin-bottom: 1.5rem;
}

.league-header {
  background: linear-gradient(to right, #16a34a, #15803d);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out;
}

.league-header:hover {
  transform: translateY(-2px);
}

.league-matches {
  padding: 0 0.5rem;
  padding-bottom: 0.5rem!important;
}

/* Tutorial Styles */
.tutorial-highlight {
  animation: tutorialPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 20px 5px rgba(34, 197, 94, 0.3) !important;
  border: 2px solid rgba(34, 197, 94, 0.8) !important;
  border-radius: 0.75rem;
}

.prize-claim-tutorial-highlight {
  animation: tutorialPulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 20px 5px rgba(34, 197, 94, 0.3) !important;
  border: 2px solid rgba(34, 197, 94, 0.8) !important;
  border-radius: 0.75rem;
}

@keyframes tutorialPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 20px 5px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0), 0 0 30px 10px rgba(34, 197, 94, 0.5);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7), 0 0 20px 5px rgba(34, 197, 94, 0.3);
  }
}

/* Tutorial Modal Content Styling */
#tutorial-text {
  line-height: 1.7;
}

#tutorial-text strong {
  color: #22c55e;
  font-weight: 600;
}

#tutorial-text ul,
#tutorial-text ol {
  margin-left: 1rem;
}

#tutorial-text li {
  margin-bottom: 0.25rem;
}

#tutorial-image-container {
  display: none;
}

#tutorial-image-container:not(.hidden) {
  display: block;
}

/* Improve modal sizing for images */
#tutorial-modal .glass-card {
  max-width: 700px;
}

/* Mobile responsive styles for tutorial modal */
@media (max-width: 768px) {
  #tutorial-modal {
    padding: 0 !important;
  }
  
  #tutorial-modal .glass-card {
    max-width: 100%;
    border-radius: 1.5rem 1.5rem 0 0 !important;
    height: 100%;
    max-height: 100%;
  }
  
  #tutorial-content {
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Ensure buttons are always visible on mobile */
  #tutorial-modal .glass-card > div:last-child {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.9) 70%, transparent 100%);
    backdrop-filter: blur(8px);
    z-index: 10;
  }
}

/* Custom scrollbar for tutorial content */
#tutorial-content.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

#tutorial-content.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

#tutorial-content.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

#tutorial-content.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: rgba(148, 163, 184, 0.3);
  border-radius: 3px;
}

#tutorial-content.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: rgba(148, 163, 184, 0.5);
}