/* =========================================
   FutRankeyz — Red / Black / White
   ========================================= */

:root {
  --red:        #e50914;
  --red-deep:   #b1060f;
  --red-bright: #ff2a36;

  --black:      #0a0a0a;
  --black-soft: #141414;
  --black-mid:  #1d1d1d;

  --white:      #ffffff;
  --offwhite:   #f6f6f8;
  --grey-300:   #dcdde1;
  --grey-500:   #8a8d93;
  --grey-700:   #3a3d44;

  --container:  1160px;
  --radius:     14px;
  --shadow-md:  0 10px 30px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.35);

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(229,9,20,.35);
}
.btn--red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(229,9,20,.5);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn--block { width: 100%; padding: 16px 28px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(10,10,10,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .3px;
}
.nav__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
  position: relative;
}
.nav__links a:hover { color: var(--red-bright); }
.nav__cta {
  padding: 10px 20px;
  background: var(--red);
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(229,9,20,.35);
}
.nav__cta:hover { background: var(--red-bright); color: var(--white) !important; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .2s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 90px;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/channels4_banner.jpg');
  background-size: cover;
  background-position: center;
  z-index: -3;
  filter: saturate(1.05) contrast(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 600px at 20% 20%, rgba(229,9,20,.25), transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.82) 75%, rgba(10,10,10,.95) 100%);
}
.hero__chart {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  width: 100%;
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  text-align: center;
  z-index: 1;
}
.hero__avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--red);
  margin: 0 auto 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 6px rgba(229,9,20,.15);
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--red-bright);
  margin: 0 0 14px;
  font-weight: 700;
}
.hero__title {
  font-size: clamp(52px, 10vw, 120px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0,0,0,.5);
}
.hero__tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  color: rgba(255,255,255,.82);
  margin: 0 auto 28px;
  max-width: 640px;
  font-weight: 400;
}
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,10,10,.55);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255,255,255,.9);
  margin-bottom: 32px;
}
.hero__live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 10px var(--red-bright);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .35; transform: scale(.75); }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
  position: relative;
}
.section--alt  { background: var(--offwhite); }
.section--dark {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 12px;
  color: var(--red);
  font-weight: 700;
  margin: 0 0 14px;
}
.section__eyebrow--red { color: var(--red-bright); }
.section__title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 24px;
  max-width: 780px;
}
.section__title--light { color: var(--white); }
.section__sub {
  margin: 0 0 50px;
  color: var(--grey-500);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.section--dark .section__sub { color: rgba(255,255,255,.55); }
.section__sub a { color: var(--red); font-weight: 600; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(229,9,20,.15);
  color: var(--red-bright);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.live-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 8px var(--red-bright);
  animation: pulse 1.6s ease-in-out infinite;
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}
.about__text p {
  margin: 0 0 18px;
  color: var(--grey-700);
  font-size: 17px;
}
.about__text strong { color: var(--black); }
.about__sign { margin-top: 28px !important; color: var(--black) !important; font-weight: 500; }
.about__sign span { color: var(--grey-500); font-size: 15px; font-weight: 400; }

.about__card {
  background: var(--black);
  color: var(--white);
  padding: 38px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229,9,20,.25);
}
.about__card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: var(--red);
  opacity: .18;
  border-radius: 50%;
  transform: translate(40%, -40%);
  filter: blur(4px);
}
.about__card h3 {
  font-size: 20px;
  margin-bottom: 22px;
  color: var(--red-bright);
}
.about__card ul { list-style: none; padding: 0; margin: 0; }
.about__card li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 15px;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: 12px;
}
.about__card li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.about__card li:last-child { border-bottom: 0; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.stat-card {
  background: var(--black-soft);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 38px 24px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: scaleX(.3);
  transition: transform .3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229,9,20,.5);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
}
.stat-card:hover::before { transform: scaleX(1); }
.stat-card__value {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}
.stat-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}

