* {
  box-sizing: border-box;
}

:root {
  --header-height: 50vh;
  --footer-height: 50vh;
  --normal-header-height: 110px;
  --normal-footer-height: 110px;
  --instagram-purple: #833ab4;
  --instagram-pink: #e1306c;
  --instagram-orange: #f77737;
  --instagram-yellow: #fcaf45;
  --text-color: #262626;
  --watermark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='150' viewBox='0 0 300 150'%3E%3Ctext x='0' y='85' transform='rotate(-25 0 85)' fill='%23833ab4' fill-opacity='.12' font-family='Arial,sans-serif' font-size='22' font-weight='bold'%3ECamslaughters%3C/text%3E%3C/svg%3E");
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  color: var(--text-color);
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(252, 175, 69, 0.35), transparent 30%),
    radial-gradient(circle at 90% 90%, rgba(131, 58, 180, 0.3), transparent 35%),
    #fafafa;
}

.site-header,
.site-footer {
  position: fixed;
  z-index: 10;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  text-align: center;
  transition: height 1.5s ease, padding 1.5s ease;
  background-color: rgba(255, 255, 255, 0.72);
  background-image:
    var(--watermark),
    linear-gradient(
      110deg,
      rgba(252, 175, 69, 0.32),
      rgba(247, 119, 55, 0.26),
      rgba(225, 48, 108, 0.26),
      rgba(131, 58, 180, 0.32)
    );
  background-blend-mode: overlay;
  border: 1px solid rgba(131, 58, 180, 0.35);
  box-shadow: 0 2px 12px rgba(131, 58, 180, 0.12);
  backdrop-filter: blur(5px);
}

.site-header {
  top: 0;
  padding: 24px 16px;
  border-top: 4px solid transparent;
  border-image: linear-gradient(
    90deg,
    var(--instagram-yellow),
    var(--instagram-orange),
    var(--instagram-pink),
    var(--instagram-purple)
  ) 1;
}

.site-header h1,
.site-header p,
.site-footer p {
  margin: 0;
}

.site-header h1 {
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  background: linear-gradient(
    90deg,
    var(--instagram-purple),
    var(--instagram-pink),
    var(--instagram-orange)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header p {
  margin-top: 8px;
  color: #833ab4;
  font-size: 1rem;
  font-weight: 600;
}

.site-footer {
  bottom: 0;
  padding: 24px 16px;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(
    90deg,
    var(--instagram-purple),
    var(--instagram-pink),
    var(--instagram-orange),
    var(--instagram-yellow)
  ) 1;
}

.site-footer p {
  color: #833ab4;
  font-size: 1rem;
  font-weight: 600;
}

.price-link {
  display: inline-flex;
  margin-top: 18px;
  color: transparent;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  -webkit-text-stroke: 2px var(--instagram-purple);
  text-shadow: 3px 3px 0 rgba(225, 48, 108, 0.3);
}

.price-link span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-80px) scale(0.6) rotate(-12deg);
  background: linear-gradient(
    135deg,
    var(--instagram-yellow),
    var(--instagram-orange),
    var(--instagram-pink),
    var(--instagram-purple)
  );
  -webkit-background-clip: text;
  background-clip: text;
  animation: price-slide-in 0.7s cubic-bezier(0.2, 0.8, 0.3, 1.2) forwards;
  animation-delay: var(--delay);
}

.price-link:hover {
  filter: brightness(1.12);
  transform: scale(1.05);
}

@keyframes price-slide-in {
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0);
  }
}

.page-content {
  height: 100vh;
  overflow-y: auto;
  padding: 16px;
  scroll-behavior: smooth;
  background-color: rgba(250, 250, 250, 0.55);
  background-image:
    var(--watermark),
    linear-gradient(
      135deg,
      rgba(252, 175, 69, 0.12),
      rgba(225, 48, 108, 0.08),
      rgba(131, 58, 180, 0.12)
    );
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
  gap: 16px;
  width: min(100%, 1400px);
  margin: 0 auto;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 2px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(
      135deg,
      var(--instagram-yellow),
      var(--instagram-orange),
      var(--instagram-pink),
      var(--instagram-purple)
    ) border-box;
  box-shadow: 0 4px 14px rgba(131, 58, 180, 0.16);
}

.video-card h2 {
  margin: 0;
  padding: 10px 12px;
  color: #833ab4;
  font-size: 1rem;
  background: linear-gradient(
    90deg,
    rgba(252, 175, 69, 0.16),
    rgba(225, 48, 108, 0.1),
    rgba(131, 58, 180, 0.14)
  );
}

.video-card video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  background: #1f1028;
  border-top: 1px solid rgba(131, 58, 180, 0.3);
  object-fit: contain;
}

body.normal-header-footer .site-header {
  height: var(--normal-header-height);
  padding: 20px 16px;
}

body.normal-header-footer .site-footer {
  height: var(--normal-footer-height);
  padding: 20px 16px;
}

@media (max-width: 600px) {
  :root {
    --header-height: 50vh;
    --footer-height: 50vh;
    --normal-header-height: 100px;
    --normal-footer-height: 100px;
  }

  .site-header,
  .site-footer {
    height: 50vh;
    padding: 18px 10px;
  }

  .page-content {
    padding: 10px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .video-card h2 {
    padding: 8px 10px;
  }

  body.normal-header-footer .site-header,
  body.normal-header-footer .site-footer {
    padding: 16px 10px;
  }

  .price-link {
    font-size: 3rem;
  }
}