@import url("https://fonts.googleapis.com/css2?family=Geo:ital@0;1&family=Inter:wght@400;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Franklin Gothic Medium", Arial, sans-serif;

  background-image: url("images/back.jpg");
  color: #f3f3f3;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;

  z-index: -1;
    background-image: url("images/back.jpg");
    filter: blur(10px);
    background-color: #4e4d4d94;
    background-size: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  cursor: pointer;
}

button {
  font-family: inherit;
}

/* Navbar */

.site-header {
  background: rgba(17, 17, 17, 0.92);
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: "Geo", system-ui;
  font-size: 29px;
  font-weight: bold;
  color: #d6d6d6;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: none;
  list-style: none;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: #a8a8a8;
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-button {
  display: none;
}

/* Layout */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 42px 0;
}

.section-header {
  margin-bottom: 18px;
}

.section-header h2 {
  font-size: 28px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
}

.eyebrow {
  color: #b8b8b8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 12px;
}

.section-note {
  color: #b8b8b8;
  line-height: 1.7;
  max-width: 760px;
  margin: 10px 0 0;
}

/* Hero */

.hero {
  text-align: center;
  padding: 70px 0 45px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: "Geo", system-ui;
  font-size: clamp(58px, 10vw, 110px);
  line-height: 0.85;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 4px;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.2),
    0 0 28px rgba(180, 180, 180, 0.22),
    3px 3px 0 rgba(90, 90, 90, 0.45);
}

.tagline {
  color: #d8d8d8;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 18px 0;
}

.hero-text {
  color: #c7c7c7;
  max-width: 620px;
  line-height: 1.7;
  font-size: 16px;
  margin-left: auto;
  margin-right: auto;
}

.live-preview,
.content-card,
.clip-card,
.community-section {
  background: rgba(20, 20, 20, 0.92);
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(160, 160, 160, 0.12);
  
}

/* Buttons */

.hero-buttons,
.community-buttons,
.live-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-buttons,
.community-buttons {
  margin-top: 20px;
  justify-content: center;
}

.live-info {
  align-items: center;
}

.button,
.primary-button,
.secondary-button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.2s ease;
}

.primary-button,
.secondary-button {
  background: linear-gradient(135deg, #2a2a2a, #171717);
  color: #ffffff;
  border: 1px solid #444444;
  box-shadow: 0 0 18px rgba(180, 180, 180, 0.08);
}

.primary-button:hover,
.secondary-button:hover,
.nav-button:hover,
.watch-clip-button:hover {
  background: linear-gradient(135deg, #3a3a3a, #1f1f1f);
  border-color: #a8a8a8;
  box-shadow: 0 0 24px rgba(210, 210, 210, 0.18);
}

.button:hover,
.primary-button:hover,
.secondary-button:hover,
.nav-button:hover,
.watch-clip-button:hover {
  transform: translateY(-2px);
}

/* Live preview */

.live-preview {
  padding: 20px;
}

.live-preview.is-live {
  border-color: #8f8f8f;
  box-shadow: 0 0 45px rgba(177, 175, 175, 0.34);
}

.live-preview.is-offline {
  border-color: #2a2a2a;
  box-shadow: none;
}

.live-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d8d8d8;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.live-top p {
  margin: 0;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #bdbdbd;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(177, 175, 175, 0.55);
}

.live-preview.is-live .live-dot {
  animation: livePulse 1s infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(177, 175, 175, 0.35);
  }

  50% {
    transform: scale(1.45);
    box-shadow: 0 0 28px rgba(215, 215, 215, 0.65);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(177, 175, 175, 0.35);
  }
}

.stream-window {
  min-height: 260px;
  margin: 18px 0;
  border-radius: 16px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.8)),
    #111111;
  border: 1px solid #2a2a2a;
  display: grid;
  place-items: center;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.stream-link img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}

.stream-play-pill {
  position: absolute;
  inset: auto auto 18px 18px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1px;
  backdrop-filter: blur(8px);
}

.live-info h3 {
  width: 100%;
  margin: 0;
  color: #ffffff;
}

.live-info p {
  color: #c7c7c7;
  line-height: 1.8;
  max-width: 760px;
  width: 100%;
  margin: 0 0 4px;
}

/* Clips and edits */

.clip-grid {
  display: grid;
  gap: 14px;
}

.clip-card {
  padding: 18px;
  transition: 0.2s ease;
  cursor: pointer;
  width: 270px;
}

.clip-card:hover {
  transform: translateY(-4px);
  border-color: #a0a0a0;
  box-shadow: 0 0 30px rgba(196, 196, 196, 0.18);
}

.clip-card h3 {
  margin-top: 0;
  color: #ffffff;
}

.clip-card p {
  color: #a8a8a8;
  line-height: 1.6;
}

.clip-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.clip-controls button {
  background: #1b1b1b;
  color: #ffffff;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
}

.clip-controls button:hover,
.clip-controls button.active {
  background: #a8a8a8;
  border-color: #a8a8a8;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(194, 193, 193, 0.45);
}

.clip-thumbnail {
  min-height: 180px;
  border-radius: 14px;
  margin-bottom: 14px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.85)),
    linear-gradient(135deg, rgba(216, 216, 216, 0.45), rgba(0, 0, 0, 0.95));
  border: 1px solid #2a2a2a;
  position: relative;
  overflow: hidden;
}

.clip-thumbnail img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: 0.25s ease;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
}

.clip-card:hover .clip-thumbnail img {
  transform: scale(1.04);
}

.clip-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.82)),
    radial-gradient(circle at top right, rgba(220, 220, 220, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(150, 150, 150, 0.16), transparent 34%);
  pointer-events: none;
}

.clip-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffffff;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  z-index: 2;
}

.thumbnail-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
}

.thumbnail-title strong {
  display: block;
  color: #ffffff;
  font-size: 17px;
  text-transform: uppercase;
}

.thumbnail-title small {
  color: #d7d7d7;
  font-size: 13px;
}

.watch-clip-button {
  margin-top: 12px;
  background: #a8a8a8;
  color: #ffffff;
  border: 1px solid #a8a8a8;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.watch-clip-button:hover {
  background: #bbbbbb;
}

/* Clip popup modal */

.clip-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.clip-modal.show {
  display: flex;
}

.clip-modal-box {
  width: min(900px, 100%);
  background: #111111;
  border: 1px solid #a8a8a8;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 0 50px rgba(184, 184, 184, 0.38);
  position: relative;
}

.close-modal-button {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #a8a8a8;
  background: #a8a8a8;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  font-weight: bold;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 78vh;
  border-radius: 14px;
  overflow: hidden;
  background: #000000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-note {
  color: #a8a8a8;
  line-height: 1.6;
  font-size: 14px;
  margin: 12px 0 0;
}

/* Community and footer */

.community-section {
  padding: 28px 20px;
  width: min(100%, 820px);
  margin: 0 auto 42px;
  text-align: center;
}

.community-section p {
  color: #c7c7c7;
  line-height: 1.8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  border-top: 1px solid #2a2a2a;
  padding: 24px 20px;
  text-align: center;
  color: #a8a8a8;
  background: #111111;
}

/* Responsive */

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-button {
    display: inline-block;
    background: #a8a8a8;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    transition: 0.2s ease;
  }

  .clip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-wrapper {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1024px) {
  .clip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
