@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Rajdhani:wght@600;700&display=swap');
:root{
  --bg:#030407;
  --panel:rgba(8,11,17,.83);
  --panel2:rgba(15,17,24,.72);
  --line:rgba(255,255,255,.17);
  --orange:#ff6a00;
  --orange2:#ff9b22;
  --text:#f5f6fb;
  --muted:#c5cad7;
  --danger:#ff4b4b;
  --success:#31d67b;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Montserrat,Arial,sans-serif;overflow-x:hidden}a{color:inherit}.wrap{width:min(1530px,100% - 170px);margin:0 auto}.topbar{position:relative;z-index:30;background:#030407;border-bottom:1px solid rgba(255,255,255,.06)}.nav{height:58px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;color:#fff;font-size:19px;font-weight:900;letter-spacing:1.6px}.brand span{color:var(--orange)}nav{display:flex;align-items:center;gap:24px}nav a{text-decoration:none;color:#fff;font-size:13px;font-weight:900;line-height:1;opacity:.96}nav a:hover{color:var(--orange2)}
.home-reference{position:relative;min-height:850px;background:radial-gradient(circle at 50% 47%,rgba(255,106,0,.12),transparent 24%),linear-gradient(180deg,#030407 0%,#06070b 52%,#020305 100%);overflow:hidden}.reference-bg{position:absolute;left:0;right:0;top:0;height:470px;background-image:url('../img/reference-hero-top.png');background-repeat:no-repeat;background-size:cover;background-position:center top;filter:saturate(1.08) contrast(1.04)}.reference-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 0,rgba(0,0,0,.12) 38%,rgba(3,4,7,.93) 54%,rgba(3,4,7,1) 100%),linear-gradient(90deg,rgba(0,0,0,.58),transparent 32%,transparent 68%,rgba(0,0,0,.62));pointer-events:none}.reference-wrap{position:relative;z-index:2;padding-top:478px}.reference-grid{display:grid;grid-template-columns:1.63fr .58fr .64fr;gap:16px;align-items:stretch}.ref-panel{position:relative;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,rgba(12,15,23,.86),rgba(7,9,15,.78));box-shadow:0 25px 80px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden}.ref-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 10%,rgba(255,255,255,.07),transparent 24%),radial-gradient(circle at 60% 60%,rgba(255,106,0,.13),transparent 30%);pointer-events:none}.quiz-card{min-height:322px;padding:62px 56px 40px;display:flex;align-items:center}.quiz-copy{position:relative;z-index:3;max-width:520px}.quiz-card h1{font-size:57px;line-height:1;margin:0 0 24px;font-weight:900;letter-spacing:.4px;text-shadow:0 10px 38px rgba(0,0,0,.78)}.orange-line-text{border-left:4px solid var(--orange);padding-left:20px;margin-bottom:28px}.orange-line-text p{font-family:Rajdhani,Arial,sans-serif;font-size:20px;line-height:1.25;margin:0;color:#eef1f8;letter-spacing:.2px}.fireball-img{position:absolute;right:0;bottom:0;width:38%;max-width:390px;min-width:270px;height:auto;z-index:2;mix-blend-mode:screen;filter:saturate(1.12) contrast(1.08) drop-shadow(0 0 25px rgba(255,106,0,.26))}.actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 36px;border-radius:999px;text-decoration:none;border:1px solid rgba(255,255,255,.16);font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:.2px;transition:.18s ease}.btn:hover{transform:translateY(-1px);filter:brightness(1.08)}.btn-main{background:linear-gradient(135deg,#ff6a00,#ff9a16);border-color:transparent;box-shadow:0 16px 38px rgba(255,106,0,.38);color:#fff}.btn-ghost{background:rgba(255,255,255,.045);box-shadow:inset 0 0 0 1px rgba(255,106,0,.28);color:#fff}.btn-ico{font-size:17px;line-height:1}.rules-card,.leaderboard-card{padding:44px 30px 30px}.card-title{position:relative;z-index:2;display:flex;align-items:center;gap:17px;margin-bottom:26px}.card-title h2{margin:0;font-size:26px;line-height:1;font-weight:900;letter-spacing:.2px}.title-icon{width:52px;height:52px;border:2px solid rgba(255,106,0,.55);border-radius:18px;display:inline-flex;align-items:center;justify-content:center;color:#ff8a12;font-size:30px;text-shadow:0 0 18px rgba(255,106,0,.5);background:rgba(255,106,0,.06)}.crown{font-size:31px}.rule-line{position:relative;z-index:2;display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center;margin:17px 0}.rule-line p{font-family:Rajdhani,Arial,sans-serif;margin:0;color:#f2f3f8;font-size:18px;line-height:1.16;font-weight:600}.rule-line b{color:var(--orange2);font-weight:800}.round-icon{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,106,0,.5);display:inline-flex;align-items:center;justify-content:center;color:var(--orange);font-size:18px;background:rgba(255,106,0,.06);box-shadow:0 0 18px rgba(255,106,0,.11)}.leader-pill{position:relative;z-index:2;height:44px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.035);display:flex;align-items:center;gap:10px;padding:0 24px;margin:12px 0;color:#fff;text-decoration:none;font-size:15px;font-weight:900;box-shadow:inset 0 0 0 1px rgba(255,106,0,.09)}.leader-pill:hover{border-color:rgba(255,106,0,.54);background:rgba(255,106,0,.08)}.leader-pill span{color:var(--orange2);filter:drop-shadow(0 0 8px rgba(255,106,0,.5))}.trophy-img{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:74%;max-width:290px;z-index:1;mix-blend-mode:screen;filter:saturate(1.12) drop-shadow(0 0 25px rgba(255,106,0,.3))}.ref-metrics{display:grid;grid-template-columns:repeat(4,1fr);margin-top:15px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(180deg,rgba(11,14,22,.92),rgba(7,9,15,.82));box-shadow:0 20px 70px rgba(0,0,0,.5);overflow:hidden}.metric-item{min-height:88px;display:flex;align-items:center;gap:18px;padding:18px 28px;border-right:1px solid rgba(255,255,255,.14)}.metric-item:last-child{border-right:0}.metric-badge{width:50px;height:50px;border-radius:50%;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.045);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:24px;box-shadow:inset 0 0 18px rgba(255,255,255,.035)}.metric-item small{font-family:Rajdhani,Arial,sans-serif;display:block;color:#cbd0dd;font-size:15px;line-height:1;text-transform:none;letter-spacing:.2px;margin-bottom:4px}.metric-item strong{display:block;color:#fff;font-size:20px;line-height:1;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.metric-item em{font-style:normal;color:var(--orange2);font-size:27px;margin-right:6px}.below-home{padding:34px 0 58px}.card{background:linear-gradient(145deg,rgba(14,17,25,.9),rgba(8,10,15,.86));border:1px solid rgba(255,255,255,.13);border-radius:22px;padding:28px;box-shadow:0 18px 60px rgba(0,0,0,.45)}.kicker{margin:0 0 10px;color:var(--orange2);text-transform:uppercase;letter-spacing:4px;font-size:12px;font-weight:900}.muted{color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.stat-card{border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:18px;background:rgba(255,255,255,.035)}.timer{font-size:27px;font-weight:900;color:var(--orange2)}.small-timer{font-size:18px}.alert{padding:14px 16px;border-radius:14px;background:rgba(255,106,0,.13);border:1px solid rgba(255,106,0,.3);color:#fff}.footer{padding:32px 0;color:#8f97a9;font-size:13px;background:#030407}.form-card,.table-card{max-width:760px;margin:40px auto}.input, input, select, textarea{width:100%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);border-radius:14px;color:#fff;padding:13px 14px}label{display:block;margin:12px 0 6px;font-weight:800}.table{width:100%;border-collapse:collapse}.table th,.table td{border-bottom:1px solid rgba(255,255,255,.1);padding:12px;text-align:left}.question-image{max-width:100%;border-radius:22px;border:1px solid rgba(255,255,255,.12)}
@media(max-width:1180px){.wrap{width:min(100% - 80px,1120px)}.reference-grid{grid-template-columns:1.35fr .7fr .75fr}.quiz-card h1{font-size:47px}.orange-line-text p{font-size:18px}.fireball-img{opacity:.9;width:34%}.metric-item{padding:16px 20px}.metric-item strong{font-size:16px}}
@media(max-width:940px){.wrap{width:min(100% - 36px,760px)}.nav{height:auto;min-height:58px;padding:12px 0;gap:16px}.reference-bg{height:360px;background-size:auto 360px}.reference-wrap{padding-top:320px}.reference-grid{grid-template-columns:1fr}.quiz-card{padding:38px 30px}.fireball-img{right:-20px;width:300px;opacity:.42}.rules-card,.leaderboard-card{min-height:270px}.ref-metrics{grid-template-columns:1fr 1fr}.metric-item:nth-child(2){border-right:0}.metric-item:nth-child(1),.metric-item:nth-child(2){border-bottom:1px solid rgba(255,255,255,.14)}.stats-grid{grid-template-columns:1fr}}
@media(max-width:560px){.wrap{width:min(100% - 28px,460px)}nav{gap:9px;flex-wrap:wrap;justify-content:flex-end}nav a{font-size:12px}.brand{font-size:17px}.home-reference{min-height:auto}.reference-bg{height:305px;background-size:auto 305px}.reference-wrap{padding-top:265px}.quiz-card{padding:30px 22px}.quiz-card h1{font-size:38px}.orange-line-text p{font-size:16px}.btn{width:100%;min-height:50px}.rules-card,.leaderboard-card{padding:30px 22px}.ref-metrics{grid-template-columns:1fr}.metric-item{border-right:0!important;border-bottom:1px solid rgba(255,255,255,.14)}.metric-item:last-child{border-bottom:0}.fireball-img{display:none}}

.quiz-card{
  isolation:isolate;
  overflow:hidden;
  position:relative;
  background:
    linear-gradient(90deg,
      rgba(7,9,15,1) 0%,
      rgba(7,9,15,1) 34%,
      rgba(7,9,15,.99) 46%,
      rgba(7,9,15,.88) 57%,
      rgba(7,9,15,.48) 72%,
      rgba(7,9,15,.12) 100%
    ),
    radial-gradient(circle at 83% 70%, rgba(255,106,0,.22), transparent 34%),
    url('../img/fireball-card.png') right center / 68% 100% no-repeat,
    linear-gradient(145deg, rgba(12,15,23,.96), rgba(7,9,15,.92)) !important;
}
.quiz-card::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(circle at 22% 18%, rgba(255,255,255,.06), transparent 24%),linear-gradient(180deg, rgba(255,255,255,.045), rgba(0,0,0,.08) 42%, rgba(0,0,0,.18));
}
.quiz-card::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 38%,rgba(7,9,15,.88) 47%,rgba(7,9,15,.54) 57%,rgba(7,9,15,.08) 76%,rgba(0,0,0,.12) 100%),radial-gradient(circle at 84% 78%, rgba(255,106,0,.25), transparent 31%);
}
.quiz-card .quiz-copy{position:relative;z-index:3;}
.quiz-card .fireball-img{display:none !important;}


