:root {
  --shadow-offset: 0px;
  --shadow-blur: 18px;
  --shadow-spread: -6px;
  --shadow-color: rgba(255, 255, 255, 0.7);
  --tint-color: 255, 255, 255;
  --tint-opacity: 0.18;
  --frost-blur: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #f9fafb;

  /* flowing gradient #ff1e6f → #913dfa */
  background: linear-gradient(135deg, #ff1e6f 0%, #913dfa 100%);
  background-size: 260% 260%;
  animation: gradientFlow 18s ease-in-out infinite alternate;

  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  overflow-x: hidden;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 100%;
  }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ VIEWS ============ */

.view {
  display: none;
  flex: 1;
  padding: 24px 20px 40px;
}

.view--active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 16px 48px;
  position: relative;
}

@media (min-width: 640px) {
  .view-inner {
    padding: 56px 32px 64px;
  }
}

/* ============ HERO ============ */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 90px 24px 72px; /* less top padding = higher on screen */
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 100px 40px 80px; /* desktop: still higher */
  }
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

/* SirPaul title */
.hero-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 6vw, 4.4rem); /* bigger on desktop */
  letter-spacing: 0.14em;
  text-transform: none; /* keep SirPaul case */
  text-align: center;
  text-shadow: 0 6px 16px rgba(15, 23, 42, 0.65);

  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease, transform 400ms ease;
}

/* slide up + fade in */
.hero-title--visible {
  opacity: 1;
  transform: translateY(-6px);
}

/* subtitle */
.hero-subtitle {
  max-width: 460px;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms ease, transform 350ms ease;
}

.hero-subtitle-text {
  font-family: "Montserrat", sans-serif;
}

.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ============ HERO BUTTON LAYOUT ============ */

.role-buttons {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms ease, transform 350ms ease;
}

/* row of 3 on desktop, stacked on phone */
.role-buttons-top {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

/* bottom row: about + hire */
.role-buttons-bottom {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

@media (min-width: 768px) {
  .role-buttons-top {
    flex-direction: row;        /* three in a row */
    justify-content: center;
    gap: 30px;                  /* space between CC, VE, SMM */
  }
}

/* ============ LIQUID GLASS BUTTONS ============ */

.liquid-btn {
  position: relative;
  border: none;
  padding: 0.75rem 2.2rem;
  border-radius: 999px;
  background: transparent;
  color: #f9fafb;
  font-family: "Anton", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(var(--frost-blur));
  -webkit-backdrop-filter: blur(var(--frost-blur));
  transition: transform 180ms ease-out, box-shadow 180ms ease-out,
    opacity 180ms ease-out;
  white-space: nowrap;

  /* make label text stand out slightly */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.liquid-btn::before,
.liquid-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
}

.liquid-btn::before {
  background-color: rgba(var(--tint-color), var(--tint-opacity));
  box-shadow: inset var(--shadow-offset) var(--shadow-offset)
    var(--shadow-blur) var(--shadow-spread) var(--shadow-color);
}

.liquid-btn::after {
  backdrop-filter: blur(var(--frost-blur));
  -webkit-backdrop-filter: blur(var(--frost-blur));
  filter: url(#glass-distortion);
  -webkit-filter: url("#glass-distortion");
}

.liquid-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.8);
}

.liquid-btn:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.7);
}

.liquid-btn.primary::before {
  background: radial-gradient(
    circle at 0% 0%,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.14)
  );
}

/* BACK BUTTON IN SUBVIEWS */
.back-btn {
  position: absolute;
  top: 18px;
  left: 24px;
}

/* ============ CONTENT VIEWS ============ */

.view-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 56px;
  margin-bottom: 18px;
  text-shadow: 0 8px 20px rgba(15, 23, 42, 0.55);
}

.view-subtext {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.96;
  margin-bottom: 12px;
  max-width: 680px;
}

/* ============ VIDEO GRID ============ */

.video-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* old placeholder style (kept in case you reuse it somewhere) */
.video-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-family: "Montserrat", sans-serif;
  opacity: 0.85;
}

/* YouTube embed styling */
.video-embed {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 16:9 ratio */
.video-embed::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============ HIRE FORM ============ */

.hire-form {
  margin-top: 28px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.form-input {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.45);
  color: #f9fafb;
  outline: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-input::placeholder {
  color: rgba(226, 232, 240, 0.8);
}

.form-input:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
}

/* ============ FOOTER ============ */

.footer {
  width: 100%;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-inner {
  width: 90%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.85;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials img {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.5));
}

.footer-socials img:hover {
  opacity: 1;
  transform: translateY(-1px) scale(1.05);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ DESKTOP EXTRA TWEAKS ============ */

@media (min-width: 900px) {
  .hero-title {
    font-size: 4.6rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .liquid-btn {
    font-size: 0.95rem;
    padding: 0.9rem 2.6rem;
  }

  .view-subtext {
    font-size: 1rem;
  }
}
/* Make YouTube overlay buttons smaller */
.video-embed iframe {
  pointer-events: auto !important;
}

.video-embed iframe::-webkit-media-controls-enclosure {
  transform: scale(0.75);
  opacity: 0.7;
}

/* Shrink YouTube branding overlay */
.video-embed iframe + div,
.ytp-chrome-bottom,
.ytp-chrome-top {
  transform: scale(0.8);
  opacity: 0.65 !important;
}
