/* =========================
   GLOBAL
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #050505;
  color: #eaeaea;
}

/* =========================
   KEYFRAMES
   ========================= */
@keyframes gradient-move-reverse {
  from { background-position: 200% 50%; }
  to   { background-position: 0% 50%; }
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75%      { opacity: 0; }
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  background: linear-gradient(90deg, #0a0a0a, #1a1a1a, #0a0a0a);
  padding: 5px 20px;
  color: #fff;
  position: relative;
  width: 100%;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(270deg, #c1121f, #f4c430, #c1121f);
  background-size: 200% 100%;
  background-position: 200% 50%;
  animation: gradient-move-reverse 3s linear infinite;
  box-shadow: 0 0 10px rgba(244, 196, 48, 0.35);
}

.nav-container {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

/* Logo (works as <a class="logo">) */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: auto;

  /* prevent purple/underline link look */
  text-decoration: none;
  color: #fff;
}
.logo:visited { color: #fff; }
.logo:hover { color: #fff; }

.logo img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.logo:hover img {
  transform: translateY(-3px) scale(1.07);
  filter: drop-shadow(0 0 6px rgba(244, 196, 48, 0.6))
          drop-shadow(0 6px 14px rgba(0, 0, 0, 0.7));
}
.logo:hover span {
  filter: drop-shadow(0 0 6px rgba(244, 196, 48, 0.45));
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-links li a {
  text-decoration: none;
  color: #f4f4f4;
  font-size: 1rem;
  font-weight: 600;
  background-size: 200% 100%;
  background-position: 200% 50%;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.nav-links li a:hover,
.nav-links li a.is-active {
  background-image: linear-gradient(270deg, #c1121f, #f4c430, #c1121f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-move-reverse 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(244, 196, 48, 0.6));
  opacity: 0.95;
}

/* =========================
   SEARCH (THEMED)
   ========================= */
.search-bar { list-style: none; }

.search-box input {
  width: 190px;
  padding: 8px 12px;

  border-radius: 10px;
  border: 1px solid rgba(244,196,48,0.18);

  background: rgba(10,10,10,0.65);
  color: #f4c430;
  caret-color: #f4c430;

  outline: none;

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.35),
    0 0 10px rgba(244,196,48,0.10);

  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-box input::placeholder {
  color: rgba(244,244,244,0.55);
}

.search-box input:focus {
  border-color: rgba(244,196,48,0.55);
  box-shadow:
    0 0 10px rgba(244,196,48,0.35),
    0 0 20px rgba(244,196,48,0.18),
    inset 0 0 0 1px rgba(0,0,0,0.35);
}

.search-box input:not(:placeholder-shown) {
  text-shadow:
    0 0 8px rgba(244,196,48,0.35),
    0 2px 8px rgba(0,0,0,0.75);
}

/* =========================
   DISCORD ICON
   ========================= */
.discord-icon {
  width: 46px;
  height: 46px;
  margin-left: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.discord-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;

  transition: transform 0.25s ease, filter 0.25s ease;
  filter:
    drop-shadow(0 0 6px rgba(244, 196, 48, 0.55))
    drop-shadow(0 0 12px rgba(193, 18, 31, 0.35));
}

.discord-icon:hover img {
  transform: translateY(-2px) scale(1.08);
  filter:
    drop-shadow(0 0 10px rgba(244, 196, 48, 0.85))
    drop-shadow(0 0 18px rgba(193, 18, 31, 0.55));
}

/* =========================
   HAMBURGER / MOBILE NAV
   ========================= */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: 14px;
}

.menu-icon span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  display: block;
}

#menu-toggle { display: none; }

@media (max-width: 768px) {
  .menu-icon { display: flex; }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    transform: none;

    background: #1e293b;
    flex-direction: column;
    align-items: center;

    display: none;
    padding: 20px 0;
    gap: 14px;
  }

  /* IMPORTANT: this works with your HTML structure */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .search-box input {
    width: 100%;
    max-width: 240px;
  }

  .discord-icon {
    margin-left: auto;
    margin-right: 6px;
  }
}

/* =========================
   BANNER
   ========================= */
.banner {
  width: 100%;
  height: 40vh;
  min-height: 400px;
  background: url("banner.png");
  background-size: cover;
  background-position: 50% 70%;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  position: relative;
  overflow: hidden;
}

/* overlay */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* fade bottom into page */
.banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.30) 45%,
    rgba(0,0,0,0.75) 80%,
    #050505 100%
  );
}

.banner-content {
  color: white;
  max-width: 100%;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.banner-content .js-typed {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;

  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(244, 196, 48, 0.45);
}

.js-typed::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
}

.banner-content p {
  margin-top: 16px;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f4f4f4;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.banner-content p::before {
  content: "";
  display: block;
  width: 130px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 2px;
  background-image: linear-gradient(270deg, #c1121f, #f4c430, #c1121f);
  background-size: 200% 100%;
  background-position: 200% 50%;
  animation: gradient-move-reverse 2.5s linear infinite;
}

/* =========================
   MAIN
   ========================= */
main {
  padding: 40px 18px;
}

/* =========================
   FULL-WIDTH DIVIDER
   ========================= */
.section-divider {
  width: 100%;
  height: 2px;
  margin: 28px 0;

  background-image: linear-gradient(270deg, #c1121f, #f4c430, #c1121f);
  background-size: 200% 100%;
  background-position: 200% 50%;
  animation: gradient-move-reverse 3s linear infinite;

  box-shadow:
    0 0 8px rgba(244, 196, 48, 0.35),
    0 0 16px rgba(193, 18, 31, 0.25);
}

/* =========================
   GLOW UTILITIES
   ========================= */
.glow-text {
  background-image: linear-gradient(270deg, #c1121f, #f4c430, #c1121f);
  background-size: 200% 100%;
  background-position: 200% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-move-reverse 2.2s linear infinite;
  filter: drop-shadow(0 0 12px rgba(244, 196, 48, 0.55));
}

.glow-soft {
  text-shadow:
    0 0 10px rgba(244, 196, 48, 0.18),
    0 3px 12px rgba(0, 0, 0, 0.25);
}

/* =========================
   WHO WE ARE
   ========================= */
.who-we-are {
  padding: 30px 0 50px;
  position: relative;
}

/* Link fade (banner -> who) */
.who-we-are::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -60px;
  width: min(1100px, 90vw);
  height: 110px;
  pointer-events: none;

  background: radial-gradient(
    ellipse at center,
    rgba(244,196,48,0.20) 0%,
    rgba(244,196,48,0.10) 40%,
    rgba(244,196,48,0.04) 65%,
    rgba(0,0,0,0) 100%
  );
  filter: blur(10px);
  opacity: 0.9;
}

.who-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;

  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(244, 196, 48, 0.12);
  border-radius: 12px;
  padding: 64px 24px;

  box-shadow:
    0 0 26px rgba(244, 196, 48, 0.18),
    0 0 70px rgba(244, 196, 48, 0.10),
    0 22px 70px rgba(0, 0, 0, 0.60);
}

.who-inner h2 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 20px;
}

.who-inner p {
  font-size: 16px;
  line-height: 1.8;
  color: #e9e9e9;
  margin: 0 auto 18px;
  max-width: 900px;
}

/* =========================
   CAROUSEL (fade + glow + captions)
   ========================= */
.carousel-section {
  padding: 0 0 30px;
}

.carousel {
  --glow: rgba(244,196,48,0.55);
  max-width: 1100px;
  margin: 0 auto 10px;
  position: relative;
}

@keyframes carouselGlow {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(0,0,0,0.6),
      0 0 36px var(--glow);
  }
  50% {
    box-shadow:
      0 0 24px rgba(0,0,0,0.6),
      0 0 52px var(--glow);
  }
}

.carousel-track {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  height: 420px;

  border: 1px solid rgba(244,196,48,0.12);
  animation: carouselGlow 3.2s ease-in-out infinite;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
  z-index: 0;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;

  /* GPU-safe fade */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* arrows */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(244,196,48,0.18);
  cursor: pointer;
  font-size: 22px;

  background: rgba(10,10,10,0.70);
  color: #f4f4f4;

  backdrop-filter: blur(4px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.92;
  z-index: 10;
}

.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 0 16px var(--glow);
  opacity: 1;
}

/* dots */
.carousel-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 14px 0 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(244,196,48,0.18);
  cursor: pointer;
  background: rgba(244,244,244,0.25);
  transition: transform 0.2s ease;
}

