:root {
  --red: #8b0000;
  --red-bright: #d52a2a;
  --red-soft: rgba(139, 0, 0, 0.09);
  --red-line: rgba(139, 0, 0, 0.42);
  --ink: #151313;
  --muted: #686262;
  --surface: #ffffff;
  --surface-soft: #fbf8f8;
  --border: rgba(42, 23, 23, 0.1);
  --shadow: 0 12px 34px rgba(31, 18, 18, 0.07);
  --shadow-hover: 0 20px 52px rgba(31, 18, 18, 0.11);
  --radius-card: 22px;
  --radius-inner: 16px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: #fff;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  background: linear-gradient(180deg, #fff 0%, #fdfbfb 52%, #fff 100%);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

img,
iframe {
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
.expandable-trigger:focus-visible {
  outline: 3px solid rgba(213, 42, 42, 0.28);
  outline-offset: 3px;
}

.accent-text,
.brand-red {
  color: var(--red);
  font-weight: 700;
}

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 6000;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  box-shadow: 0 0 12px rgba(139, 0, 0, 0.24);
  pointer-events: none;
}

.cursor {
  position: fixed;
  z-index: 7000;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(139, 0, 0, 0.72);
  border-radius: 50%;
  background: rgba(139, 0, 0, 0.06);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.18s ease, height 0.18s ease, background 0.18s ease;
}

.cursor.active {
  width: 32px;
  height: 32px;
  background: rgba(139, 0, 0, 0.12);
}

.cursor.click {
  width: 13px;
  height: 13px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-content: center;
  overflow: hidden;
  padding: 60px 24px 120px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 38%, rgba(139, 0, 0, 0.08), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fffafa 100%);
}

.hero::after {
  position: absolute;
  right: 12%;
  bottom: 16%;
  left: 12%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.2), transparent);
}

.ambient {
  position: absolute;
  width: min(580px, 78vw);
  aspect-ratio: 1;
  border: 1px solid rgba(139, 0, 0, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(139, 0, 0, 0.04) inset;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5.2rem);
  font-weight: 900;
  letter-spacing: clamp(2px, 0.55vw, 7px);
  background: linear-gradient(90deg, #111, #6e0d0d 62%, #111);
  background-clip: text;
  color: transparent;
}

.hero p {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #615b5b;
  font-size: clamp(0.95rem, 2vw, 1.18rem);
  letter-spacing: 0.08em;
}

nav {
  position: fixed;
  z-index: 4000;
  right: 50%;
  bottom: 18px;
  display: flex;
  width: min(1040px, calc(100% - 28px));
  gap: 6px;
  justify-content: center;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 40px rgba(30, 18, 18, 0.13);
  backdrop-filter: blur(16px);
  transform: translateX(50%);
  scrollbar-width: none;
}

nav::-webkit-scrollbar {
  display: none;
}

nav button {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #4f4848;
  cursor: pointer;
  font: 600 0.78rem "Poppins", sans-serif;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

nav button:hover,
nav button.active {
  background: rgba(139, 0, 0, 0.08);
  color: var(--red);
}

nav button:active {
  transform: translateY(1px);
}

.scroll-top {
  position: fixed;
  z-index: 3500;
  right: 18px;
  bottom: 92px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(139, 0, 0, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(30, 18, 18, 0.12);
  color: var(--red);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

section {
  position: relative;
  padding: clamp(76px, 8vw, 120px) 4%;
  scroll-margin-top: 36px;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(139, 0, 0, 0.018), rgba(255, 255, 255, 0));
}

.section-title {
  margin: 0 auto 20px;
  color: #171414;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.025em;
}

.section-title::after {
  display: block;
  width: 64px;
  height: 3px;
  margin: 17px auto 0;
  border-radius: 99px;
  content: "";
  background: linear-gradient(90deg, rgba(139, 0, 0, 0.18), var(--red), rgba(139, 0, 0, 0.18));
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 42px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
  text-align: center;
}

.section-intro-wide {
  max-width: 860px;
}

.video-grid {
  display: flex;
  max-width: 1480px;
  margin: 0 auto;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.video-card,
.reel-card,
.dual-reel-card,
.long-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, var(--surface), var(--surface-soft));
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.28s ease, border-color 0.28s ease;
}

.video-card.show,
.reel-card.show,
.dual-reel-card.show,
.long-card.show {
  opacity: 1;
  transform: translateY(0);
}

.video-card.show:hover,
.reel-card.show:hover,
.dual-reel-card.show:hover,
.long-card.show:hover {
  border-color: rgba(139, 0, 0, 0.18);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.video-card {
  display: flex;
  width: calc((100% - 72px) / 4);
  min-width: 0;
  max-width: 350px;
  flex: 0 1 calc((100% - 72px) / 4);
  flex-direction: column;
  padding: 16px;
}

.orange-project {
  display: grid;
  width: min(100%, 1120px);
  max-width: 1120px;
  flex: 1 1 100%;
  grid-template-columns: minmax(250px, 0.72fr) minmax(520px, 1.55fr);
  grid-template-areas:
    "orange-logo orange-player"
    "orange-title orange-player"
    "orange-description orange-player"
    "orange-link orange-open";
  gap: 14px 22px;
  align-items: start;
  padding: 20px;
}

.orange-project .video-logo {
  grid-area: orange-logo;
  min-height: 190px;
  margin: 0;
}

.orange-project .video-header {
  grid-area: orange-title;
  min-height: auto;
  margin: 0;
}

.orange-project .video-frame {
  grid-area: orange-player;
  width: 100%;
  align-self: stretch;
  aspect-ratio: 16 / 9;
  min-height: 360px;
}

.orange-project .open-video-btn {
  grid-area: orange-open;
  margin-top: 0;
}

.orange-project .video-desc {
  grid-area: orange-description;
  margin-top: 0;
}

.orange-project .project-link-btn {
  grid-area: orange-link;
  margin-top: 0;
  align-self: center;
}

.video-logo {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 164px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(139, 0, 0, 0.22);
  border-radius: var(--radius-inner);
  background: #dfb8b8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 8px 24px rgba(70, 25, 25, 0.07);
  padding: 14px 12px;
}

.video-logo img {
  position: relative;
  z-index: 1;
  width: min(190px, 82%);
  height: 132px;
  object-fit: contain;
  background: transparent;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.95))
    drop-shadow(0 2px 1px rgba(20, 8, 8, 0.98))
    drop-shadow(0 5px 4px rgba(20, 8, 8, 0.78))
    drop-shadow(0 12px 14px rgba(20, 8, 8, 0.42));
  transition: transform 0.3s var(--ease), filter 0.25s ease;
}

.video-card:hover .video-logo img,
.reel-card:hover .video-logo img,
.dual-reel-card:hover .video-logo img {
  transform: scale(1.025);
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 1))
    drop-shadow(0 2px 1px rgba(20, 8, 8, 1))
    drop-shadow(0 6px 5px rgba(20, 8, 8, 0.84))
    drop-shadow(0 14px 16px rgba(20, 8, 8, 0.46));
}

