/* ============================================================
   Slot Tournaments — Bracket Style
============================================================ */
.st-page{ max-width:1400px; margin:0 auto; padding:0 20px 60px; display:flex; flex-direction:column; gap:32px; }

/* Hero */
/* ── Hero — gradient border card ── */
.st-hero{
  position: relative;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(135deg,rgba(196,135,71,.60) 0%,rgba(100,60,10,.20) 40%,rgba(196,135,71,.40) 100%);
  box-shadow: 0 8px 48px rgba(0,0,0,.60), 0 0 80px rgba(196,135,71,.08);
}
.st-hero__inner{
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg,rgba(18,13,6,.97) 0%,rgba(12,9,4,.99) 60%,rgba(20,14,5,.97) 100%);
  padding: 52px 40px 44px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.st-hero__inner::before{
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(196,135,71,.18) 0%,transparent 70%);
  pointer-events: none;
}
.st-hero__inner::after{
  content: '🎰';
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  font-size: 140px;
  opacity: .04;
  pointer-events: none;
  user-select: none;
}
.st-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(196,135,71,.85);
  background: rgba(196,135,71,.08);
  border: 1px solid rgba(196,135,71,.22);
  border-radius: 999px;
  padding: 5px 16px;
  position: relative;
  z-index: 1;
}
.st-hero__title{
  font-size: 54px;
  font-weight: 950;
  font-style: italic;
  background: linear-gradient(135deg,#ffd77a,#e0a030 50%,#ffd77a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.05;
  margin: 0;
  text-shadow: none;
  position: relative;
  z-index: 1;
}
.st-hero__sub{
  font-size: 15px;
  color: rgba(170,180,197,.72);
  max-width: 480px;
  margin: 0;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
/* Quick stats strip in hero */
.st-hero__stats{
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 6px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(196,135,71,.18);
  border-radius: 16px;
  padding: 14px 24px;
  position: relative;
  z-index: 1;
}
.st-hstat{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 24px;
}
.st-hstat__val{
  font-size: 26px;
  font-weight: 950;
  color: rgba(255,210,120,.97);
  line-height: 1;
}
.st-hstat__label{
  font-size: 10px;
  color: rgba(170,180,197,.50);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}
.st-hstat__div{
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg,transparent,rgba(196,135,71,.25),transparent);
}

/* Tournament card */
.st-card{
  position: relative;
  border-radius: 22px;
  padding: 3px;
  background: linear-gradient(135deg,rgba(196,135,71,.30) 0%,rgba(80,50,10,.15) 50%,rgba(196,135,71,.20) 100%);
  box-shadow: 0 8px 40px rgba(0,0,0,.55), 0 0 40px rgba(196,135,71,.04);
}
.st-card__inner{
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg,rgba(16,12,5,.98) 0%,rgba(10,8,4,.99) 100%);
  position: relative;
}
.st-card__inner::before{
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(ellipse,rgba(196,135,71,.08) 0%,transparent 70%);
  pointer-events: none;
}
.st-card--active{
  background: linear-gradient(135deg,rgba(60,200,100,.40) 0%,rgba(10,60,20,.15) 50%,rgba(60,200,100,.25) 100%);
  box-shadow: 0 8px 48px rgba(0,0,0,.55), 0 0 60px rgba(60,200,100,.08);
}
.st-card--active .st-card__inner::before{
  background: radial-gradient(ellipse,rgba(60,200,100,.07) 0%,transparent 70%);
}
.st-card--finished{ opacity:.75; filter:saturate(.7); }

/* Card header */
.st-card__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; padding:24px 28px 16px; flex-wrap:wrap; }
.st-status{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:950; letter-spacing:1px; text-transform:uppercase; padding:3px 10px; border-radius:999px; margin-bottom:6px; }
.st-status--setup{ background:rgba(150,150,150,.12); color:rgba(200,200,200,.7); border:1px solid rgba(200,200,200,.15); }
.st-status--bracket{ background:rgba(24,95,165,.15); color:rgba(100,180,255,.9); border:1px solid rgba(24,95,165,.30); }
.st-status--active{ background:rgba(60,200,100,.15); color:rgba(120,240,160,.9); border:1px solid rgba(60,200,100,.30); }
.st-status--active::before{ content:''; width:6px; height:6px; border-radius:50%; background:rgba(60,200,100,.9); display:inline-block; animation:stPulse 1.4s infinite; }
.st-status--finished{ background:rgba(255,215,0,.10); color:rgba(255,215,0,.80); border:1px solid rgba(255,215,0,.25); }
@keyframes stPulse{ 0%,100%{opacity:1}50%{opacity:.3} }
.st-card__title{ font-size:22px; font-weight:950; color:rgba(233,238,247,.97); margin:0; }
.st-card__date{ font-size:13px; color:rgba(170,180,197,.55); margin-top:6px; }
.st-pool{ text-align:right; }
.st-pool span{ font-size:11px; color:rgba(170,180,197,.45); text-transform:uppercase; letter-spacing:.5px; display:block; }
.st-pool{ font-size:26px; font-weight:950; color:rgba(255,210,120,.95); }
.st-desc{ padding:0 28px 16px; font-size:14px; color:rgba(170,180,197,.75); line-height:1.65; }

