.fr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(13,21,18,0.55) 0%, rgba(13,21,18,0.75) 55%, var(--black) 100%),
    url('/images/hero-stadium.webp') center/cover no-repeat;
}

.fr-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
    padding: 7rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
}



.fr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--yellow);
  padding: 0;
  background: none;
  border: none;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.fr-hero-badge.is-visible { opacity: 1; transform: translateY(0); }
.fr-hero-badge::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.fr-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 1.5rem;
  min-height: 2em;
}

.fr-hero-line1,
.fr-hero-line2 {
  display: block;
  font-size: clamp(4rem, 9vw, 8rem);
}

.fr-hero-line1 {
  color: var(--white);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.fr-hero-line2.accent {
  color: var(--yellow);
  text-shadow:
    0 0 1px rgba(240, 169, 58, 0.4),
    0 6px 40px rgba(240, 169, 58, 0.35),
    0 4px 20px rgba(0, 0, 0, 0.5);
}

.fr-hero-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(244, 247, 242, 0.8);
  max-width: 440px;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fr-hero-desc.is-visible { opacity: 1; transform: translateY(0); }

.fr-hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
}
.fr-hero-stats.is-visible { opacity: 1; transform: translateY(0); }

.fr-stat { display: flex; flex-direction: column; gap: 2px; }
.fr-stat-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  line-height: 1;
}
.fr-stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(244, 247, 242, 0.55);
}
.fr-stat-sep {
  width: 1px;
  height: 34px;
  background: rgba(244, 247, 242, 0.15);
}

.fr-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--yellow) 80%, white) 0%,
    var(--yellow) 55%,
    color-mix(in srgb, var(--yellow) 70%, black) 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s, filter 0.15s ease;
}

.fr-hero-cta.is-visible { opacity: 1; transform: translateY(0); }
.fr-hero-cta:hover { filter: brightness(0.92); }



.fr-hero-right {
  display: flex;
  justify-content: center;
}

.fr-stage-wrap {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fr-stage-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.fr-stage-head.is-visible { opacity: 1; transform: translateY(0); }
.fr-stage-head-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
}
.fr-stage-head-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(244, 247, 242, 0.55);
}

.fr-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.6;
}

.fr-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.fr-scene.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.fr-stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(13, 21, 18, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.1);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}
.fr-stage-foot.is-visible { opacity: 1; transform: translateY(0); }

.fr-foot-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}
.fr-foot-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--yellow);
}
.fr-foot-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(244, 247, 242, 0.55);
  text-align: center;
}

.fr-pitch {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #1e7a44 0%, #176435 100%);
  border-radius: 16px;
  border: 1px solid rgba(244, 247, 242, 0.15);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.fr-pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    rgba(255,255,255,0.04) 0,
    rgba(255,255,255,0.04) 12.5%,
    transparent 12.5%,
    transparent 25%
  );
}

.fr-pitch-lines { position: absolute; inset: 0; }

.fr-pitch-center-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.25);
}

.fr-pitch-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%;
}


.fr-pitch-box {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 45%;
  height: 16%;
  border: 2px solid rgba(255,255,255,0.25);
}
.fr-pitch-box-top { top: 0; border-top: none; }
.fr-pitch-box-bottom { bottom: 0; border-bottom: none; }

.fr-player {
  position: absolute;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--black);
  animation: fr-player-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.fr-player.gk { background: var(--green); }

@keyframes fr-player-pop {
  to { transform: translate(-50%, -50%) scale(1); }
}


.fr-lb {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 1.5rem;
  background: rgba(13, 21, 18, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.fr-lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(244, 247, 242, 0.05);
  opacity: 0;
  transform: translateX(20px);
  animation: fr-lb-in 0.4s ease forwards;
}
.fr-lb-row.me {
  background: rgba(240, 169, 58, 0.15);
  border: 1px solid rgba(240, 169, 58, 0.4);
}
@keyframes fr-lb-in {
  to { opacity: 1; transform: translateX(0); }
}
.fr-lb-pos {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1rem;
  color: var(--yellow);
  width: 24px;
}
.fr-lb-name {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--white);
}
.fr-lb-pts {
  font-family: var(--font-data);
  font-weight: 700;
  color: var(--white);
}