/* ---------- Content Types ---------- */
.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 16px;
}
.content-card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.content-card__icon {
  width: 56px; height: 56px;
  background: var(--black);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  position: relative;
}
.content-card__icon::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: -3px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.content-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--black);
}
.content-card p {
  margin: 0;
  color: var(--grey-500);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- Videos ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--grey-300);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--black);
  overflow: hidden;
}
.video-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.video-card:hover .video-card__thumb img { transform: scale(1.04); }
.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55));
  color: var(--white);
  opacity: 0;
  transition: opacity .25s ease;
}
.video-card:hover .video-card__play { opacity: 1; }
.video-card__play-btn {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.video-card__play-btn svg { fill: var(--white); margin-left: 3px; }
.video-card__body {
  padding: 18px 18px 22px;
}
.video-card__title {
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.video-card__meta {
  font-size: 12.5px;
  color: var(--grey-500);
  letter-spacing: .2px;
}
.video-card--skeleton {
  background: var(--white);
  pointer-events: none;
}
.video-card--skeleton .video-card__thumb,
.video-card--skeleton::after {
  background: linear-gradient(90deg, #ececec 0%, #f6f6f6 50%, #ececec 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.video-card--skeleton::after {
  content: "";
  display: block;
  height: 52px;
  margin: 18px;
  border-radius: 6px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.video-grid__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--grey-500);
  font-size: 15px;
}

/* ---------- Channel embed ---------- */
.channel-embed {
  margin-top: 60px;
}
.channel-embed__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--black);
}
.channel-embed__wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--black);
  box-shadow: var(--shadow-md);
}
.channel-embed__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Ambition chart background ---------- */
.ambition__chart {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
}
#future .container { position: relative; z-index: 1; }

/* ---------- Future / ambition grid ---------- */
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.future-card {
  padding: 28px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--red);
  border-radius: 10px;
  transition: transform .25s ease, background .25s ease;
  backdrop-filter: blur(4px);
}
.future-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,.06);
}
.future-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--white);
}
.future-card p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 14.5px;
}
.future__closing {
  margin-top: 44px;
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,.75);
  max-width: 700px;
}

/* ---------- Contact Form ---------- */
.contact-form {
  max-width: 680px;
  display: grid;
  gap: 20px;
  margin-top: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--grey-700);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15.5px;
  color: var(--black);
  padding: 14px 16px;
  border: 1.5px solid var(--grey-300);
  border-radius: 10px;
  background: var(--white);
  text-transform: none;
  letter-spacing: normal;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(229,9,20,.15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-status {
  margin: 0;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}
.form-status.success { color: #1a7f4d; }
.form-status.error   { color: var(--red); }

.contact-note {
  margin-top: 28px;
  color: var(--grey-500);
  font-size: 15px;
  max-width: 680px;
}
.contact-note strong { color: var(--black); }

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
  text-align: center;
  border-top: 3px solid var(--red);
}
.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  text-align: left;
}
.footer__avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}
.footer__name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .5px;
}
.footer__tag {
  margin: 2px 0 0;
  font-size: 13.5px;
  color: var(--red-bright);
}
.footer__links {
  margin: 24px 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 14.5px;
}
.footer__links a { color: rgba(255,255,255,.8); transition: color .2s ease; }
.footer__links a:hover { color: var(--red-bright); }
.footer__links span { color: rgba(255,255,255,.25); }
.footer__line {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255,255,255,.55);
  font-style: italic;
}
.footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open {
  display: flex;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 40px;
  color: var(--white);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 50%;
  transition: background .2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,.1); }
.lightbox__frame {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lightbox__frame iframe {
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Ambition chart animation ---------- */
@keyframes barRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.ambition__bars rect,
.hero__bars rect {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: barRise 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.ambition__line {
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: drawLine 2.4s ease-out .4s forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .stats, .content-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid, .future-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    gap: 0;
    padding: 20px 24px 30px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav__links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    width: 100%;
  }
  .nav__cta { margin-top: 12px; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
  .future-grid { grid-template-columns: 1fr; }
  .hero__avatar { width: 90px; height: 90px; }
}

@media (max-width: 520px) {
  .stats, .content-grid, .video-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .container { padding: 0 20px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
