/* Srinivas Portfolio — base styles */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --text-hero: clamp(2.25rem, 5vw, 3rem);
  --text-section: clamp(1.625rem, 2.75vw, 2rem);
  --text-subhead: clamp(1.125rem, 1.75vw, 1.5rem);
  --text-body: 1rem;
  --leading-tight: 1.2;
  --leading-body: 1.7;
  --leading-relaxed: 1.75;
  --space-section-y: clamp(3.75rem, 9vw, 6rem);
  --space-section-y-tight: clamp(3rem, 6vw, 4.5rem);
  --space-inner: clamp(2.25rem, 4vw, 3.25rem);
  --btn-radius: 9999px;
  --btn-transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease,
    background-color 0.22s ease, color 0.22s ease;
  --touch-min: 2.75rem;
  --bp-mobile-nav: 767.98px;
  --page-max-width: 94rem;
  --color-bg: #eff6ff;
  --color-surface: #ffffff;
  --color-surface-soft: #eef2ff;
  --color-surface-muted: #e0e7ff;
  --color-text: #0f172a;
  --color-heading: #111827;
  --color-muted: #475569;
  --color-primary: #4f46e5;
  --color-primary-dark: #4338ca;
  --color-primary-soft: #dbeafe;
  --color-border: rgba(79, 70, 229, 0.18);
  --color-border-strong: rgba(67, 56, 202, 0.22);
  --color-nav-bg: rgba(240, 246, 255, 0.94);
  --color-footer-bg: #111827;
  --color-footer-text: rgba(255, 255, 255, 0.75);
  --color-card-shadow: rgba(67, 56, 202, 0.08);
  --color-card-shadow-strong: rgba(67, 56, 202, 0.16);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 0;
  background-color: var(--color-nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(79, 70, 229, 0.12);
  box-shadow: 0 1px 0 rgba(79, 70, 229, 0.06);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: 0.625rem 1.25rem;
}

.logo {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  color: #0f172a;
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  min-height: var(--touch-min);
  padding: 0.35rem 0.25rem;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
}

.logo:hover {
  color: var(--color-primary);
}

.logo:focus-visible {
  outline: 2px solid rgba(79, 70, 229, 0.95);
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.12);
  color: #0f172a;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(79, 70, 229, 0.18);
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(79, 70, 229, 0.95);
  outline-offset: 2px;
}

.nav-toggle__lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 1.35rem;
  height: 1rem;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  transform-origin: center;
}

.site-header.is-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex: 1;
  max-width: 28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem;
  min-height: var(--touch-min);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-primary-dark);
  background-color: rgba(79, 70, 229, 0.08);
}