.dot.is-active {
  background: #f4c430;
  box-shadow: 0 0 10px var(--glow);
  transform: scale(1.15);
}

/* captions */
.carousel-caption {
  position: absolute;
  left: 30px;
  bottom: 26px;
  max-width: 60%;

  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.carousel-slide.is-active .carousel-caption {
  opacity: 1;
  transform: translateY(0);
}

.carousel-caption h3 {
  margin: 0 0 6px;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f4f4f4;
  text-shadow:
    0 0 12px var(--glow),
    0 3px 10px rgba(0,0,0,0.85);
}

.carousel-caption p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #e2e2e2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}

@media (max-width: 800px) {
  .carousel-track { height: 280px; }
  .carousel-slide img { height: 280px; }
}

@media (max-width: 768px) {
  .carousel-caption {
    left: 18px;
    bottom: 18px;
    max-width: 90%;
  }
  .carousel-caption h3 { font-size: 18px; }
  .carousel-caption p { font-size: 13px; }
}

/* =========================
   OPERATION TIMES (PURE TEXT GLOW)
   ========================= */
.operation-times-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 40px 18px;
}

.op-title {
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 800;
  color: #f4c430;

  text-shadow:
    0 0 12px rgba(244,196,48,0.75),
    0 0 24px rgba(244,196,48,0.35),
    0 2px 10px rgba(0,0,0,0.85);
}