.fr-predict {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(13, 21, 18, 0.4);
  border: 1px solid rgba(244, 247, 242, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}

.fr-predict-scoreline {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.fr-predict-team-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}
.fr-predict-team-name.home { text-align: right; }
.fr-predict-team-name.away { text-align: left; }

.fr-predict-score {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--yellow);
}
.fr-predict-dash { color: rgba(244,247,242,0.4); }

.fr-circle-wrap {
  position: relative;
  display: inline-block;
  padding: 10px 24px;  
}

.fr-circle {
  position: absolute;
  top: -10px;                   
  left: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 20px);
  overflow: visible;
  pointer-events: none;
}

.fr-circle path {
  fill: none;
  stroke: var(--red);
  stroke-width: 5;               
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 680;
  stroke-dashoffset: 680;
  filter: drop-shadow(0 0 4px rgba(187, 207, 206, 0.35));
}

.fr-circle-p2 {
  stroke-width: 3;
  opacity: 0.6;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
}
.fr-scene.is-active .fr-circle-p2 {
  animation: fr-draw-circle 0.9s ease forwards 0.75s;
}

.fr-scene.is-active .fr-circle path {
  animation: fr-draw-circle 0.9s ease forwards 0.6s;
}

@keyframes fr-draw-circle {
  to { stroke-dashoffset: 0; }
}

.fr-predict-divider {
  height: 1px;
  background: rgba(244, 247, 242, 0.08);
  margin: 0.25rem 0;
}

.fr-predict-stats {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.fr-pstat { display: flex; flex-direction: column; gap: 5px; }
.fr-pstat-vals {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}
.fr-pstat-val {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
}
.fr-pstat-vals .fr-pstat-val:last-child { text-align: right; }
.fr-pstat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(244, 247, 242, 0.55);
  text-align: center;
}
.fr-pstat-bar {
  display: flex;
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
  gap: 2px;
}
.fr-pstat-bar-home { background: var(--yellow); border-radius: 2px; }
.fr-pstat-bar-away { background: rgba(244, 247, 242, 0.2); border-radius: 2px; }



.fr-how {
  background: var(--black);
  padding: 8rem 1.5rem;
    border-top: 4px solid yellow;
}

.fr-how-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.fr-how-left {
  position: sticky;
  top: 120px;
}

.fr-how-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.fr-how-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--yellow);
}

.fr-how-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(3rem, 5vw, 4rem);
  color: var(--white);
  margin: 0;
}

.fr-how-title .accent {
  color: var(--yellow);
  text-shadow: 0 4px 30px rgba(240, 169, 58, 0.3);
}

.fr-how-lead {
  font-family: var(--font-data);
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 247, 242, 0.7);
  margin-bottom: 2rem;
  max-width: 500px;
}

.fr-how-visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(244, 247, 242, 0.1);
  position: relative;
}

.fr-how-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 21, 18, 0.6) 100%);
}

.fr-how-visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: grayscale(0.3) contrast(1.1);
}

.fr-how-right {
  display: flex;
  flex-direction: column;
}

.fr-how-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(244, 247, 242, 0.1);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fr-how-step:first-child { border-top: none; padding-top: 0; }
.fr-how-step.is-visible { opacity: 1; transform: translateY(0); }


.fr-how-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(240, 169, 58, 0.5);
  flex-shrink: 0;
  min-width: 90px;
}

.fr-how-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0 0 0.6rem;
}
.fr-how-text p {
  font-family: var(--font-data);
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(244, 247, 242, 0.65);
  margin: 0;
}

.fr-scoring {
    padding: 7rem 1.5rem 3rem;
  background: rgba(244, 247, 242, 0.015);
}
.fr-scoring-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 960px) {
  .fr-scoring-inner { grid-template-columns: 1fr; }
}