.nav-links a.is-active {
  color: var(--color-text);
  background-color: rgba(79, 70, 229, 0.14);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.12);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.site-header.is-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 767.98px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(20rem, 100vw);
    height: 100vh;
    height: 100dvh;
    flex: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: calc(var(--touch-min) + 1.25rem) 1.25rem 1.5rem;
    background: #0f1419;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.35);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 210;
  }

  .site-header.is-open .nav-menu {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    max-width: none;
    gap: 0.5rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 1.15rem;
    min-height: calc(var(--touch-min) + 0.25rem);
    font-size: 1rem;
  }

  .main-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .about-page-inner {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .projects-page-inner {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .contact-page-inner {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .skills {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .skills__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero__inner {
    max-width: 100%;
  }

  .site-footer {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .site-footer__nav a,
  .site-footer__social a {
    min-height: var(--touch-min);
    padding: 0.65rem 0.5rem;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
  }

  .site-footer__nav a:hover,
  .site-footer__social a:hover {
    background-color: rgba(255, 255, 255, 0.06);
  }
}

main {
  margin: 0;
  padding: 0;
  max-width: none;
}

.main-inner {
  max-width: 72ch;
  margin: 0 auto;
  padding: var(--space-section-y-tight) 1.5rem;
}

.main-inner p {
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
}

.section-more-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body);
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 70, 229, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.section-more-link:hover {
  color: var(--color-primary-dark);
  border-bottom-color: var(--color-primary-dark);
}

.section-more-link:focus-visible {
  outline: 2px solid rgba(79, 70, 229, 0.9);
  outline-offset: 3px;
  border-radius: 2px;
}

.hero.section {
  padding-bottom: 0;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(calc(100svh - 3.75rem), 52rem);
  padding: clamp(3.5rem, 11vw, 6rem) 1.5rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(ellipse 120% 80% at 20% 20%, rgba(96, 165, 250, 0.35), transparent 55%),
    radial-gradient(ellipse 100% 70% at 85% 75%, rgba(167, 139, 250, 0.4), transparent 50%),
    linear-gradient(
      155deg,
      #0c1929 0%,
      #1e3a5f 22%,
      #2d3a8c 48%,
      #4c1d95 78%,
      #5b21b6 100%
    );
}

.hero__inner {
  max-width: 38rem;
  margin: 0 auto;
}

.hero__title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}

.hero__title-accent {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero__subhead {
  margin: 0 0 2.25rem;
  font-family: var(--font-body);
  font-size: var(--text-subhead);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.92);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: #312e81;
  background: #fff;
  text-decoration: none;
  border-radius: var(--btn-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: var(--btn-transition);
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  background: #f8fafc;
  color: #1e1b4b;
}

.hero__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.skills {
  background-color: var(--color-surface-soft);
  padding: var(--space-section-y) 1.5rem;
}

.skills.section:last-of-type {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.skills__inner {
  max-width: 68rem;
  margin: 0 auto;
}

.skills__heading {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  text-align: center;
}

.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  box-shadow: 0 2px 8px var(--color-card-shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px var(--color-card-shadow-strong);
}

.skill-card__icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.skill-card__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.skill-card__desc {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-muted);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.section {
  scroll-margin-top: 4.5rem;
  padding-bottom: var(--space-section-y-tight);
}

.section:last-of-type {
  padding-bottom: var(--space-inner);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-footer {
  margin-top: auto;
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: clamp(2rem, 4vw, 2.75rem) 1.5rem 1.5rem;
}

.site-footer__inner {
 max-width: var(--page-max-width);
  margin: 0 auto;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto auto;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

@media (max-width: 48rem) {
  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 30rem) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}

.site-footer__name {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-subhead);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.site-footer__tagline {
  margin: 0;
  max-width: 24rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__label {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(199, 210, 254, 0.75);
}

.site-footer__nav ul,
.site-footer__social ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer__nav a,
.site-footer__social a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-footer__nav a:hover,
.site-footer__social a:hover {
  color: #fff;
}

.site-footer__nav a:focus-visible,
.site-footer__social a:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.9);
  outline-offset: 3px;
}

.site-footer__copy {
  margin: 1.85rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.48);
  text-align: center;
}

html[data-homepage-mode="ott_only"] .site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.18), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #111827 46%, #1e293b 100%);
  border-top: 1px solid rgba(99, 102, 241, 0.24);
  padding: clamp(2.4rem, 5vw, 3.2rem) 1.5rem 1.7rem;
}

html[data-homepage-mode="ott_only"] .site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.05) 50%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 2px,
      transparent 2px 18px
    );
  opacity: 0.22;
  pointer-events: none;
}

html[data-homepage-mode="ott_only"] .site-footer__inner {
  position: relative;
  z-index: 1;
}

html[data-homepage-mode="ott_only"] .site-footer__top {
  grid-template-columns: minmax(0, 1.6fr) auto auto;
  gap: clamp(1.75rem, 4vw, 3rem);
}

html[data-homepage-mode="ott_only"] .site-footer__brand {
  padding: 1.4rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(31, 41, 55, 0.9), rgba(72, 77, 167, 0.78));
  border: 1px solid rgba(248, 250, 252, 0.1);
  box-shadow: 0 20px 50px rgba(41, 44, 131, 0.35);
}

html[data-homepage-mode="ott_only"] .site-footer__name {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.8rem;
  color: #f8fafc;
}