/* Logo reference patch - logo is now a separate transparent PNG extracted from the target design */
.hero-center-logo{
  position:absolute;
  z-index:3;
  left:50%;
  top:245px;
  transform:translateX(-50%);
  width:clamp(420px, 44vw, 720px);
  height:auto;
  pointer-events:none;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.75));
}
.reference-bg{
  background-image:url('../img/reference-hero-top.png')!important;
  height:454px;
  background-position:center top;
}
.reference-wrap{
  padding-top:430px;
}
@media(max-width:1180px){
  .hero-center-logo{top:238px;width:clamp(360px, 46vw, 620px)}
  .reference-wrap{padding-top:420px}
}
@media(max-width:940px){
  .hero-center-logo{top:188px;width:min(560px, 72vw)}
  .reference-bg{height:360px;background-size:auto 360px;background-position:center top}
  .reference-wrap{padding-top:325px}
}
@media(max-width:560px){
  .hero-center-logo{top:148px;width:min(420px, 88vw)}
  .reference-bg{height:305px;background-size:auto 305px}
  .reference-wrap{padding-top:270px}
}

/* === Patch 3: Rules + Leaderboards only. Do not affect hero/banner or main quiz card. === */
.rules-card,
.leaderboard-card{
  border-color: rgba(255,255,255,.20) !important;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,106,0,.10), transparent 34%),
    linear-gradient(145deg, rgba(13,15,22,.88), rgba(5,7,12,.86)) !important;
  box-shadow: 0 26px 75px rgba(0,0,0,.64), inset 0 1px 0 rgba(255,255,255,.06) !important;
}

