:root {
  --color-primary-red: #c41822;
  --color-dark-red: #cc0000;
  --color-white: #ffffff;
  --color-black: #050505;
  --color-slate: #111827;
  --color-soft: #f5f5f5;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 12px;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  font-family: "Montserrat", "Inter", sans-serif;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  color: #333333;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(204,0,0,.05), transparent 26%),
              radial-gradient(circle at bottom right, rgba(204,0,0,.04), transparent 20%);
  pointer-events: none;
  z-index: 0;
}

main, header, footer, section, .login-card {
  position: relative;
  z-index: 1;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-layer .orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: .22;
  mix-blend-mode: screen;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.site-footer {
  background: linear-gradient(135deg, #ffffff 0%, #fff6f6 100%);
  color: #333333;
  padding: 3rem 1.25rem 1.5rem;
  border-top: 2px solid #cc0000;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at left, rgba(204,0,0,.07), transparent 30%), radial-gradient(circle at right, rgba(204,0,0,.04), transparent 24%);
  pointer-events: none;
}

.footer-shell {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  position: relative;
  z-index: 1;
}

.footer-brand h4,
.footer-links h4 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .85rem;
  color: #cc0000;
}

.footer-brand p,
.footer-links a,
.footer-links li,
.footer-bottom {
  font-size: .95rem;
  color: #333333;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem;
}

.footer-links a {
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ff8c94;
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  color: #fff;
  transition: transform .25s ease, background .25s ease;
}

.social-links a:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(196,24,34,.7);
}

.footer-bottom {
  max-width: 1180px;
  margin: 1.6rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.09);
  text-align: center;
}

.auth-link,
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-primary-red), #ff3342);
  color: white;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(196,24,34,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.auth-link:hover,
.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(196,24,34,.35);
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: .95rem;
  margin-left: .85rem;
}

.auth-pill button {
  background: transparent;
  border: 0;
  color: #ffb3b8;
  cursor: pointer;
  font-weight: 700;
}

.video-container {
    display: flex;
    flex-wrap: wrap;
    background-color: #1a1a1a;
    color: white;
}

.video-player {
    flex: 3;
    padding: 20px;
}

.video-player iframe {
    width: 100%;
    height: 500px;
    border-radius: 10px;
}

.video-playlist {
    flex: 1;
    padding: 20px;
    background-color: #2c2c2c;
    border-left: 1px solid #444;
}

.video-playlist h3 {
    margin-top: 0;
}

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

.video-playlist li a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #ccc;
    border-bottom: 1px solid #333;
}

.video-playlist li a:hover,
.video-playlist li a.active {
    background-color: #444;
    color: white;
}


@media (max-width: 900px) {
  .footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
    .video-container {
        flex-direction: column;
    }

    .video-player,
    .video-playlist {
        flex: 1;
        border-left: none;
    }
}

@media (max-width: 600px) {
  .footer-shell {
    grid-template-columns: 1fr;
  }
}