.fr-rule-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.fr-rule-val {
  font-family: var(--font-data);
  font-weight: 800;
  padding: 0 2px;
}

.fr-rule {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fr-rule-tag {
  flex-shrink: 0;
  min-width: 76px;
  text-align: center;
  padding: 5px 10px;
  border-radius: 7px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.fr-rule-tag.entry     { background: rgba(244,247,242,.08); color: rgba(244,247,242,.6); }
.fr-rule-tag.player    { background: rgba(58,123,255,.12); color: var(--blue); }
.fr-rule-tag.formation { background: rgba(240,169,58,.12); color: var(--yellow); }
.fr-rule-tag.result    { background: rgba(46,189,107,.12); color: var(--green); }
.fr-rule-tag.exact     { background: rgba(229,72,77,.12); color: var(--red); }
.fr-rule-tag.stat      { background: rgba(155,89,182,.14); color: #b98ee0; }

.fr-rule-text { display: flex; flex-direction: column; gap: 2px; }
.fr-rule-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--white);

}
.fr-rule-text span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(244, 247, 242, 0.55);
}


.fr-sim {
  background: rgba(244, 247, 242, 0.03);
  border: 1px solid rgba(244, 247, 242, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
}

.fr-sim-head {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(244, 247, 242, 0.08);
}
.fr-sim-label {
  display: block;
  font-family: var(--font-data); font-weight: 700;
  font-size: 0.65rem; letter-spacing: 0.1em;
  color: var(--yellow); margin-bottom: 4px;
}
.fr-sim-teams {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: var(--white);
}
.fr-sim-vs {
  font-family: var(--font-body); font-weight: 400;
  font-size: 0.75rem; color: rgba(244, 247, 242, 0.4);
}
.fr-sim-reveal {
  display: block; margin-top: 2px;
  font-weight: bold;
  font-family: var(--font-data); font-size: 0.95rem;
  color: var(--yellow)
}

.fr-sim-block { 
  margin-bottom: 0.85rem; 
}
.fr-sim-title {
  display: block;
  font-family: var(--font-data); font-weight: 600;
  font-size: 0.7rem; color: rgba(244, 247, 242, 0.55);
  margin-bottom: 5px;
}

.fr-sim-row-grid.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.fr-sim-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fr-sim-score {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(244, 247, 242, 0.02);
  border: 1px solid rgba(244, 247, 242, 0.05);
  border-radius: 8px;
  padding: 3px 6px;
  height: 35px;
}
.fr-sim-score-side { display: flex; align-items: center; gap: 4px; }
.fr-sim-pm {
  width: 22px; height: 22px; border-radius: 5px;
  background: rgba(244, 247, 242, 0.06);
  border: 1px solid rgba(244, 247, 242, 0.1);
  color: var(--white); cursor: pointer;
  font-size: 0.85rem; line-height: 1; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.fr-sim-pm:hover { background: rgba(240, 169, 58, 0.15); border-color: rgba(240, 169, 58, 0.35); }
.fr-sim-num {
  min-width: 20px; text-align: center;
  font-family: var(--font-data); font-weight: 800; font-size: 1.15rem;
  color: var(--yellow);
}
.fr-sim-colon {
  font-family: var(--font-data); font-size: 1rem;
  color: rgba(244, 247, 242, 0.3);
}

.fr-sim-opts { display: flex; gap: 4px; }
.fr-sim-opts.wrap { flex-wrap: wrap; }
.fr-sim-opt {
  flex: 1;
  padding: 6px 8px;
  background: rgba(244, 247, 242, 0.04);
  border: 1px solid rgba(244, 247, 242, 0.08);
  border-radius: 6px;
  font-family: var(--font-data); font-weight: 700; font-size: 0.78rem;
  color: rgba(244, 247, 242, 0.65);
  cursor: pointer; transition: all 0.12s ease;
  white-space: nowrap;
  text-align: center;
  height: 35px;
  display: inline-flex; align-items: center; justify-content: center;
}
.fr-sim-opt.sm { 
  flex: 1 1 calc(50% - 4px); 
  font-size: 0.7rem; 
  padding: 4px 6px; 
  height: 28px;
}
.fr-sim-opt:hover { border-color: rgba(240, 169, 58, 0.35); color: var(--white); }
.fr-sim-opt.is-on {
  background: var(--yellow); border-color: var(--yellow); color: var(--black);
}

.fr-sim-lineups { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fr-sim-lineup { display: flex; flex-direction: column; gap: 4px; }
.fr-sim-lineup .fr-sim-opt.sm { flex: 1; height: 30px; }
.fr-sim-team {
  font-family: var(--font-body); font-size: 0.72rem;
  color: rgba(244, 247, 242, 0.6);
}

.fr-sim-result {
  border-top: 1px solid rgba(244, 247, 242, 0.08);
}
.fr-sim-breakdown {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 140px; overflow-y: auto;
}
.fr-sim-breakdown::-webkit-scrollbar { width: 4px; }
.fr-sim-breakdown::-webkit-scrollbar-thumb { background: rgba(244,247,242,.15); border-radius: 3px; }

.fr-sim-empty {
  font-family: var(--font-body); font-size: 0.78rem;
  color: rgba(244, 247, 242, 0.35);
  text-align: center; padding: 0.75rem 0;
}
.fr-sim-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(244, 247, 242, 0.05);
  animation: fr-sim-in 0.25s ease;
}
.fr-sim-row span:first-child {
  font-family: var(--font-body); font-size: 0.78rem;
  color: rgba(244, 247, 242, 0.75);
}
.fr-sim-pts {
  font-family: var(--font-data); font-weight: 800; font-size: 0.82rem;
  flex-shrink: 0;
}
.fr-sim-pts.pos, .fr-rule-val.pos { color: var(--green); }
.fr-sim-pts.neg, .fr-rule-val.neg { color: var(--red); }

@keyframes fr-sim-in {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: translateX(0); }
}

.fr-sim-total {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1.5px solid rgba(240, 169, 58, 0.25);
}
.fr-sim-total-label {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 0.82rem; color: var(--white); text-transform: uppercase;
}
.fr-sim-total-value strong {
  font-family: var(--font-data); font-weight: 800; font-size: 1.3rem;
  color: var(--yellow);
}
.fr-sim-total-value strong.neg { color: var(--red); }
.fr-sim-total-value strong.pos { color: var(--green); }



.fr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.fr-modal {
  width: 100%;
  max-width: 420px;
  background: #16211c;
  border: 1px solid rgba(244, 247, 242, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.fr-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  color: rgba(244, 247, 242, 0.4);
  cursor: pointer;
  font-size: 28px;
  transition: color 0.15s ease;
}
.fr-modal-close:hover { color: var(--white); }

.fr-modal-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  margin: 0 0 0.5rem;
}

.fr-modal-sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(244, 247, 242, 0.6);
  margin-bottom: 1.5rem;
}