.op-text {
  margin: 6px 0;
  font-size: 16px;
  color: #ffffff;

  text-shadow:
    0 0 8px rgba(244,196,48,0.45),
    0 0 16px rgba(244,196,48,0.25),
    0 2px 8px rgba(0,0,0,0.85);
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: #070707;
  border-top: 1px solid rgba(244, 196, 48, 0.12);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: linear-gradient(270deg, #c1121f, #f4c430, #c1121f);
  background-size: 200% 100%;
  background-position: 200% 50%;
  animation: gradient-move-reverse 3s linear infinite;
  box-shadow: 0 0 10px rgba(244, 196, 48, 0.25);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px 18px;

  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 42px;
  align-items: start;
}

.footer-col h3 {
  margin: 0 0 10px;
  color: #f4f4f4;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-col a {
  display: block;
  margin: 6px 0;
  color: #f4c430;
  text-decoration: none;
  font-weight: 700;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.footer-col a:hover {
  filter: drop-shadow(0 0 6px rgba(244,196,48,0.55));
  opacity: 0.95;
}

.footer-subtitle {
  margin: 0 0 10px;
  color: #d8d8d8;
  font-size: 14px;
}

.footer-text,
.footer-join,
.footer-est {
  color: #dcdcdc;
  font-size: 14px;
  line-height: 1.6;
  margin: 8px 0;
}

.footer-join a {
  color: #f4c430;
  font-weight: 800;
}

.footer-est {
  font-style: italic;
  color: rgba(244, 196, 48, 0.8);
}

.footer-disclaimer {
  text-align: center;
  padding: 8px 18px 10px;
  background: rgba(244, 196, 48, 0.06);
  border-top: 1px solid rgba(244, 196, 48, 0.10);
  margin: 0;
}

.footer-disclaimer p {
  margin: 4px 0;
  font-size: 13px;
  color: #d6d6d6;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =========================
   SQUADS PAGE
   ========================= */
.banner-title { margin: 0; }

.squads-intro {
  padding: 34px 0 10px;
}

.squads-intro-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;

  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(244, 196, 48, 0.12);
  border-radius: 12px;
  padding: 44px 22px;

  box-shadow:
    0 0 20px rgba(244, 196, 48, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.55);
}

.squads-intro-inner h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 14px;
}

.squads-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 0;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .squads-grid { grid-template-columns: 1fr; }
}

.squad-card {
  position: relative;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(244, 196, 48, 0.12);
  padding: 22px 20px;

  box-shadow:
    0 0 18px rgba(244, 196, 48, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.55);

  overflow: hidden;
}