html[data-homepage-mode="ott_only"] .site-footer__name::after {
  content: "OTT";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-homepage-mode="ott_only"] .site-footer__tagline {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
}

html[data-homepage-mode="ott_only"] .site-footer__label {
  margin-bottom: 0.8rem;
  color: rgba(199, 210, 254, 0.78);
}

html[data-homepage-mode="ott_only"] .site-footer__nav ul,
html[data-homepage-mode="ott_only"] .site-footer__social ul {
  gap: 0.7rem;
}

html[data-homepage-mode="ott_only"] .site-footer__nav a,
html[data-homepage-mode="ott_only"] .site-footer__social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

html[data-homepage-mode="ott_only"] .site-footer__nav a:hover,
html[data-homepage-mode="ott_only"] .site-footer__social a:hover {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.34);
  color: #f8fafc;
}

html[data-homepage-mode="ott_only"] .site-footer__copy {
  margin-top: 2.1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(99, 102, 241, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 48rem) {
  html[data-homepage-mode="ott_only"] .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }

  html[data-homepage-mode="ott_only"] .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 30rem) {
  html[data-homepage-mode="ott_only"] .site-footer__top {
    grid-template-columns: 1fr;
  }
}

/* About page */

.page-about {
  flex: 1;
}

.about-page-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: var(--space-section-y-tight) 1.5rem var(--space-section-y);
}

.about-intro {
  margin-bottom: var(--space-section-y-tight);
}

.about-intro h1 {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: min(12rem, 42vw) 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

@media (max-width: 767.98px) {
  .about-intro__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .about-intro__body {
    text-align: left;
  }
}

.about-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  max-width: 12rem;
  margin: 0 auto;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #3b82f6 0%, #6366f1 45%, #7c3aed 100%);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.about-intro__body p {
  margin: 0 0 1.25rem;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: #374151;
}

.about-intro__body p:last-child {
  margin-bottom: 0;
}

.about-timeline h2 {
  margin: 0 0 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.timeline {
  margin: 0;
  padding: 0 0 0 1.25rem;
  list-style: none;
  border-left: 2px solid rgba(79, 70, 229, 0.28);
}

.timeline__item {
  position: relative;
  padding: 0 0 1.75rem 1.5rem;
  margin-left: -1.25rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -0.4375rem;
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #4338ca;
  box-shadow: 0 0 0 3px #eef6ff;
}

.timeline__year {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.timeline__title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-heading);
}

.timeline__desc {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: #4b5563;
}

/* Projects page */

.page-projects {
  flex: 1;
  background: var(--color-bg);
}

.projects-page-inner {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--space-section-y-tight) 1.5rem var(--space-section-y);
}

.projects-page-header {
  max-width: 42rem;
  margin-bottom: var(--space-inner);
}

.projects-page-header h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.projects-page-lede {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-subhead);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: #4b5563;
}

.release-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.release-table-toolbar__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.release-table-toolbar__select {
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-text);
  font: inherit;
}

.release-table-toolbar__select:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.9);
  outline-offset: 2px;
}

.release-table-wrapper {
  overflow-x: auto;
  background: #fff;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(67, 56, 202, 0.08);
  padding: 1.25rem;
}

.release-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.release-table th,
.release-table td {
  text-align: left;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
  font-family: var(--font-body);
  color: #334155;
}

.release-table th {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #0f172a;
  background: rgba(226, 232, 255, 0.9);
}

.release-table tbody tr:hover {
  background: rgba(226, 232, 255, 0.45);
}

.release-table td {
  font-size: 0.96rem;
  line-height: 1.75;
}

@media (max-width: 60rem) {
  .release-table-toolbar {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .release-table-wrapper {
    padding: 0.9rem;
  }

  .release-table th,
  .release-table td {
    padding: 0.85rem 0.9rem;
  }
}

.project-grid {
  column-count: 3;
  column-gap: 1.75rem;
}

@media (max-width: 60rem) {
  .project-grid {
    column-count: 2;
  }
}

@media (max-width: 767.98px) {
  .project-grid {
    column-count: 1;
  }
}

.project-card {
  break-inside: avoid;
  margin-bottom: 1.75rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  box-shadow: 0 2px 12px rgba(67, 56, 202, 0.08);
  overflow: hidden;
  opacity: 0;
  animation: project-card-in 0.7s ease forwards;
}

.project-card:nth-child(1) {
  animation-delay: 0.08s;
}

.project-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3) {
  animation-delay: 0.32s;
}