.fr-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.fr-live {
  border-top: 4px solid yellow;
  position: relative;
  padding: 8rem 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(240, 169, 58, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, var(--black) 0%, #0a0d0b 50%, #f0aa3a56 100%);
}

.fr-live::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0%, rgba(46, 204, 113, 0.03) 10%, transparent 40%);
  animation: fr-radar-spin 15s linear infinite;
  pointer-events: none;
}

@keyframes fr-radar-spin {
  100% { transform: rotate(360deg); }
}

.fr-live-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.fr-live-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--yellow);
  margin-bottom: 1.25rem;
}

.fr-live-title {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(3.5rem, 5vw, 4rem);
  color: var(--white);
  margin: 0 0 1.5rem;
}
.fr-live-title .accent {
  color: var(--green);
  text-shadow: 0 4px 30px rgba(46, 204, 113, 0.3);
}

.fr-countdown {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}
.fr-cd-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 80px;
  background: rgba(244, 247, 242, 0.03);
  border: 1px solid rgba(244, 247, 242, 0.1);
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.fr-cd-num {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.fr-cd-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(244, 247, 242, 0.5);
  letter-spacing: 1px;
  margin-top: 5px;
}

.fr-live-card {
  width: 100%;
  background: rgba(13, 21, 18, 0.6);
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}