.squad-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  opacity: 0.28;
  filter: blur(18px);
  background: radial-gradient(circle at 25% 15%, rgba(244,196,48,0.55), rgba(0,0,0,0) 55%);
}

.squad-card[data-glow="red"]::before {
  background: radial-gradient(circle at 25% 15%, rgba(193,18,31,0.55), rgba(0,0,0,0) 55%);
}

.squad-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f4f4f4;
}

.squad-role {
  margin: 0 0 12px;
  color: rgba(244,196,48,0.85);
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(244,196,48,0.14);
}

.squad-desc {
  margin: 0 0 14px;
  line-height: 1.65;
  color: #e7e7e7;
  font-size: 14px;
}

.squad-spec {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.squad-spec li {
  position: relative;
  padding-left: 18px;
  color: #eaeaea;
  font-size: 14px;
  line-height: 1.5;
}

.squad-spec li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f4c430;
  text-shadow: 0 0 10px rgba(244,196,48,0.25);
}
/* =========================
   SCROLL REVEAL ANIMATION (SAFE)
   ========================= */
.reveal {
  opacity: 1;                 /* IMPORTANT: default visible */
  transform: none;
  filter: none;
}

/* Only hide when JS is working */
.reveal.is-ready {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(2px);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

.reveal.is-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
/* =========================
   SCHEDULE PAGE
   ========================= */

.banner-schedule .banner-title { margin: 0; }

/* wrapper similar to squads intro */
.schedule-wrap {
  padding: 26px 0 18px;
}

.schedule-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;

  background: rgba(10, 10, 10, 0.92);
  border: 1px solid rgba(244, 196, 48, 0.12);
  border-radius: 12px;
  padding: 44px 22px;

  box-shadow:
    0 0 20px rgba(244, 196, 48, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.55);
}

.schedule-inner h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 16px;
}

.schedule-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.schedule-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .schedule-grid,
  .schedule-grid.two-col {
    grid-template-columns: 1fr;
  }
}

/* cards */
.schedule-card {
  position: relative;
  border-radius: 14px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(244, 196, 48, 0.12);
  padding: 22px 20px;
  overflow: hidden;

  box-shadow:
    0 0 18px rgba(244, 196, 48, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.55);
}

/* corner glow */
.schedule-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  opacity: 0.26;
  filter: blur(18px);
  background: radial-gradient(circle at 25% 15%, rgba(244,196,48,0.55), rgba(0,0,0,0) 55%);
}

.schedule-card[data-glow="red"]::before {
  background: radial-gradient(circle at 25% 15%, rgba(193,18,31,0.55), rgba(0,0,0,0) 55%);
}

.schedule-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #f4f4f4;
  letter-spacing: 0.5px;
}

.schedule-sub {
  margin: 0 0 12px;
  color: rgba(244,196,48,0.85);
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(244,196,48,0.14);
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.schedule-list li {
  position: relative;
  padding-left: 18px;
  color: #eaeaea;
  font-size: 14px;
  line-height: 1.55;
}

.schedule-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #f4c430;
  text-shadow: 0 0 10px rgba(244,196,48,0.25);
}

.schedule-par {
  margin: 10px 0 0;
  color: #e7e7e7;
  font-size: 14px;
  line-height: 1.6;
}

.schedule-link {
  color: #f4c430;
  font-weight: 800;
  text-decoration: none;
}

.schedule-link:hover {
  filter: drop-shadow(0 0 6px rgba(244,196,48,0.55));
}
/* 3-column layout so Friday sits between Sat & Sun */
.schedule-grid.schedule-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Stack cleanly on smaller screens */
@media (max-width: 1000px) {
  .schedule-grid.schedule-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Optional SCP flavour */
.schedule-card-scp h3 {
  text-shadow: 0 0 10px rgba(193,18,31,0.35);
}
/* Centered single card row (Friday) */
.schedule-row-center {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

/* Make Friday card slightly wider */
.schedule-row-center .schedule-card {
  max-width: 520px;
  width: 100%;
}

/* Two-column grid (Sat + Sun, others) */
.schedule-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 26px;
}

/* Mobile stacking */
@media (max-width: 900px) {
  .schedule-grid-2 {
    grid-template-columns: 1fr;
  }

  .schedule-row-center {
    margin-bottom: 20px;
  }
}

/* SCP visual identity (subtle, not overkill) */
.schedule-card-scp h3 {
  text-shadow: 0 0 12px rgba(193,18,31,0.45);
}
/* =========================
   SCP EMERGENCY FLICKER
   ========================= */

.schedule-card-scp {
  position: relative;
  overflow: hidden;
}

/* BLACKOUT layer */
.schedule-card-scp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}