.rules-card:before,
.leaderboard-card:before{
  background:
    radial-gradient(circle at 7% 0%, rgba(255,255,255,.075), transparent 28%),
    radial-gradient(circle at 35% 82%, rgba(255,106,0,.10), transparent 42%) !important;
}

.rules-card .card-title,
.leaderboard-card .card-title{
  gap: 18px !important;
  margin-bottom: 24px !important;
}

.rules-card .card-title h2,
.leaderboard-card .card-title h2{
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 25px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .2px !important;
  text-shadow: 0 8px 26px rgba(0,0,0,.64) !important;
}

/* Title icons drawn with CSS, replacing the text glyphs */
.rules-card .title-icon,
.leaderboard-card .title-icon{
  flex: 0 0 54px !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 19px !important;
  border: 2px solid rgba(255,106,0,.74) !important;
  background: rgba(255,106,0,.045) !important;
  color: transparent !important;
  font-size: 0 !important;
  position: relative !important;
  box-shadow: 0 0 22px rgba(255,106,0,.16), inset 0 0 18px rgba(255,106,0,.06) !important;
}

.rules-card .title-icon:before,
.leaderboard-card .title-icon:before{
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%,-50%) !important;
  width: 29px !important;
  height: 29px !important;
  background: #ff7a00 !important;
  filter: drop-shadow(0 0 9px rgba(255,106,0,.55)) !important;
}

