/* ============================================
   1. DESIGN TOKENS
   ============================================ */
:root {
  --color-bg-primary: #0a0a0a;
  --color-bg-card: #161616;
  --color-gold: #c9a745;
  --color-gold-dark: #a88e3a;
  --color-gold-light: #d8c36a;
  --color-text-primary: #f8f8f8;
  --color-text-secondary: #b8b8b8;
  --color-border: #2a2a2a;
}

/* ============================================
   2. BASE / RESET
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  min-height: 100%;
  min-height: 100dvh;
  overflow-x: hidden;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   3. LAYOUT PRIMITIVES
   ============================================ */
.container {
  width: 100%;
  max-width: 68rem;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 1.65rem; 
}

/* ============================================
   4. HERO COMPONENT
   ============================================ */
.hero {
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-block: 0;
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.85) 0%,
      rgba(10, 10, 10, 0.62) 32%,
      rgba(10, 10, 10, 0.90) 100%
    ),
    radial-gradient(
      circle at 50% 42%,
      rgba(220, 38, 38, 0.11) 0%,
      transparent 65%
    );
}

.hero .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-block: 2.75rem 1.75rem; 
}

.clan-badge {
  display: inline-block;
  background: linear-gradient(90deg, 
    var(--color-gold-dark) 0%, 
    var(--color-gold) 45%, 
    var(--color-gold-light) 100%);
  color: #0a0a0a;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.22rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 0.88;
  /* Menacing centered radial red */
  background: radial-gradient(
    ellipse farthest-side at 50% 45%,
    #f87171 15%,
    #dc2626 48%,
    #7f1d1d 92%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 
    0 0 3.5rem rgba(220, 38, 38, 0.55),
    0 4px 22px rgba(0, 0, 0, 0.7);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 3;
  white-space: nowrap;
}

.hero-subtitle {
  margin-top: auto;
  margin-bottom: 1.1rem;
}

.subtitle-dominant {
  font-size: 1.05rem;
  font-weight: 900;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.08;
  text-shadow: 
    0 0 2.5rem rgba(201, 167, 69, 0.5),
    0 6px 25px rgba(0, 0, 0, 0.5);
  margin: 0;
  white-space: nowrap;
}

.hero-social {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
}

.social-link {
  color: var(--color-gold);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), filter 0.2s ease;
  display: inline-flex;
  border-radius: 9999px;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.social-icon {
  width: 3.6rem;
  height: 3.6rem;
  display: block;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }
}

.scroll-chevrons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.15rem;
  color: var(--color-gold);
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.scroll-chevrons svg {
  display: block;
  width: 22px;
  height: 36px;
}

.scroll-chevrons svg polyline {
  animation: chevron-illuminate 1.85s infinite ease-in-out;
  stroke: #c9a745;
}

.scroll-chevrons svg polyline:nth-child(1) { animation-delay: 0s; }
.scroll-chevrons svg polyline:nth-child(2) { animation-delay: 0.32s; }
.scroll-chevrons svg polyline:nth-child(3) { animation-delay: 0.64s; }

@keyframes chevron-illuminate {
  0%, 100% {
    stroke: #c9a745;
    filter: drop-shadow(0 0 0 transparent);
  }
  25%, 72% {
    stroke: #f2e8b8;
    filter: drop-shadow(0 0 3.5px rgba(242, 232, 184, 0.55));
  }
}

/* ============================================
   5. HIGHLIGHTS / VALUES SECTION
   ============================================ */
h2#values-heading {
  text-align: center;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.65rem;
  margin-bottom: 1.15rem;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.video-item {
  background-color: var(--color-bg-card);
  border: 3px solid var(--color-gold);
  border-radius: 0.6rem;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.video-item:hover {
  border-color: var(--color-gold-light);
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.video-item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0.9rem 1rem 0.75rem;
  margin: 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background-color: #000000;
  flex: 1;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   6. VIDEO BANNER SECTION
   ============================================ */
.video-banner-section {
  position: relative;
  overflow: hidden;
  padding-block: 1.25rem;
  aspect-ratio: auto;
  background-color: #000000;
}



.video-banner {
  position: static;
  width: 100%;
  height: auto;
  max-height: 240px;
  min-height: 160px;
  object-fit: contain;
  display: block;
  margin-inline: auto;
  background-color: #000000;
}

.video-banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.45) 0%,
      rgba(10, 10, 10, 0.28) 32%,
      rgba(10, 10, 10, 0.55) 100%
    ),
    radial-gradient(
      circle at 50% 42%,
      rgba(201, 167, 69, 0.09) 0%,
      transparent 65%
    );
}

/* ============================================
   7. CTA SECTION 
   ============================================ */