/* RED emergency flash */
.schedule-card-scp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(193,18,31,0.45);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

/* Noise grain overlay */
.schedule-card-scp .scp-noise {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  background-image: repeating-radial-gradient(
    circle,
    rgba(255,255,255,0.04) 0px,
    rgba(0,0,0,0.04) 1px,
    rgba(0,0,0,0.04) 2px
  );
  animation: scpNoiseMove 0.35s steps(2) infinite;
}

/* Attach noise element automatically */
.schedule-card-scp {
  --noise: 0;
}
.schedule-card-scp::marker { content: ""; }

@keyframes scpEmergency {
  /* normal state */
  0%   { opacity: 0; }
  75%  { opacity: 0; }

  /* blackout */
  76%  { opacity: 1; }
  78%  { opacity: 0; }

  /* red alert pulse */
  80%  { opacity: 1; }
  82%  { opacity: 0; }

  /* second blackout */
  84%  { opacity: 1; }
  86%  { opacity: 0; }

  /* second red pulse */
  88%  { opacity: 1; }
  92%  { opacity: 0; }

  /* recovery */
  100% { opacity: 0; }
}


/* Apply flicker every 3s */
.schedule-card-scp::after,
.schedule-card-scp::before {
  animation: scpEmergency 3s infinite;
}

/* Text micro-jitter */
@keyframes scpJitter {
  0%, 86%, 100% { transform: none; }
  87% { transform: translateX(0.6px); }
  88% { transform: translateX(-0.6px); }
  89% { transform: translateY(0.4px); }
}

.schedule-card-scp h3,
.schedule-card-scp p,
.schedule-card-scp li {
  animation: scpJitter 3s infinite;
}

/* Noise movement */
@keyframes scpNoiseMove {
  0% { background-position: 0 0; }
  100% { background-position: 120px 80px; }
}
/* =========================
   CONTACT PAGE (copy cards)
   ========================= */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  position: relative;
  border-radius: 14px;
  background: rgba(10,10,10,0.88);
  border: 1px solid rgba(244,196,48,0.12);
  padding: 18px 18px 16px;
  overflow: hidden;

  box-shadow:
    0 0 18px rgba(244,196,48,0.08),
    0 20px 60px rgba(0,0,0,0.55);
}

/* corner glow */
.contact-card::before {
  content: "";
  position: absolute;
  inset: -80px;
  pointer-events: none;
  opacity: 0.26;
  filter: blur(18px);
  background: radial-gradient(circle at 25% 15%, rgba(244,196,48,0.55), rgba(0,0,0,0) 55%);
}

.contact-card[data-glow="red"]::before {
  background: radial-gradient(circle at 25% 15%, rgba(193,18,31,0.55), rgba(0,0,0,0) 55%);
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: #f4f4f4;
  letter-spacing: 0.4px;
}

.contact-value {
  margin: 0 0 12px;
  font-weight: 800;
  color: #f4c430;
  text-shadow:
    0 0 10px rgba(244,196,48,0.25),
    0 2px 8px rgba(0,0,0,0.8);
  word-break: break-word;
}

.contact-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.copy-btn {
  border: 1px solid rgba(244,196,48,0.22);
  background: rgba(10,10,10,0.7);
  color: #f4f4f4;
  font-weight: 800;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 16px rgba(244,196,48,0.25);
  opacity: 0.98;
}

.contact-link {
  color: #f4c430;
  font-weight: 800;
  text-decoration: none;
}

.contact-link:hover {
  filter: drop-shadow(0 0 6px rgba(244,196,48,0.55));
}

.contact-note {
  margin: 0;
  color: #d8d8d8;
  font-size: 13px;
  line-height: 1.5;
}