/* Shield */
.rules-card .title-icon:before{
  clip-path: polygon(50% 3%, 88% 16%, 82% 62%, 50% 94%, 18% 62%, 12% 16%);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 35%, #000 37%);
  mask: radial-gradient(circle at 50% 50%, transparent 35%, #000 37%);
}

/* Crown */
.leaderboard-card .title-icon:before{
  clip-path: polygon(9% 82%, 91% 82%, 84% 34%, 65% 55%, 50% 21%, 35% 55%, 16% 34%);
}

.rules-card .rule-line{
  grid-template-columns: 39px 1fr !important;
  gap: 14px !important;
  align-items: center !important;
  margin: 17px 0 !important;
}

.rules-card .rule-line p{
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.38 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: rgba(255,255,255,.92) !important;
  text-shadow: 0 3px 12px rgba(0,0,0,.5) !important;
}

.rules-card .rule-line b{
  color: #ff7a00 !important;
  font-weight: 900 !important;
}

.rules-card .round-icon{
  width: 35px !important;
  height: 35px !important;
  border: 1px solid rgba(255,106,0,.62) !important;
  border-radius: 50% !important;
  background: rgba(255,106,0,.035) !important;
  color: transparent !important;
  font-size: 0 !important;
  position: relative !important;
  box-shadow: 0 0 17px rgba(255,106,0,.10), inset 0 0 14px rgba(255,106,0,.04) !important;
}

.rules-card .round-icon:before,
.rules-card .round-icon:after{
  content: "" !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%,-50%) !important;
  display:block !important;
}