.project-card:nth-child(4) {
  animation-delay: 0.44s;
}

@keyframes project-card-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .nav-menu,
  .nav-toggle__bar,
  .nav-backdrop {
    transition: none !important;
  }
}

.project-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9.5rem;
  padding: 1.25rem 1rem;
  text-align: center;
}

.project-card__visual-label {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.project-card--banking .project-card__visual {
  background: linear-gradient(135deg, #2563eb 0%, #4338ca 45%, #6366f1 100%);
}

.project-card--health .project-card__visual {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 45%, #6366f1 100%);
}

.project-card--saas .project-card__visual {
  background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 50%, #6366f1 100%);
}

.project-card--food .project-card__visual {
  background: linear-gradient(135deg, #4338ca 0%, #6366f1 45%, #8b5cf6 100%);
}

.project-card__body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.project-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  color: var(--color-heading);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.project-card__desc {
  margin: 0 0 1rem;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: #4b5563;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.project-card__tags li {
  padding: 0.25rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 6px;
}

.project-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0.65rem 1.35rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #3730a3 0%, #5b21b6 100%);
  border-radius: var(--btn-radius);
  box-shadow: 0 3px 12px rgba(91, 33, 182, 0.28);
  transition: var(--btn-transition);
}

.project-card__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(91, 33, 182, 0.38);
  filter: brightness(1.06);
}

.project-card__cta:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Contact page */

.page-contact {
  flex: 1;
  background: var(--color-bg);
}

.contact-page-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: var(--space-section-y-tight) 1.5rem var(--space-section-y);
}

.contact-page-header {
  margin-bottom: var(--space-inner);
}

.contact-page-header h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.contact-page-lede {
  margin: 0;
  max-width: 42rem;
  font-family: var(--font-body);
  font-size: var(--text-subhead);
  font-weight: 400;
  line-height: var(--leading-relaxed);
  color: #4b5563;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 16rem);
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}

@media (max-width: 767.98px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-form-column {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .contact-form {
    width: 100%;
    max-width: 100%;
  }

  .contact-aside {
    width: 100%;
    max-width: 100%;
  }

  .contact-input,
  .contact-select {
    min-height: var(--touch-min);
  }

  .contact-textarea {
    min-height: 9rem;
  }

  .contact-aside__link {
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0;
  }
}

.contact-form-column {
  min-width: 0;
}

.contact-form {
  background: #fff;
  padding: clamp(1.35rem, 3vw, 1.75rem);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(15, 20, 25, 0.05);
}

.contact-field {
  margin-bottom: 1.25rem;
}

.contact-field:last-of-type {
  margin-bottom: 1.5rem;
}

.contact-label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  letter-spacing: 0.01em;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.95rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: #111827;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.contact-textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' viewBox='0 0 12 8'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1.5 6 6l5-4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

.contact-input:hover,
.contact-select:hover,
.contact-textarea:hover {
  border-color: #9ca3af;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

.contact-input:focus-visible,
.contact-select:focus-visible,
.contact-textarea:focus-visible {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--touch-min);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #3730a3 0%, #5b21b6 100%);
  border: none;
  border-radius: var(--btn-radius);
  box-shadow: 0 3px 12px rgba(91, 33, 182, 0.28);
  transition: var(--btn-transition);
}

.contact-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(91, 33, 182, 0.38);
  filter: brightness(1.06);
}

.contact-submit:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 3px;
}

.contact-submit__spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-status {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
  background: rgba(224, 231, 255, 0.9);
  color: #4338ca;
  font-size: 0.98rem;
  line-height: 1.5;
}