/* “Copied!” toast */
.copy-toast {
  margin-top: 18px;
  display: inline-block;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(244,196,48,0.18);
  background: rgba(10,10,10,0.75);
  color: #f4f4f4;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(244,196,48,0.18);
}
/* =========================
   COPY TOAST (FIXED)
   ========================= */

.copy-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(244,196,48,0.35);

  color: #f4c430;
  font-weight: 700;
  font-size: 14px;

  box-shadow:
    0 0 12px rgba(244,196,48,0.35),
    0 0 28px rgba(244,196,48,0.15);

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;

  z-index: 9999;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* ===== ORBAT Slots (Squads page) ===== */
.slots {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(244,196,48,0.10);
}

.slots h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f4f4f4;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(244,196,48,0.18);
}

.slot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-pill {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244,196,48,0.18);
  background: rgba(10,10,10,0.65);
  color: #f4c430;
  box-shadow: 0 0 10px rgba(244,196,48,0.10);
}

.slot-empty {
  font-size: 13px;
  color: rgba(234,234,234,0.75);
}
.slot-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.slot-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(244,196,48,0.10);
}

.slot-role { color: #f4f4f4; font-weight: 700; }
.slot-name { color: #f4c430; font-weight: 800; }
.slot-empty { color: rgba(244,244,244,0.75); margin-top: 8px; }
/* =========================
   ORBAT VISUAL STATES
   ========================= */

.slot-available {
  font-size: 14px;
  margin: 6px 0;
  color: #f4c430;
  text-shadow: 0 0 8px rgba(244,196,48,0.45);
}

.slot-full {
  margin-top: 8px;
  font-weight: 700;
  color: #c1121f;
  text-shadow: 0 0 10px rgba(193,18,31,0.55);
}

.slot-empty {
  color: #aaa;
  font-size: 13px;
  margin-top: 6px;
}

/* Squad status highlighting */
.squad-card.squad-full {
  border-color: rgba(193,18,31,0.35);
  box-shadow:
    0 0 24px rgba(193,18,31,0.25),
    0 20px 60px rgba(0,0,0,0.55);
}

.squad-card.squad-open {
  border-color: rgba(244,196,48,0.35);
}

/* Missing ORBAT data */
.squad-card.orbat-missing {
  opacity: 0.65;
}
.slot-available {
  margin: 6px 0;
  color: #f4c430;
  text-shadow: 0 0 8px rgba(244,196,48,0.45);
  font-size: 14px;
}

.slot-full {
  margin-top: 10px;
  color: #c1121f;
  font-weight: 800;
  text-shadow: 0 0 10px rgba(193,18,31,0.55);
}

.slot-empty {
  margin-top: 10px;
  color: #bdbdbd;
  font-size: 13px;
}

.squad-card.squad-full {
  border-color: rgba(193,18,31,0.35);
  box-shadow:
    0 0 24px rgba(193,18,31,0.25),
    0 20px 60px rgba(0,0,0,0.55);
}

.squad-card.squad-open {
  border-color: rgba(244,196,48,0.35);
}
/* =========================
   ORBAT SLOTS UI
   ========================= */

.orbat-status{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(244,244,244,0.75);
  letter-spacing: .02em;
}

.slots{
  margin-top: 12px;
}

.slots h4{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(244,244,244,0.85);
}

.slot-empty,
.slot-full{
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(244,196,48,0.10);
  background: rgba(0,0,0,0.18);
  color: rgba(244,244,244,0.75);
  line-height: 1.5;
}

.slot-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-pill{
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(244,196,48,0.14);
  background: rgba(0,0,0,0.22);
  color: #f4c430;
  font-weight: 800;
  font-size: 12px;
  box-shadow: 0 0 10px rgba(244,196,48,0.10);
}

.slot-rows{
  display: grid;
  gap: 8px;
}

.slot-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(244,196,48,0.14);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 0 10px rgba(244,196,48,0.08);
}

.slot-role{
  font-weight: 900;
  color: #f4f4f4;
}

.slot-count{
  color: rgba(244,196,48,0.95);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(244,196,48,0.20);
}

/* Full squad highlight */
.squad-card.squad-full{
  filter: saturate(0.65);
  opacity: 0.78;
}

.squad-card.squad-full::after{
  content: "FULL";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(193,18,31,0.30);
  color: rgba(244,244,244,0.9);
  background: rgba(193,18,31,0.12);
  box-shadow: 0 0 18px rgba(193,18,31,0.18);
}

/* Missing data highlight */
.squad-card.orbat-missing{
  outline: 1px dashed rgba(244,196,48,0.18);
}
/* =========================
   ORBAT slots styling
   ========================= */
.slots h4{
  margin: 10px 0 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #f4f4f4;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(244,196,48,0.25);
}

.slot-empty{
  color: rgba(244,244,244,0.75);
  font-size: 13px;
  margin-top: 6px;
}

.slot-full{
  color: rgba(244,196,48,0.90);
  font-weight: 800;
  font-size: 13px;
  margin-top: 6px;
  text-shadow: 0 0 10px rgba(244,196,48,0.35);
}

.slot-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.slot-pill{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #0b0b0b;
  background: rgba(244,196,48,0.92);
  box-shadow: 0 0 10px rgba(244,196,48,0.22);
}

/* highlight full squads */
.squad-card.squad-full{
  opacity: 0.85;
}

.squad-card.squad-full::after{
  content: "FULL";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0b0b0b;
  background: rgba(244,196,48,0.9);
  box-shadow: 0 0 12px rgba(244,196,48,0.22);
}
/* =========================
   SQUAD BACKGROUND LOGOS (NO PSEUDO CONFLICTS)
   Uses a real child div: .squad-bg
   ========================= */

.squad-card {
  position: relative;
  overflow: hidden;
}

/* the faded logo layer */
.squad-card .squad-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-repeat: no-repeat;
  background-position: center;
  background-size: 65%;

  opacity: 0.10;                 /* strength */
  filter: grayscale(100%) contrast(120%);
}