/* rule 1 target */
.rules-card .rule-line:nth-of-type(1) .round-icon:before{
  width: 15px; height:15px; border:2px solid #ff7a00; border-radius:50%;
  box-shadow: inset 0 0 0 4px rgba(255,122,0,.18), 0 0 8px rgba(255,106,0,.4);
}
.rules-card .rule-line:nth-of-type(1) .round-icon:after{
  width: 4px; height:4px; background:#ff7a00; border-radius:50%;
}

/* rule 2 clock */
.rules-card .rule-line:nth-of-type(2) .round-icon:before{
  width: 16px; height:16px; border:2px solid #ff7a00; border-radius:50%;
}
.rules-card .rule-line:nth-of-type(2) .round-icon:after{
  width: 7px; height:7px; border-left:2px solid #ff7a00; border-bottom:2px solid #ff7a00;
  transform: translate(-22%,-50%) rotate(-2deg);
  transform-origin:left bottom;
}

/* rule 3 growth arrow */
.rules-card .rule-line:nth-of-type(3) .round-icon:before{
  width: 18px; height: 2px; background:#ff7a00; transform: translate(-50%, 2px) rotate(-38deg); border-radius:3px;
}
.rules-card .rule-line:nth-of-type(3) .round-icon:after{
  width: 8px; height: 8px; border-top:2px solid #ff7a00; border-right:2px solid #ff7a00;
  transform: translate(0,-8px) rotate(7deg);
}

/* rule 4 trophy */
.rules-card .rule-line:nth-of-type(4) .round-icon:before{
  width: 14px; height: 12px; background:#ff7a00; border-radius:2px 2px 5px 5px; top:45%;
  clip-path: polygon(18% 0,82% 0,76% 68%,60% 82%,40% 82%,24% 68%);
}
.rules-card .rule-line:nth-of-type(4) .round-icon:after{
  width: 17px; height: 8px; border-bottom:2px solid #ff7a00; border-left:2px solid #ff7a00; border-right:2px solid #ff7a00;
  transform: translate(-50%, 4px);
  border-radius:0 0 4px 4px;
}

/* Leaderboard card: blend the podium image into the card as a background, not a hard rectangle */
.leaderboard-card{
  min-height: 322px !important;
  padding: 44px 34px 30px !important;
}

.leaderboard-card:after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height: 58% !important;
  background:
    linear-gradient(180deg, rgba(5,7,12,0) 0%, rgba(5,7,12,.02) 12%, rgba(5,7,12,0) 100%),
    url('../img/leaderboard-arena-bg.png') center bottom / cover no-repeat !important;
  opacity: .96 !important;
  z-index:1 !important;
  pointer-events:none !important;
}

.leaderboard-card .card-title,
.leaderboard-card .leader-pill{
  z-index: 3 !important;
}

.leaderboard-card .trophy-img{
  display: none !important;
}

.leaderboard-card .leader-pill{
  width: calc(100% - 18px) !important;
  max-width: 265px !important;
  height: 38px !important;
  margin: 11px auto !important;
  padding: 0 20px !important;
  justify-content: center !important;
  gap: 12px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.04) !important;
  box-shadow: inset 0 0 0 1px rgba(255,106,0,.08), 0 12px 26px rgba(0,0,0,.22) !important;
  font-family: Montserrat, Arial, sans-serif !important;
  font-size: 13px !important;
  line-height:1 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.leaderboard-card .leader-pill:hover{
  border-color: rgba(255,106,0,.65) !important;
  background: rgba(255,106,0,.075) !important;
}

.leaderboard-card .leader-pill span{
  width: 21px !important;
  height: 21px !important;
  flex:0 0 21px !important;
  color: transparent !important;
  font-size: 0 !important;
  position: relative !important;
  filter: drop-shadow(0 0 8px rgba(255,106,0,.58)) !important;
}

.leaderboard-card .leader-pill span:before,
.leaderboard-card .leader-pill span:after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  transform:translate(-50%,-50%) !important;
  background:#ff7a00 !important;
}