.contact-status--error {
  border-color: rgba(79, 70, 229, 0.3);
  background: rgba(238, 242, 255, 0.9);
}

.contact-success {
  background: rgba(219, 234, 254, 0.95);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 2px 12px rgba(67, 56, 202, 0.08);
}

.contact-success__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: var(--text-subhead);
  font-weight: 700;
  color: var(--color-primary-dark);
}

.contact-success__text {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--color-primary);
}

.admin-submissions__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-status {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  font-size: 0.95rem;
}

.admin-status--error {
  background: rgba(224, 231, 255, 0.9);
  color: #4338ca;
}

.admin-loading {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: #374151;
}

.admin-submissions-list {
  display: grid;
  gap: 1.25rem;
}

.admin-auth-card,
.admin-panel {
  padding: 1.5rem;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.admin-auth-card {
  max-width: 560px;
}

.admin-auth-card__header,
.admin-panel__header {
  margin-bottom: 1.25rem;
}

.admin-auth-card__header h2,
.admin-panel__header h3,
.admin-dashboard__header h2 {
  margin: 0 0 0.45rem;
  color: #111827;
}

.admin-auth-card__header p,
.admin-panel__header p,
.admin-session-label {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-import-export {
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.admin-import-export__header {
  margin-bottom: 1rem;
}

.admin-import-export__header h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #111827;
}

.admin-import-export__header p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.admin-import-export__actions {
  margin-bottom: 1rem;
}

.admin-import-export__upload {
  display: grid;
  gap: 0.75rem;
}

.admin-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.admin-tab-button {
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    background 0.2s ease;
}

.admin-tab-button:hover,
.admin-tab-button:focus-visible {
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.12);
  outline: none;
}

.admin-tab-button.is-active {
  background: linear-gradient(135deg, #3730a3 0%, #5b21b6 100%);
  color: #ffffff;
  border-color: transparent;
}

.admin-tab-panel[hidden] {
  display: none;
}

.admin-checkbox-group {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  display: grid;
  gap: 0.9rem;
}

.admin-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #334155;
  font-weight: 600;
}

.admin-checkbox-item input {
  width: 1rem;
  height: 1rem;
  accent-color: #4338ca;
}

html[data-hide-home="true"] li:has(> a[href="index.html"]) {
  display: none;
}

html[data-hide-about="true"] li:has(> a[href="about.html"]) {
  display: none;
}

html[data-hide-projects="true"] li:has(> a[href="projects.html"]) {
  display: none;
}

html[data-hide-contact="true"] li:has(> a[href="contact.html"]) {
  display: none;
}

html[data-hide-ott-tab="true"] li:has(> a[href="ott-movies.html"]) {
  display: none;
}

html[data-hide-site-header="true"] .site-header,
body.ott-screen .site-header {
  display: none;
}

html[data-hide-about="true"] #about,
html[data-hide-projects="true"] #projects,
html[data-hide-contact="true"] #contact {
  display: none;
}

.admin-dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.admin-empty {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #f9fafb;
  color: #4b5563;
  border: 1px dashed rgba(107, 114, 128, 0.35);
}

.submission-card {
  padding: 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.submission-card--read {
  background: #f9fafb;
  border-color: rgba(107, 114, 128, 0.18);
}

.submission-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.submission-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.submission-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: #6366f1;
}

.submission-card--read .submission-card__status {
  background: #6b7280;
}

.submission-card__date {
  color: #6b7280;
  font-size: 0.95rem;
}

.submission-card__meta {
  margin: 0.5rem 0;
  color: #374151;
  font-size: 0.98rem;
}

.submission-card__message {
  margin: 1rem 0;
  color: #1f2937;
  line-height: 1.75;
}

.submission-card__controls {
  display: flex;
  justify-content: flex-end;
}

.submission-card__button {
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #3730a3 0%, #5b21b6 100%);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.submission-card__button:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.submission-card__button:not(:disabled):hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

@media (max-width: 900px) {
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard__header,
  .admin-submissions__header {
    flex-direction: column;
    align-items: stretch;
  }
}

.contact-aside {
  padding: 1.35rem 1.25rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(15, 20, 25, 0.05);
}

.contact-aside__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-heading);
  font-size: var(--text-subhead);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.contact-aside__list {
  margin: 0;
}