.fr-live-desc{
  font-size: 1.25rem;
  font-family: var(--font-data);
  color: var(--white);
}

.fr-feed-item{
  font-family: var(--font-data);
  font-size: 1rem;
}

.fr-feed-item strong{
  color: var(--green);
}

.fr-live-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.2) 51%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.3;
}

.fr-live-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 247, 242, 0.08);
  position: relative;
  z-index: 2;
}

.fr-live-card-head > span:first-child {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fr-ready-led {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
  animation: fr-pulse-led 2s infinite;
}
@keyframes fr-pulse-led {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.fr-live-crow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(244, 247, 242, 0.02);
  border: 1px solid transparent;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}
.fr-live-crow:hover {
  background: rgba(46, 204, 113, 0.05);
  border-color: rgba(46, 204, 113, 0.2);
  transform: translateX(5px);
}

@keyframes fr-bot-enter {
  0% { opacity: 0; transform: translateX(-20px) scale(0.95); background: rgba(46, 204, 113, 0.2); }
  100% { opacity: 1; transform: translateX(0) scale(1); background: rgba(244, 247, 242, 0.02); }
}

.fr-crow-avatar {
  width: 38px; height: 38px; border-radius: 8px; 
  background: rgba(244, 247, 242, 0.1); 
  color: var(--white);
  border: 1px solid rgba(244, 247, 242, 0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.fr-crow-name {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}
.fr-crow-status {
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 1px;
}
.fr-crow-pts {
  font-family: var(--font-data);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(244, 247, 242, 0.4);
}

.fr-faq {
  background: var(--black);
  padding: 8rem 1.5rem;
background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(240, 169, 58, 0.05) 0%, transparent 60%),
    linear-gradient(0deg, var(--black) 0%, #0a0d0b 60%, #f0aa3a56 100%);
}
.fr-faq-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: stretch;
}

.fr-faq-left { position: sticky; top: 120px; }


.fr-faq-table {
  width: 100%;
  border-collapse: collapse;
}
.fr-faq-table td {
  padding: 0.6rem 0;
  font-family: var(--font-data);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(244, 247, 242, 0.75);
  border-bottom: 1px solid rgba(244, 247, 242, 0.06);
}
.fr-faq-table td:last-child {
  text-align: right;
  font-family: var(--font-data);
  font-weight: 900;
}
.fr-faq-table td.pos { color: var(--green); }
.fr-faq-table td.neg { color: var(--red); }
.fr-faq-table tr.total td {
  border-bottom: none;
  border-top: 1px solid rgba(240, 169, 58, 0.3);
  padding-top: 0.85rem;
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}
.fr-faq-table tr.total td.pos { color: var(--yellow); }

.fr-faq-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  gap: 12px;
}
.fr-faq-item {
  background: rgba(244, 247, 242, 0.03);
  border: 1px solid rgba(244, 247, 242, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.fr-faq-item.open {
  border-color: rgba(240, 169, 58, 0.3);
}
.fr-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  text-align: left;
}
.fr-faq-icon {
  flex-shrink: 0;
  font-family: var(--font-data);
  font-size: 1.5rem;
  color: var(--yellow);
  transition: transform 0.25s ease;
}
.fr-faq-item.open .fr-faq-icon {
  transform: rotate(45deg);
}
.fr-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.fr-faq-item.open .fr-faq-a {
  max-height: 300px;
}
.fr-faq-a p {
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(244, 247, 242, 0.7);
}

.fr-faq-left .fr-how-visual img {
  filter: grayscale(0.85) contrast(1.15) brightness(0.8) sepia(0.2);
}

.fr-tick {
  color: var(--green);
  font-size: 1rem;
  margin-left: 4px;
    vertical-align: -2px;
}
.fr-cross {
  color: var(--red);
  font-size: 1rem;
  vertical-align: -2px;
   margin-left: 4px;
}