/* Daily chart icon */
.leaderboard-card .leader-pill:nth-of-type(1) span:before{
  width:4px;height:13px;box-shadow:-6px 4px 0 #ff7a00, 6px -3px 0 #ff7a00;border-radius:2px;
}
.leaderboard-card .leader-pill:nth-of-type(1) span:after{
  width:18px;height:2px;top:78%;border-radius:2px;background:rgba(255,122,0,.65)!important;
}

/* Trophy icon */
.leaderboard-card .leader-pill:nth-of-type(2) span:before{
  width:14px;height:11px;border-radius:2px 2px 5px 5px;clip-path:polygon(15% 0,85% 0,75% 67%,58% 84%,42% 84%,25% 67%);
}
.leaderboard-card .leader-pill:nth-of-type(2) span:after{
  width:18px;height:10px;border-bottom:2px solid #ff7a00;border-left:2px solid #ff7a00;border-right:2px solid #ff7a00;background:transparent!important;top:62%;border-radius:0 0 5px 5px;
}

@media(max-width:1180px){
  .rules-card .rule-line p{font-size:13px!important;}
  .leaderboard-card .leader-pill{font-size:12px!important;}
}


/* =========================================================
   POINT 3 ONLY: Rules + Leaderboards
   Paste this at the VERY END of assets/css/style.css.
   It does NOT modify the top banner/logo and does NOT touch .quiz-card.
   ========================================================= */

/* two side cards only */
.rules-card,
.leaderboard-card{
  border-radius:24px !important;
  border:1px solid rgba(255,255,255,.20) !important;
  background:
    radial-gradient(circle at 20% 8%, rgba(255,255,255,.055), transparent 26%),
    radial-gradient(circle at 55% 70%, rgba(255,106,0,.10), transparent 38%),
    linear-gradient(145deg, rgba(16,18,27,.86), rgba(5,7,12,.82)) !important;
  box-shadow:0 28px 85px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.055) !important;
}

.rules-card::before,
.leaderboard-card::before{
  background:none !important;
}

.rules-card{
  padding:38px 32px 34px !important;
}

.leaderboard-card{
  padding:38px 36px 34px !important;
  min-height:322px;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(7,9,15,.88) 0%, rgba(7,9,15,.80) 34%, rgba(7,9,15,.24) 66%, rgba(7,9,15,.08) 100%),
    radial-gradient(circle at 50% 74%, rgba(255,106,0,.32), transparent 38%),
    url('../img/trophy-podium.png') center bottom / 88% auto no-repeat,
    linear-gradient(145deg, rgba(16,18,27,.86), rgba(5,7,12,.82)) !important;
}

.leaderboard-card .trophy-img{
  display:none !important;
}

/* titles */
.rules-card .card-title,
.leaderboard-card .card-title{
  gap:20px !important;
  margin-bottom:26px !important;
}

.rules-card .card-title h2,
.leaderboard-card .card-title h2{
  font-family:Montserrat,Arial,sans-serif !important;
  font-size:26px !important;
  font-weight:800 !important;
  letter-spacing:.1px !important;
  color:#f4f5fa !important;
  text-shadow:0 4px 18px rgba(0,0,0,.65) !important;
}

/* big icons */
.rules-card .title-icon,
.leaderboard-card .title-icon{
  position:relative;
  flex:0 0 58px;
  width:58px !important;
  height:58px !important;
  border-radius:19px !important;
  border:2px solid rgba(255,106,0,.72) !important;
  background:rgba(255,106,0,.055) !important;
  box-shadow:inset 0 0 18px rgba(255,106,0,.08), 0 0 16px rgba(255,106,0,.09) !important;
  color:transparent !important;
  font-size:0 !important;
}

.rules-card .title-icon::before,
.leaderboard-card .title-icon::before{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#ff7900;
  font-family:Arial,sans-serif;
  font-size:28px;
  line-height:1;
  text-shadow:0 0 18px rgba(255,106,0,.55);
}
.rules-card .title-icon::before{content:"◇"; font-size:27px; transform:rotate(45deg) scale(.85);}
.leaderboard-card .title-icon::before{content:"♕"; font-size:34px; transform:translateY(-1px);}