.orange-project .video-logo img {
  width: min(210px, 82%);
  height: 156px;
  border-radius: 12px;
}

.custom-drive-reel .video-logo img {
  width: min(230px, 88%);
  height: 118px;
  border-radius: 10px;
}

.video-header {
  display: grid;
  min-height: 54px;
  place-items: center;
  margin-bottom: 11px;
  text-align: center;
}

.video-header h3 {
  margin: 0;
  color: #1d1919;
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.video-frame {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: #080808;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.video-frame iframe {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}


.video-frame[data-provider="drive"] {
  aspect-ratio: 16 / 9;
}

.video-placeholder {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(110deg, #090909 25%, #1b1414 43%, #090909 61%);
  background-size: 220% 100%;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  animation: video-shimmer 1.35s linear infinite;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-frame:not(.is-pending) .video-placeholder {
  visibility: hidden;
  opacity: 0;
}

.video-frame.has-error .video-placeholder {
  visibility: visible;
  opacity: 1;
  animation: none;
}

.video-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-top-color: #e0b5b5;
  border-radius: 50%;
  animation: video-spin 0.75s linear infinite;
}

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

@keyframes video-shimmer {
  to { background-position: -220% 0; }
}

.open-video-btn {
  display: inline-flex;
  width: 100%;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 11px;
  padding: 10px 16px;
  border: 1px solid rgba(139, 0, 0, 0.17);
  border-radius: 13px;
  background: #181515;
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.09);
  color: #fff;
  cursor: pointer;
  font: 600 0.86rem "Poppins", sans-serif;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.open-video-btn i {
  color: #e4bcbc;
  font-size: 0.82rem;
}

.open-video-btn:hover {
  background: #291d1d;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.13);
  transform: translateY(-2px);
}

.video-desc,
.long-desc {
  margin-top: 14px;
  padding: 15px 16px;
  border: 1px solid rgba(42, 23, 23, 0.075);
  border-left: 2px solid var(--red-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.72;
}

.video-desc .line {
  display: block;
}

.video-desc strong {
  color: #711616;
  font-weight: 650;
}

.project-link-btn,
.long-btn,
.skills-btn,
.cv-button-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(139, 0, 0, 0.3);
  border-radius: 12px;
  background: transparent;
  color: #711616;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-link-btn {
  align-self: center;
  margin-top: auto;
  padding: 9px 17px;
  font-size: 0.84rem;
}

.project-link-btn:hover,
.long-btn:hover,
.skills-btn:hover,
.cv-button-main:hover {
  background: var(--red);
  box-shadow: 0 8px 22px rgba(139, 0, 0, 0.17);
  color: #fff;
  transform: translateY(-2px);
}

.video-card .gaming-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  object-fit: cover;
  background: #f7f5f5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.11);
}

.video-card .gaming-profile-image {
  object-fit: contain;
}

.video-card.vertical-video {
  max-width: 350px;
}

.video-card.vertical-video .video-frame {
  aspect-ratio: 9 / 16;
}

.reels-container {
  display: grid;
  max-width: 1480px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.reel-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
}

.reel-card .video-logo {
  min-height: 142px;
}

.reel-card .video-logo img {
  width: min(158px, 78%);
  height: 110px;
}

.reel-card .video-frame,
.dual-reels-wrapper .video-frame {
  aspect-ratio: 9 / 16;
}

.reel-card .video-desc {
  text-align: center;
}

.reel-social-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  padding-top: 15px;
  flex-wrap: wrap;
}

.reel-social-btn {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reel-social-btn:hover {
  opacity: 0.86;
  transform: translateY(-2px);
}

.reel-social-btn.facebook { background: #1877f2; }
.reel-social-btn.instagram { background: #cf346d; }
.reel-social-btn.tiktok { background: #131313; }
.reel-social-btn.website { background: #711616; }

.dual-reel-card {
  display: flex;
  grid-column: span 2;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  padding: 18px;
}

.dual-reel-card:last-child {
  grid-column: 2 / span 2;
}

.dual-reel-card .video-logo {
  min-height: 136px;
}

.dual-reel-card .video-logo img {
  width: min(185px, 70%);
  height: 108px;
}

.dual-reels-wrapper {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reel-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.reel-title {
  display: grid;
  min-height: 48px;
  place-items: center;
  margin-bottom: 9px;
  color: #2a2424;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.video-modal {
  position: fixed;
  z-index: 8000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 7, 0.78);
  backdrop-filter: blur(9px);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, 94vw);
  max-height: 92svh;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 22px;
  background: #fdfcfc;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}

.video-modal-content {
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 9;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.video-modal-content.is-vertical {
  width: min(440px, 84vw);
  max-height: 84svh;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
}

.video-modal-content iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.video-modal.orange-modal .video-modal-panel {
  width: min(1480px, 97vw);
  max-height: 96svh;
}

.video-modal.orange-modal .video-modal-content {
  width: 100%;
  height: min(84svh, 820px);
  aspect-ratio: auto;
}


.video-modal-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(20, 16, 16, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.14);
  color: var(--red);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-modal-close:hover {
  transform: scale(1.05);
}

.cv-button-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.cv-button-main {
  padding: 11px 24px;
}

.about-container,
.contact-box {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.about-intro,
.about-summary,
.about-highlights-title {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.82;
}

.about-role {
  display: block;
  margin-top: 10px;
  color: #302b2b;
  font-weight: 600;
}

.expandable-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--red);
  cursor: pointer;
  font-weight: 650;
}

.expandable-trigger .fa-chevron-right {
  font-size: 0.76em;
  transition: transform 0.22s ease;
}

.expandable-trigger.active .fa-chevron-right {
  transform: rotate(90deg);
}

.expandable-content {
  max-height: 0;
  margin: 0 0 0 10px;
  overflow: hidden;
  border-left: 2px solid rgba(139, 0, 0, 0.45);
  border-radius: 0 12px 12px 0;
  background: rgba(139, 0, 0, 0.035);
  transition: max-height 0.35s var(--ease), padding 0.35s var(--ease), margin 0.35s var(--ease);
}

.expandable-content.active {
  margin-top: 10px;
  margin-bottom: 18px;
  padding: 14px 18px;
}

.details-list,
.software-list,
.highlights-list {
  list-style: none;
}

.details-list li,
.software-list li {
  display: flex;
  gap: 9px;
  margin-bottom: 9px;
  color: var(--muted);
}

.details-list i,
.software-list i,
.highlights-list i {
  color: var(--red);
}

.highlights-list {
  display: grid;
  margin: 22px 0 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.highlights-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 13px 14px;
  border: 1px solid rgba(42, 23, 23, 0.07);
  border-radius: 13px;
  background: rgba(139, 0, 0, 0.025);
  color: #514b4b;
  font-size: 0.91rem;
  line-height: 1.6;
}

.highlights-list a {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.skills-button-container {
  display: flex;
  justify-content: center;
}

.skills-btn {
  padding: 10px 22px;
}

.stats {
  display: grid;
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  padding: 18px 12px;
  border: 1px solid rgba(139, 0, 0, 0.08);
  border-radius: 15px;
  background: rgba(139, 0, 0, 0.03);
  color: var(--red);
  font-family: "Orbitron", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

.stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
}

.khyoot-note {
  max-width: 760px;
  margin: 0 auto 26px;
  padding: 13px 17px;
  border: 1px solid rgba(139, 0, 0, 0.1);
  border-radius: 13px;
  background: rgba(139, 0, 0, 0.035);
  color: var(--muted);
  text-align: center;
}

.khyoot-note strong,
.khyoot-note i {
  color: var(--red);
}

.long-container {
  display: grid;
  max-width: 1180px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.long-card {
  padding: 18px;
}

.long-image-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 15px;
  background: #111;
}

.long-image-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}

.long-card:hover .long-image-container img {
  transform: scale(1.025);
}

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

.long-desc {
  width: 100%;
  text-align: center;
}

.long-btn {
  margin-top: 18px;
  padding: 10px 20px;
}

.contact-box {
  max-width: 720px;
  text-align: center;
}

.contact-box p {
  margin-bottom: 24px;
  color: var(--muted);
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px;
  padding: 10px 17px;
  border: 1px solid rgba(139, 0, 0, 0.22);
  border-radius: 12px;
  color: #4f4545;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
  background: rgba(139, 0, 0, 0.08);
  color: var(--red);
  transform: translateY(-2px);
}

footer {
  margin-top: 38px;
  padding: 24px 14px 100px;
  border-top: 1px solid rgba(139, 0, 0, 0.08);
  color: #817a7a;
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 1180px) {
  .video-card {
    width: calc((100% - 24px) / 2);
    max-width: 430px;
    flex-basis: calc((100% - 24px) / 2);
  }

  .orange-project {
    width: min(100%, 920px);
    max-width: 920px;
    flex-basis: 100%;
    grid-template-columns: minmax(230px, 0.7fr) minmax(430px, 1.4fr);
  }

  .orange-project .video-frame {
    min-height: 315px;
  }

  .reels-container {
    max-width: 920px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dual-reel-card,
  .dual-reel-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .cursor {
    display: none;
  }

  nav {
    right: auto;
    left: 14px;
    justify-content: flex-start;
    transform: none;
  }

  nav button {
    padding: 8px 11px;
    font-size: 0.72rem;
  }

  section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .video-card {
    width: 100%;
    max-width: 460px;
    flex-basis: 100%;
  }

  .orange-project {
    display: flex;
    width: 100%;
    max-width: 560px;
    flex-basis: 100%;
    flex-direction: column;
    padding: 16px;
  }

  .orange-project .video-logo,
  .orange-project .video-header,
  .orange-project .video-frame,
  .orange-project .open-video-btn,
  .orange-project .video-desc,
  .orange-project .project-link-btn {
    width: 100%;
  }

  .orange-project .video-logo {
    min-height: 176px;
    margin-bottom: 12px;
  }

  .orange-project .video-header {
    min-height: 54px;
    margin-bottom: 11px;
  }

  .orange-project .video-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .orange-project .open-video-btn {
    margin-top: 11px;
  }

  .orange-project .video-desc {
    margin-top: 14px;
  }

  .orange-project .project-link-btn {
    width: auto;
    margin-top: auto;
  }

  .video-modal.orange-modal .video-modal-panel {
    width: 98vw;
    max-height: 97svh;
    padding: 10px;
  }

  .video-modal.orange-modal .video-modal-content {
    height: min(78svh, 720px);
  }

  .reels-container,
  .long-container,
  .highlights-list {
    grid-template-columns: 1fr;
  }

  .reel-card,
  .dual-reel-card,
  .dual-reel-card:last-child {
    grid-column: 1;
  }

  .dual-reels-wrapper {
    grid-template-columns: 1fr;
  }

  .reel-card .video-frame,
  .dual-reels-wrapper .video-frame {
    width: min(100%, 390px);
    margin: 0 auto;
  }

  .stats {
    gap: 9px;
  }

  .stat {
    padding: 14px 8px;
    font-size: 1.55rem;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal-panel {
    width: 96vw;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-bottom: 110px;
  }

  .hero p {
    letter-spacing: 0.035em;
  }

  .video-card,
  .reel-card,
  .dual-reel-card,
  .long-card {
    padding: 13px;
    border-radius: 19px;
  }

  .video-logo {
    min-height: 132px;
  }

  .video-logo img {
    height: 102px;
  }

  .orange-project .video-logo img {
    width: min(190px, 78%);
    height: 138px;
  }

  .reel-card .video-logo {
    min-height: 120px;
  }

  .about-container,
  .contact-box {
    padding: 24px 18px;
  }

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

  .scroll-top {
    display: none;
  }
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