.cta-section {
  background-color: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  padding-block: 1.65rem;
}

.cta-content {
  max-width: 42rem;
  margin-inline: auto;
}

.cta-section p {
  font-size: 0.925rem;
  color: var(--color-gold-light);
  margin-bottom: 1.25rem;
  text-align: justify;
}

.cta-section p.cta-emphasis {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  color: #0a0a0a;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(201, 167, 69, 0.3);
  text-decoration: none;
  width: 100%;
  max-width: 260px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 167, 69, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--color-gold);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.65rem 1.6rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
  border: 2px solid var(--color-gold);
  text-decoration: none;
  width: 100%;
  max-width: 260px;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light));
  color: #0a0a0a;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 167, 69, 0.3);
}

/* ============================================
   8. FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--color-border);
  padding-block: 3rem;
  text-align: center;
  color: var(--color-gold-light);
  font-size: 0.875rem;
}

.footer-note {
  font-size: 1rem;
  opacity: 0.85;
}

.footer-legal {
  font-size: 0.8rem;
  margin-top: 0.35rem;
  color: var(--color-gold-light);
  line-height: 1.4;
}

/* ============================================
   9. ACCESSIBILITY & UTILITIES
   ============================================ */
:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   10. RESPONSIVE ENHANCEMENTS 
   ============================================ */

/* --- TABLET AND UP (≥ 30rem / 480px) --- */
@media (min-width: 30rem) {
  .hero-content {
    padding-block: 3.5rem 2.25rem;
  }

  .clan-badge {
    font-size: 0.875rem;
    padding: 0.35rem 1.1rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
  }

  .hero h1 {
    font-size: 3.35rem;
    line-height: 0.92;
    letter-spacing: 0.04em;
    white-space: normal; 
  }

  .hero-subtitle {
    margin-bottom: 1.5rem;
  }

  .subtitle-dominant {
    font-size: 1.32rem;
    line-height: 1.05;
    white-space: normal;
  }

  .hero-social {
    gap: 3.15rem;
    margin-bottom: 1.25rem;
  }

  .social-icon {
    width: 4.35rem;
    height: 4.35rem;
  }

  .scroll-chevrons {
    margin-top: 0.25rem;
  }

  .scroll-chevrons svg {
    width: 28px;
    height: 44px;
  }

  .section {
    padding-block: 4.5rem;
  }

  h2#values-heading {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem;
  }

  .video-item {
    border-radius: 0.75rem;
  }

  .video-item h4 {
    font-size: 1rem;
    padding: 1.05rem 1.15rem 0.85rem;
    line-height: 1.3;
  }

  .video-banner-section {
    padding-block: 0;
    background-color: #000000; /* remove debug green */
    aspect-ratio: 4 / 1;
  }

  .video-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    min-height: 0;
    object-fit: cover;
    margin-inline: 0;
  }

  .cta-section {
    padding-block: 4.5rem;
    background-color: var(--color-bg-card); /* remove debug blue */
  }

  .cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }

  .cta-section p.cta-emphasis {
    font-size: 1.35rem;
    margin-bottom: 2rem;
  }

  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
    max-width: none;
    padding: 0.85rem 2.1rem;
    font-size: 1.125rem;
    letter-spacing: 0.05em;
  }
}

/* --- DESKTOP AND UP (≥ 48rem / 768px) --- */
@media (min-width: 48rem) {
  .hero h1 {
    font-size: 4.85rem;
    line-height: 0.95;
    letter-spacing: 0.08em;
  }

  .subtitle-dominant {
    font-size: 1.55rem;
  }

  .social-icon {
    width: 5.025rem;
    height: 5.025rem;
  }

  .values-grid {
    gap: 1.75rem;
  }

  .video-item h4 {
    font-size: 1.05rem;
    padding: 1.15rem 1.25rem 0.95rem;
  }
}

/* --- LARGE DESKTOP (≥ 75rem / 1200px) --- */
@media (min-width: 75rem) {
  .container {
    max-width: 72rem;
  }

  .hero h1 {
    font-size: 5.35rem;
    letter-spacing: 0.09em;
  }

  .subtitle-dominant {
    font-size: 1.75rem;
  }

  .values-grid {
    gap: 2rem;
  }

  .video-item h4 {
    font-size: 1.12rem;
    padding: 1.2rem 1.35rem 1rem;
  }
}

/* --- SHORT LANDSCAPE MOBILE --- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero {
    height: 100vh;
    min-height: 100vh;
  }

  .hero-content {
    padding-block: 1.25rem 1rem;
  }

  .hero-subtitle {
    margin-bottom: 0.75rem;
  }

  .scroll-chevrons {
    display: none;
  }

  .cta-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