/* keep card content above logo */
.squad-card > * {
  position: relative;
  z-index: 2;
}

/* ===== INDIVIDUAL LOGOS ===== */
.squad-card[data-logo="jackrabbit"] .squad-bg { background-image: url("images/squads/jackrabbit.png"); }
.squad-card[data-logo="redfox"]     .squad-bg { background-image: url("images/squads/redfox.png"); }
.squad-card[data-logo="trident"]    .squad-bg { background-image: url("images/squads/trident.png"); }
.squad-card[data-logo="cutter"]     .squad-bg { background-image: url("images/squads/cutter.png"); }
.squad-card[data-logo="heimdallr"]  .squad-bg { background-image: url("images/squads/heimdallr.png"); }
.squad-card[data-logo="sierra"]     .squad-bg { background-image: url("images/squads/sierra.png"); }
.squad-card[data-logo="odinn"]      .squad-bg { background-image: url("images/squads/odinn.png"); background-size: 60%; opacity: 0.08; }

/* ==============================
   FADED SQUAD LOGO BACKGROUNDS
   Uses ::after so it doesn't clash with your existing ::before glow
   ============================== */

.squad-card{
  position: relative;
  overflow: hidden;
}

/* faded logo layer */
.squad-card::after{
  content:"";
  position:absolute;
  inset:0;

  background-repeat:no-repeat;
  background-position:center;
  background-size:70%;

  opacity:0.10;              /* adjust strength */
  filter: grayscale(100%);
  pointer-events:none;

  z-index:0;                 /* behind content */
}

/* ensure content stays above logo */
.squad-card > *{
  position: relative;
  z-index: 1;
}

/* logo file mapping (path is relative to style.css) */
.squad-card[data-logo="jackrabbit"]::after{ background-image:url("images/squads/jackrabbit.png"); }
.squad-card[data-logo="redfox"]::after{ background-image:url("images/squads/redfox.png"); }
.squad-card[data-logo="trident"]::after{ background-image:url("images/squads/trident.png"); }
.squad-card[data-logo="cutter"]::after{ background-image:url("images/squads/cutter.png"); }
.squad-card[data-logo="heimdallr"]::after{ background-image:url("images/squads/heimdallr.png"); }
.squad-card[data-logo="sierra"]::after{ background-image:url("images/squads/sierra.png"); }
.squad-card[data-logo="odinn"]::after{ background-image:url("images/squads/odinn.png"); }