.contact-aside__row {
  margin-bottom: 1.15rem;
}

.contact-aside__row:last-child {
  margin-bottom: 0;
}

.contact-aside__dt {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7280;
}

.contact-aside__dd {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: #1f2937;
}

.contact-aside__link {
  color: #4f46e5;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(79, 70, 229, 0.35);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.contact-aside__link:hover {
  color: #4338ca;
  border-bottom-color: #4338ca;
}

.contact-aside__link:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
  border-radius: 2px;
}

.page-ott {
  background: #05070d;
  color: #e2e8f0;
  min-height: 100vh;
}

.ott-hero,
.ott-section {
  padding: 0.6rem clamp(0.75rem, 3vw, 1rem);
  width: min(100%, var(--page-max-width));
  max-width: var(--page-max-width);
  margin: 0 auto;
}

.ott-hero {
  color: #0f172a;
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.ott-hero__visual {
  grid-column: 1;
  position: relative;
  min-height: 170px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.ott-hero__panel {
  grid-column: 2;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 24px;
  object-fit: cover;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.ott-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #0f172a;
  max-width: 100%;
}

.page-ott .section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f8fafc;
  max-width: 100%;
}

.page-ott .section-heading .eyebrow,
.page-ott .ott-filter-label,
.page-ott .ott-movie-count {
  color: rgba(248, 250, 252, 0.75);
}

.ott-movie-count {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.page-ott .ott-table-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 1.5rem;
}

.page-ott .ott-table-wrap {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 0.25rem;
}

.ott-hero__tagline,
.ott-trending-card__body p,
.ott-movie-card__meta {
  margin: 0.35rem 0 0;
  max-width: 34rem;
  color: #475569;
  line-height: 1.5;
  font-size: clamp(0.97rem, 1.4vw, 1.03rem);
}

.ott-hero__updated-note {
  margin: 0.25rem 0 0;
  color: #475569;
  font-size: 0.7rem;
  line-height: 1.2;
}

.ott-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.share-button:hover,
.share-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
}

.share-button__icon {
  display: inline-flex;
  width: 1.3rem;
  height: 1.3rem;
}

.share-button__icon svg {
  width: 100%;
  height: 100%;
}

.share-button__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.share-button--whatsapp {
  background: #25d366;
}

.share-button--telegram {
  background: #26a5de;
}

.share-button--twitter {
  background: #1da1f2;
}

.ott-filter-button {
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  background: rgba(31, 41, 55, 0.78);
  color: #e2e8f0;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ott-filter-button:hover,
.ott-filter-button:focus-visible {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.4);
}

.ott-filter-button.is-active {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.55);
  color: #ffffff;
}

.ott-table-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 1.25rem 0;
  align-items: center;
}

.ott-filter-actions {
  justify-content: flex-end;
}

.ott-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.ott-filter-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
  gap: 0.75rem;
}

.ott-filter-label {
  font-size: 0.9rem;
  color: #94a3b8;
}

.ott-filter-actions .ott-select {
  min-width: 220px;
}

.ott-filter-mobile {
  display: none;
  width: 100%;
}

.ott-filter-mobile .ott-filter-label {
  display: block;
  margin-bottom: 0.45rem;
}

.ott-filter-mobile .ott-select {
  width: 100%;
}

.ott-hero__visual {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.ott-hero__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  color: #0f172a;
  font-weight: 700;
}

.ott-hero__cards {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.ott-hero-card {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.ott-hero-card--featured {
  background: linear-gradient(180deg, rgba(219, 234, 254, 0.88), rgba(224, 231, 255, 0.95));
}

.ott-hero-card span,
.ott-trending-card__partner,
.ott-movie-card__partner,
.ott-movie-card__category {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.8);
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ott-hero-card h2 {
  margin: 0;
  font-size: 1.7rem;
}

.ott-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.ott-controls__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ott-select {
  min-width: 220px;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  background: rgba(15, 23, 42, 0.95);
  color: #e2e8f0;
}

.ott-controls__meta {
  align-items: flex-end;
}

.ott-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
}

.ott-movies-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border-radius: 28px;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(79, 70, 229, 0.18);
}