/* rules rows */
.rules-card .rule-line{
  grid-template-columns:46px 1fr !important;
  gap:18px !important;
  margin:19px 0 !important;
  align-items:center !important;
}

.rules-card .rule-line p{
  font-family:Montserrat,Arial,sans-serif !important;
  font-size:14px !important;
  line-height:1.32 !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
  color:#f3f4f8 !important;
  text-shadow:0 2px 12px rgba(0,0,0,.55) !important;
}

.rules-card .rule-line p b{
  color:#ff840d !important;
  font-weight:800 !important;
}

.rules-card .round-icon{
  position:relative;
  width:35px !important;
  height:35px !important;
  border-radius:50% !important;
  border:1px solid rgba(255,106,0,.64) !important;
  background:rgba(255,106,0,.035) !important;
  color:transparent !important;
  font-size:0 !important;
  box-shadow:0 0 16px rgba(255,106,0,.08) !important;
}
.rules-card .round-icon::before,
.rules-card .round-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  display:block;
}

/* row 1: target/bullseye */
.rules-card .rule-line:nth-child(2) .round-icon::before{
  width:13px;height:13px;border:2px solid #ff7900;border-radius:50%;
}
.rules-card .rule-line:nth-child(2) .round-icon::after{
  width:4px;height:4px;background:#ff7900;border-radius:50%;
}

/* row 2: clock */
.rules-card .rule-line:nth-child(3) .round-icon::before{
  width:15px;height:15px;border:2px solid #ff7900;border-radius:50%;
}
.rules-card .rule-line:nth-child(3) .round-icon::after{
  width:8px;height:8px;border-left:2px solid #ff7900;border-bottom:2px solid #ff7900;transform:translate(-30%,-55%);
}

/* row 3: arrow */
.rules-card .rule-line:nth-child(4) .round-icon::before{
  width:15px;height:2px;background:#ff7900;transform:translate(-50%,-50%) rotate(-38deg);
}
.rules-card .rule-line:nth-child(4) .round-icon::after{
  width:7px;height:7px;border-top:2px solid #ff7900;border-right:2px solid #ff7900;transform:translate(0,-78%) rotate(7deg);
}

/* row 4: trophy/cup - fixes missing icon */
.rules-card .rule-line:nth-child(5) .round-icon::before{
  width:14px;height:10px;border:2px solid #ff7900;border-top:0;border-radius:0 0 5px 5px;transform:translate(-50%,-58%);
}
.rules-card .rule-line:nth-child(5) .round-icon::after{
  width:13px;height:9px;border-bottom:2px solid #ff7900;border-left:2px solid transparent;border-right:2px solid transparent;transform:translate(-50%,4px);
}

/* leaderboard pills */
.leaderboard-card .leader-pill{
  height:39px !important;
  border-radius:999px !important;
  border:1px solid rgba(255,255,255,.22) !important;
  background:rgba(255,255,255,.035) !important;
  padding:0 26px !important;
  margin:12px 0 !important;
  font-family:Montserrat,Arial,sans-serif !important;
  font-size:14px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  box-shadow:inset 0 0 0 1px rgba(255,106,0,.06) !important;
}
.leaderboard-card .leader-pill:hover{
  border-color:rgba(255,106,0,.58) !important;
  background:rgba(255,106,0,.075) !important;
}
.leaderboard-card .leader-pill span{
  color:#ff7900 !important;
  filter:drop-shadow(0 0 10px rgba(255,106,0,.55)) !important;
}

@media(max-width:1180px){
  .rules-card,.leaderboard-card{padding:32px 26px 30px !important;}
  .rules-card .card-title h2,.leaderboard-card .card-title h2{font-size:24px !important;}
  .rules-card .rule-line p{font-size:13.5px !important;}
}
