:root{
  --navy: #071f4b;
  --blue: #0878ff;
  --ink: #102653;
  --muted: #647596;
  --line: #dfe7f2;
  --soft: #f5f9ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: white; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92%); margin: auto; }

header { background: #fff; border-bottom: 1px solid #eef2f7; position: sticky; top: 0; z-index: 100; }
.nav { height: 74px; display: flex; align-items: center; gap: 20px; }
.logo { font-size: 27px; font-weight: 800; letter-spacing: -1.4px; margin-right: auto; }
.logo span { color: var(--blue); }
nav { display: flex; gap: 18px; font-size: 13.5px; align-items: center; font-weight: 500; }
nav a:hover { color: var(--blue); }
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 12px 22px; border-radius: 6px; font-weight: 700; font-size: 14px; transition: opacity .2s; cursor: pointer; }
.btn:hover { opacity: 0.9; }

.hero { 
  background: linear-gradient(110deg, rgba(247, 251, 255, 0.75) 0%, rgba(255, 255, 255, 0.75) 55%, rgba(231, 243, 255, 0.75) 100%), 
              url('../images/hero_index.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: 'More of what you love';
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 32px;
  color: var(--blue);
  opacity: 0.9;
  transform: rotate(-15deg);
  font-weight: 400;
  font-style: italic;
}
.hero::before {
  content: '';
  position: absolute;
  bottom: 75px;
  right: 50px;
  width: 180px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: rotate(-15deg);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: flex-start; position: relative; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; color: #526b98; font-weight: 700; }
.hero h1 { font-size: 58px; line-height: 1; letter-spacing: -2.8px; margin: 12px 0 20px; }
.hero h1 span { color: var(--blue); }
.hero p { font-size: 18px; line-height: 1.55; max-width: 580px; color: var(--muted); }

.proof { display: flex; gap: 28px; margin-top: 28px; font-size: 13.5px; color: var(--muted); }
.proof div { display: flex; flex-direction: column; gap: 4px; }
.proof b { font-size: 16px; color: var(--ink); }

section { padding: 60px 0; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; margin-bottom: 30px; }
.section-head div h2 { font-size: 38px; letter-spacing: -1.5px; margin: 6px 0 0; }
.section-head p { max-width: 480px; color: var(--muted); line-height: 1.5; margin: 0; font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }

/* Featured cards with images and icons */
.card-featured {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}
.card-featured .card-img {
  height: 120px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px 12px 0 0;
}
.card-icon {
  width: 44px;
  height: 44px;
  background: white;
  border: 3px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  position: absolute;
  top: 90px;
  left: 10px;
  z-index: 10;
  flex-shrink: 0;
}
.card-icon img {
  width: 20px;
  height: 20px;
  color: var(--blue);
}
.card-icon svg {
  width: 20px;
  height: 20px;
}
.card-featured .card-body {
  padding: 20px 12px 12px;
  text-align: left;
}
.card-featured h3 {
  font-size: 9px;
  margin: 0 0 3px;
}
.card-featured p {
  color: var(--muted);
  line-height: 1.2;
  font-size: 9px;
  margin: 0 0 8px;
  min-height: auto;
}
.card-featured .link {
  font-size: 12px;
}

/* Regular cards (without images and icons) */
.card-img {
  height: 160px;
  background: linear-gradient(135deg, #0a2a60, #178dff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  border-radius: 12px 12px 0 0;
}
.card-body { padding: 22px; }
.card h3 { font-size: 16px; margin: 0 0 8px; }
.card p { color: var(--muted); line-height: 1.45; font-size: 12px; margin: 0 0 10px; min-height: 40px; }
.link { color: var(--blue); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; gap: 4px; }

.band { background: linear-gradient(110deg, #061b40, #073e7c); color: #fff; position: relative; overflow: hidden; }

/* Index page global audience band section */
.band-global {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_index.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* Index page CTA band section */
.band-cta {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_index.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* Sport page CTA band section */
.band-cta.band-cta-sport {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_sport.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* Coupons page CTA band section */
.band-cta.band-cta-coupons {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_coupons.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* Gaming page CTA band section */
.band-cta.band-cta-gaming {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_gaming.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* Entertainment page CTA band section */
.band-cta.band-cta-entertainment {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_entertainment.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* Education page CTA band section */
.band-cta.band-cta-education {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_education.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}

/* AI Tools page CTA band section */
.band-cta.band-cta-aitools {
  background: linear-gradient(110deg, rgba(6, 27, 64, 0.75), rgba(7, 62, 124, 0.75)), 
              url('../images/hero_aitools.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.band .script-text {
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 28px;
  color: #fff;
  opacity: 0.9;
  transform: rotate(-15deg);
  font-weight: 400;
  font-style: italic;
}
.band:has(.script-text)::before {
  content: '';
  position: absolute;
  bottom: 75px;
  right: 55px;
  width: 250px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(-15deg);
}
.band-global .script-text {
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 28px;
  color: #fff;
  opacity: 0.9;
  transform: rotate(-15deg);
  font-weight: 400;
  font-style: italic;
}
.band-global::before {
  content: '';
  position: absolute;
  bottom: 75px;
  right: 55px;
  width: 250px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(-15deg);
}
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band h2 { font-size: 42px; margin: 8px 0; letter-spacing: -1.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat {
  padding: 0 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.stat:last-child { border-right: none; }
.stat b { font-size: 28px; display: block; letter-spacing: -1px; font-weight: 700; line-height: 1; }
.stat span { opacity: 0.75; font-size: 12px; margin-top: 6px; display: block; text-align: left; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 30px; }
.feature { 
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0;
  border: none;
}
.feature-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  background: #e8f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 32px;
  flex-shrink: 0;
}
.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}
.feature-content {
  flex: 1;
}
.feature-content b { 
  display: block; 
  margin-bottom: 6px; 
  font-size: 16px;
  color: var(--ink);
}
.feature-content p { 
  color: var(--muted); 
  font-size: 13.5px; 
  line-height: 1.45; 
  margin: 0; 
}

footer { border-top: 1px solid var(--line); padding: 40px 0; color: #5f7193; background: #fff; }
.foot-top { display: flex; align-items: center; gap: 30px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.foot-top .logo { margin-right: auto; }
.foot-links { display: flex; gap: 20px; font-size: 13px; font-weight: 500; }
.foot-links a:hover { color: var(--blue); }

.legal { display: grid; grid-template-columns: 1.3fr 0.7fr 0.8fr; gap: 30px; padding-top: 24px; font-size: 13px; line-height: 1.6; }
.legal a { color: var(--blue); }

/* Subpages specific styles */
.subhero { 
  background: linear-gradient(115deg, #071e49, #07599e); 
  color: white; 
  padding: 40px 0;
  position: relative;
  overflow: hidden;
  min-height: 450px;
}

/* Individual subpage hero backgrounds */
.subhero-coupons {
  background: linear-gradient(115deg, rgba(7, 30, 73, 0.7), rgba(7, 89, 158, 0.7)), 
              url('../images/hero_coupons.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.subhero-sport {
  background: linear-gradient(115deg, rgba(7, 30, 73, 0.7), rgba(7, 89, 158, 0.7)), 
              url('../images/hero_sport.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.subhero-gaming {
  background: linear-gradient(115deg, rgba(7, 30, 73, 0.7), rgba(7, 89, 158, 0.7)), 
              url('../images/hero_gaming.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.subhero-entertainment {
  background: linear-gradient(115deg, rgba(7, 30, 73, 0.7), rgba(7, 89, 158, 0.7)), 
              url('../images/hero_entertainment.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.subhero-education {
  background: linear-gradient(115deg, rgba(7, 30, 73, 0.7), rgba(7, 89, 158, 0.7)), 
              url('../images/hero_education.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.subhero-aitools {
  background: linear-gradient(115deg, rgba(7, 30, 73, 0.7), rgba(7, 89, 158, 0.7)), 
              url('../images/hero_aitools.png');
  background-size: cover;
  background-position: center right;
  background-attachment: fixed;
}
.subhero .script-text {
  position: absolute;
  bottom: 40px;
  right: 60px;
  font-family: 'Brush Script MT', cursive, sans-serif;
  font-size: 28px;
  color: #fff;
  opacity: 0.9;
  transform: rotate(-15deg);
  font-weight: 400;
  font-style: italic;
}
.subhero::before {
  content: '';
  position: absolute;
  bottom: 70px;
  right: 55px;
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: rotate(-15deg);
}
.subhero-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 40px; 
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.subhero h1 { font-size: 52px; line-height: 1.05; letter-spacing: -2.2px; margin: 10px 0 16px; }
.subhero p { font-size: 17px; line-height: 1.55; max-width: 580px; color: #d8e8ff; margin-bottom: 24px; }

.sub-features-section {
  background: #fff;
  padding: 40px 0;
}
.sub-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.sub-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  background: rgba(10, 42, 96, 0.06);
  padding: 8px 14px;
  border-radius: 20px;
}
.sub-feat-item svg { 
  width: 18px; 
  height: 18px; 
  color: var(--blue);
  stroke: currentColor;
  flex-shrink: 0;
}
.sub-feat-item span { color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 24px; }
.tile {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  transition: all .2s;
}
.tile:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(8,120,255,0.08); }
.tile-icon { font-size: 24px; margin-bottom: 12px; display: block; }
.tile b { display: block; margin-bottom: 6px; font-size: 16px; color: var(--ink); }
.tile span { color: var(--muted); font-size: 13px; line-height: 1.4; display: block; }

/* Brand/Logo tiles - used for featured brands section */
.tiles.brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 30px; }
.tile.brand {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  transition: all .3s;
  cursor: pointer;
}
.tile.brand:hover { 
  border-color: var(--blue);
  transform: translateY(-5px); 
  box-shadow: 0 12px 30px rgba(8,120,255,0.15);
}
.tile.brand > div {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
}
.tile.brand .tile-icon {
  font-size: 40px;
  margin-bottom: 12px;
}
/* Brand tiles with background images */
.tile.brand.brand-featured {
  background: transparent;
  border: none;
  padding: 0;
  min-height: auto;
  position: relative;
  overflow: visible;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}
.tile.brand.brand-featured:hover {
  box-shadow: none;
  transform: none;
}
.tile-bg {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tile-bg.logo {
  background-size: contain;
  background-repeat: no-repeat;
}
.tile-content {
  position: relative;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  text-align: left;
  z-index: auto;
  width: 100%;
}
.tile.brand.brand-featured .brand-name {
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}
.tile.brand.brand-featured .brand-desc {
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.brand-name { 
  font-weight: 700; 
  font-size: 15px; 
  margin-top: 8px;
  color: var(--ink);
}
.brand-desc { 
  font-size: 12px; 
  color: var(--muted);
  margin-top: 4px;
}

.view-all { color: var(--blue); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; }
.view-all:hover { text-decoration: underline; }

@media(max-width: 950px) {
  nav { display: none; }
  .hero-grid, .band-grid, .subhero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero h1, .subhero h1 { font-size: 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: 1fr 1fr; }
  .tiles, .tiles.brands { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 15px; border-right: 1px solid rgba(255, 255, 255, 0.3); align-items: flex-start; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.3); }
  .stat b { font-size: 24px; }
  .legal { grid-template-columns: 1fr; gap: 16px; }
  .foot-top { align-items: flex-start; flex-direction: column; gap: 16px; }
  .foot-top .logo { margin: 0; }
  .proof { flex-wrap: wrap; gap: 20px; }
  .hero::after, .subhero::after, .band-global .script-text, .band .script-text { font-size: 24px; bottom: 30px; right: 40px; }
  .hero::before, .subhero::before, .band-global::before, .band:has(.script-text)::before { width: 120px; }
}

@media(max-width: 560px) {
  .cards, .features, .tiles, .tiles.brands { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { padding: 12px 0; border: none; border-bottom: 1px solid rgba(255, 255, 255, 0.3); align-items: flex-start; }
  .stat:last-child { border-bottom: none; }
  .stat b { font-size: 22px; }
  .hero, .subhero { padding: 45px 0; }
  .hero h1, .subhero h1 { font-size: 34px; }
  .band h2 { font-size: 32px; }
  .section-head { display: block; }
  .section-head div h2 { font-size: 30px; }
  .section-head p { margin-top: 10px; }
  .hero::after, .subhero::after, .band-global .script-text, .band .script-text { display: none; }
  .hero::before, .subhero::before, .band-global::before, .band:has(.script-text)::before { display: none; }
}