.ott-movies-table thead {
  background: #e0e7ff;
}

.ott-movies-table th,
.ott-movies-table td {
  padding: 1.15rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(79, 70, 229, 0.18);
  color: #0f172a;
}

.ott-movies-table th {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #475569;
}

.ott-movies-table tbody tr:hover {
  background: #eef2ff;
}

.ott-movies-table tbody tr:last-child td {
  border-bottom: none;
}

.ott-movies-table td:first-child {
  font-weight: 700;
  color: #0f172a;
}

.ott-movies-table td:nth-child(3) {
  color: #4338ca;
}

.ott-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  color: #94a3b8;
}

.ott-trending-carousel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ott-trending-card {
  position: relative;
  min-height: 180px;
  padding: 1.3rem;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(79, 70, 229, 0.2);
  overflow: hidden;
}

.ott-trending-card__stripe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #6366f1, #4f46e5);
}

.ott-trending-card__body {
  position: relative;
  display: grid;
  gap: 0.75rem;
  z-index: 1;
}

.ott-trending-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.page-ott .ott-trending {
  display: none;
}

.ott-empty {
  margin: 3rem 0;
  text-align: center;
  color: #94a3b8;
}

.site-footer,
.site-header,
.nav-menu,
.ott-hero,
.ott-section {
  color: inherit;
}

@media (max-width: 980px) {
  .ott-hero,
  .ott-trending-carousel,
  .ott-movies-grid {
    grid-template-columns: 1fr;
  }

  .ott-hero {
    padding: 1.5rem 1rem;
    align-items: flex-start;
    gap: 1rem;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ott-hero__visual {
    min-height: 130px;
    width: 100%;
    max-width: 100%;
  }

  .ott-hero__panel {
    grid-column: 1;
    width: 100%;
    align-items: center;
    text-align: center;
    padding-top: 0.75rem;
  }

  .ott-hero h1 {
    font-size: clamp(1.9rem, 6vw, 2.6rem);
  }

  .ott-hero__tagline {
    max-width: 100%;
    margin-top: 1rem;
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    text-align: center;
  }

  .ott-table-wrap {
    margin-top: 1rem;
  }

  .ott-movies-table {
    min-width: 640px;
  }
}

@media (max-width: 640px) {
  .ott-hero {
    padding: 1.25rem 1rem;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .eyebrow {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ott-hero__visual {
    min-height: 130px;
    width: 100%;
  }

  .ott-hero__panel {
    align-items: center;
    text-align: center;
    width: 100%;
    padding-top: 0.75rem;
  }

  .ott-hero__panel h1 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .ott-hero__tagline {
    max-width: 100%;
    margin-top: 0.85rem;
    font-size: clamp(0.95rem, 2.4vw, 1.05rem);
    text-align: center;
  }

  .ott-hero__actions,
  .ott-controls,
  .ott-table-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .ott-filter-buttons {
    width: 100%;
    display: none;
    justify-content: stretch;
  }

  .ott-filter-actions {
    width: 100%;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
  }

  .ott-filter-mobile {
    display: block;
  }

  .ott-filter-button,
  .ott-select {
    width: 100%;
  }

  .ott-filter-button {
    justify-content: center;
  }

  .ott-filter-actions .ott-select {
    max-width: 100%;
  }

  .ott-movies-table {
    min-width: 100%;
  }

  .ott-movies-table th,
  .ott-movies-table td {
    padding: 0.85rem 0.9rem;
  }

  .ott-movies-table th {
    font-size: 0.78rem;
  }

  .ott-movies-table td {
    font-size: 0.92rem;
  }

  .ott-trending-card {
    min-height: auto;
  }

  .ott-trending-card__body {
    gap: 0.65rem;
  }
}