/* Prizes */
.st-prizes{ display:flex; gap:8px; padding:0 28px 20px; flex-wrap:wrap; }
.st-prize{ display:flex; flex-direction:column; align-items:center; gap:3px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:10px 16px; min-width:70px; }
.st-prize--1{ background:rgba(255,215,0,.08); border-color:rgba(255,215,0,.25); }
.st-prize--2{ background:rgba(192,192,192,.07); border-color:rgba(192,192,192,.20); }
.st-prize--3{ background:rgba(205,127,50,.07); border-color:rgba(205,127,50,.20); }
.st-prize__rank{ font-size:18px; }
.st-prize__amount{ font-size:14px; font-weight:900; color:rgba(233,238,247,.90); }

/* ── BRACKET ── */
.st-bracket{ padding:0 28px 28px; display:flex; gap:0; overflow-x:auto; }
.st-round{ display:flex; flex-direction:column; min-width:220px; flex:1; }
.st-round__label{ font-size:11px; font-weight:950; letter-spacing:1px; text-transform:uppercase; color:rgba(196,135,71,.65); padding:0 0 12px 0; text-align:center; }
.st-round__matches{ display:flex; flex-direction:column; justify-content:space-around; gap:12px; flex:1; padding:0 8px; }

/* Match card */
.st-match{ background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:2px; overflow:hidden; position:relative; }
.st-match--done{ border-color:rgba(60,200,100,.15); }
.st-match__tbd{ padding:16px; text-align:center; font-size:12px; color:rgba(170,180,197,.30); font-style:italic; }
.st-match__divider{ text-align:center; font-size:10px; font-weight:700; letter-spacing:1px; color:rgba(170,180,197,.25); padding:2px 0; }

/* Player row inside match */
.st-player{ display:flex; align-items:center; justify-content:space-between; padding:10px 12px; gap:8px; transition:background .15s; }
.st-player--winner{ background:rgba(255,210,120,.06); }
.st-player--lost{ opacity:.45; }
.st-player__left{ display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.st-player__name{ font-size:13px; font-weight:700; color:rgba(233,238,247,.90); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.st-player--winner .st-player__name{ color:rgba(255,210,120,.95); }
.st-player__slot{ font-size:10px; color:rgba(170,180,197,.45); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.st-player__right{ display:flex; align-items:center; gap:6px; flex-shrink:0; }
.st-player__mult{ font-size:14px; font-weight:950; color:rgba(255,210,120,.90); }
.st-player--winner .st-player__mult{ color:rgba(255,210,120,1); }
.st-player__pending{ font-size:12px; color:rgba(170,180,197,.25); }
.st-player__trophy{ font-size:14px; }
.st-player__bye{ font-size:10px; background:rgba(196,135,71,.15); color:rgba(255,210,120,.7); padding:1px 7px; border-radius:999px; font-weight:700; }

/* Placeholder for bracket not yet generated */
.st-bracket-placeholder{ padding:40px 28px; text-align:center; border-top:1px solid rgba(255,255,255,.05); }

/* Champion highlight */
.st-winner{ margin:0 28px 28px; background:linear-gradient(135deg,rgba(255,215,0,.08),rgba(255,180,0,.04)); border:1px solid rgba(255,215,0,.25); border-radius:16px; padding:20px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:6px; }
.st-winner__crown{ font-size:32px; }
.st-winner__label{ font-size:11px; font-weight:900; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,215,0,.60); }
.st-winner__name{ font-size:22px; font-weight:950; color:rgba(255,215,0,.95); }
.st-winner__prize{ font-size:18px; font-weight:700; color:rgba(255,210,120,.75); }

@media(max-width:767px){
  .st-page{ padding:0 5px 40px; }
  .st-hero__title{ font-size:34px; }
  .st-card__head{ padding:18px 16px 12px; }
  .st-card__title{ font-size:18px; }
  .st-desc{ padding:0 16px 14px; }
  .st-prizes{ padding:0 16px 16px; }
  .st-bracket{ padding:0 8px 20px; }
  .st-round{ min-width:160px; }
  .st-winner{ margin:0 16px 20px; }
}
