﻿.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 20px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.art-item:hover img {
  transform: scale(1.05);
}*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}

body{
  font-family:'Manrope',sans-serif;
  background:var(--bg-main);
  color:var(--text-main);
  overflow-x:hidden;
}


:root{
  --bg-main:#060606;
  --bg-secondary:#0e0e0e;
  --text-main:#ffffff;
  --text-muted:rgba(255,255,255,0.7);
  --accent1:#7b2ff7;
  --accent2:#ff7a18;
	--header-bg:rgba(10,10,10,0.85);
--header-bg-solid:#0e0e0e;
}

body{
  background:var(--bg-main);
  color:var(--text-main);
  transition:background 0.4s ease,color 0.4s ease;
	text-align: center;
}

/* LIGHT MODE */
body.light-mode{
  --bg-main:#f6f7fb;
  --bg-secondary:#ffffff;
  --text-main:#111111;
  --text-muted:#555;
	--header-bg:rgba(255,255,255,0.85);
--header-bg-solid:#ffffff;
}

/* Progress bar */
#progress-bar{position:fixed;top:0;left:0;height:4px;background:linear-gradient(90deg,#7b2ff7,#ff7a18);width:0;z-index:9999;transition:0.25s ease;}

/* Background Animation */
body, html{
  width:100%;
  min-width:100%;
}

.bg-creative{
  position:fixed;
  top:0; left:0;
  width:100%;
  height:100vh;
  z-index:-1;
  background:
    radial-gradient(circle at 20% 30%, rgba(123,47,247,0.12), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(255,122,24,0.10), transparent 60%);
  animation:bgmove 20s infinite alternate linear;
}

/* Scrollbar */
::-webkit-scrollbar{width:10px;}
::-webkit-scrollbar-track{background:#111;}
::-webkit-scrollbar-thumb{background:linear-gradient(#3a0ca3,#7b2ff7);border-radius:10px;}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 110px;

  background: var(--header-bg);
  backdrop-filter: blur(18px);

  border-bottom: none; /* remove this */
	
	  border-bottom: 1px solid rgba(255,255,255,0.05);

	
}



.header::after{
  content:"";
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:1px;

  background: linear-gradient(
    90deg,
    transparent,
    #7b2ff7,
    #ff7a18,
    transparent
  );

  opacity:0.4;
}













.container{width:90%;max-width:1300px;margin:auto;}
.nav-container{display:flex;justify-content:space-between;align-items:center;gap:16px;}
.logo img{height:105px;}
.nav{display:flex;gap:12px;align-items:center;}
.nav a{font-family:'Sora',sans-serif;font-weight:600;text-decoration:none;color:var(--text-main);letter-spacing:.35px;transition:.3s;}
.nav a:hover{color:#7b2ff7;}
.nav-main-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding-right:12px;
  font-size:14px;
  white-space:nowrap;
}

/* AP Cards gallery */
.ap-cards-page .wallpaper-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.ap-card-thumb {
  position: relative;
  border: 0;
  padding: 14px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    radial-gradient(circle at 50% 0%, rgba(123,47,247,0.18), transparent 60%),
    rgba(10,10,14,0.68);
  box-shadow: 0 18px 44px rgba(0,0,0,0.26);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ap-card-thumb::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.22) 48%, transparent 62%),
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.12), transparent 34%);
  opacity: 0;
  transform: translateX(-34%) rotate(10deg);
  transition: opacity 0.28s ease, transform 0.62s ease;
  pointer-events: none;
}

.ap-card-thumb:hover::before {
  opacity: 1;
  transform: translateX(34%) rotate(10deg);
}

.ap-card-thumb:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 26px 64px rgba(123,47,247,0.24), 0 16px 42px rgba(0,0,0,0.32);
}

.ap-card-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.28));
  transform: translateZ(0);
}

.ap-card-thumb img:hover {
  transform: none;
}

.ap-card-modal {
  perspective: 2600px;
}

.ap-card-modal:not(.active) .ap-card-stage,
.ap-card-modal:not(.active) .ap-card-slide,
.ap-card-modal:not(.active) .ap-card-controls,
.ap-card-modal:not(.active) .variation-nav {
  visibility: hidden;
  pointer-events: none !important;
}

.ap-card-stage {
  position: relative;
  width: min(96vw, 1180px);
  height: min(82vh, 780px);
  direction: ltr;
  display: block;
  cursor: grab;
  touch-action: none;
  transform-style: preserve-3d;
  overflow: visible;
  --ap-card-side-distance: clamp(260px, 32vw, 430px);
}

.ap-card-stage.is-dragging {
  cursor: grabbing;
}

.ap-card-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(31vw, 420px);
  aspect-ratio: 1265 / 1700;
  border: 0;
  padding: 0;
  border-radius: 24px;
  background: transparent;
  transform-style: preserve-3d;
  transition:
    transform 0.46s cubic-bezier(.2,.78,.18,1),
    opacity 0.36s ease,
    filter 0.36s ease,
    width 0.46s cubic-bezier(.2,.78,.18,1);
  will-change: transform, opacity, width;
}

.ap-card-slide.no-transition {
  transition: none !important;
}

.ap-card-slide[data-slot="center"] {
  z-index: 4;
  opacity: 1;
  cursor: grab;
  filter: saturate(1);
  transform: translate3d(-50%, -50%, 0) scale(1) rotateY(0deg);
  pointer-events: auto;
}

.ap-card-slide[data-slot="left"],
.ap-card-slide[data-slot="right"] {
  z-index: 2;
  width: min(19vw, 245px);
  cursor: pointer;
  opacity: 0.58;
  filter: saturate(0.86) blur(0.15px);
  pointer-events: auto;
}

.ap-card-slide[data-slot="left"] {
  transform: translate3d(calc(-50% - var(--ap-card-side-distance)), -50%, 0) scale(0.94) rotateY(15deg);
}

.ap-card-slide[data-slot="right"] {
  transform: translate3d(calc(-50% + var(--ap-card-side-distance)), -50%, 0) scale(0.94) rotateY(-15deg);
}

.ap-card-slide[data-slot="off-left"],
.ap-card-slide[data-slot="off-right"] {
  z-index: 1;
  width: min(19vw, 245px);
  opacity: 0;
  filter: saturate(0.75) blur(1px);
  pointer-events: none;
}

.ap-card-slide[data-slot="off-left"] {
  transform: translate3d(calc(-50% - var(--ap-card-side-distance) - 190px), -50%, 0) scale(0.76) rotateY(22deg);
}

.ap-card-slide[data-slot="off-right"] {
  transform: translate3d(calc(-50% + var(--ap-card-side-distance) + 190px), -50%, 0) scale(0.76) rotateY(-22deg);
}

.ap-card-stage.is-zoomed .ap-card-slide:not([data-slot="center"]) {
  opacity: 0;
  filter: blur(1.5px);
  pointer-events: none;
}

.ap-card-stage.is-zoomed .ap-card-slide[data-slot="left"] {
  transform: translate3d(calc(-50% - var(--ap-card-side-distance) - 120px), -50%, 0) scale(0.7) rotateY(20deg);
}

.ap-card-stage.is-zoomed .ap-card-slide[data-slot="right"] {
  transform: translate3d(calc(-50% + var(--ap-card-side-distance) + 120px), -50%, 0) scale(0.7) rotateY(-20deg);
}

.ap-card-slide::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.16), transparent 36%);
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.ap-card-slide[data-slot="left"]:hover,
.ap-card-slide[data-slot="right"]:hover {
  opacity: 0.88;
  filter: saturate(1) blur(0);
}

.ap-card-slide[data-slot="left"]:hover::before,
.ap-card-slide[data-slot="right"]:hover::before {
  opacity: 1;
}

.ap-card-rotator {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.16s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ap-card-stage.is-moving-next .ap-card-slide[data-slot="center"],
.ap-card-stage.is-moving-prev .ap-card-slide[data-slot="center"] {
  opacity: 0.9;
  filter: saturate(1) blur(0);
}

.ap-card-flipper {
  --card-light-x: 50%;
  --card-light-y: 28%;
  --card-shadow-x: 0px;
  --card-shadow-y: 18px;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ap-card-flipper::before,
.ap-card-flipper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 28px;
  pointer-events: none;
  transform: translateZ(2px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.ap-card-flipper::before {
  background:
    radial-gradient(circle at var(--card-light-x) var(--card-light-y), rgba(255,255,255,0.34), rgba(255,255,255,0.10) 18%, transparent 46%),
    linear-gradient(115deg, transparent 16%, rgba(255,255,255,0.16) 34%, transparent 54%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.ap-card-flipper::after {
  background:
    radial-gradient(circle at calc(100% - var(--card-light-x)) calc(100% - var(--card-light-y)), rgba(0,0,0,0.18), transparent 42%);
  opacity: 0.42;
}

.ap-card-face {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: drop-shadow(var(--card-shadow-x) var(--card-shadow-y) 24px rgba(0,0,0,0.36));
  transform: translateZ(0.01px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.18s ease;
  user-select: none;
  pointer-events: none;
}

.ap-card-front {
  z-index: 2;
  transform: rotateY(0deg) translateZ(1px);
}

.ap-card-back {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: rotateY(180deg) translateZ(1px);
}

.ap-card-flipper.is-flipped .ap-card-front {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: rotateY(-180deg) translateZ(1px);
}

.ap-card-flipper.is-flipped .ap-card-back {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transform: rotateY(0deg) translateZ(2px);
}

.ap-card-controls {
  gap: 10px;
}

.ap-card-controls .variation-modal-btn {
  position: static;
  font-size: 24px;
}

.ap-card-controls .ap-flip-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(123,47,247,0.84), rgba(255,122,24,0.78));
}

@media (max-width: 1180px) {
  .ap-cards-page .wallpaper-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ap-cards-page .wallpaper-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ap-cards-page .wallpaper-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ap-card-thumb {
    padding: 10px;
    border-radius: 18px;
  }

  .ap-card-stage {
    width: min(92vw, 430px);
    height: min(66vh, 540px);
    --ap-card-side-distance: clamp(170px, 58vw, 250px);
  }

  .ap-card-slide {
    width: min(68vw, 310px);
  }

  .ap-card-slide[data-slot="left"],
  .ap-card-slide[data-slot="right"],
  .ap-card-slide[data-slot="off-left"],
  .ap-card-slide[data-slot="off-right"] {
    width: min(34vw, 128px);
  }

  .ap-card-rotator {
    width: 100%;
    height: 100%;
  }

  .ap-card-controls {
    bottom: clamp(76px, 10vh, 94px);
    flex-wrap: wrap;
    max-width: min(330px, calc(100vw - 34px));
  }

  .ap-card-controls .variation-modal-btn {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}
.nav-main-link::after{
  content:"";
  position:absolute;
  top:50%;
  right:0;
  width:1px;
  height:18px;
  border-radius:999px;
  background:linear-gradient(180deg, transparent, rgba(123,47,247,0.82), rgba(255,122,24,0.78), transparent);
  opacity:0.55;
  transform:translateY(-50%);
}
.nav-main-link:hover::after{
  opacity:0.95;
}
.nav .btn.small{
  margin-left:2px;
  white-space:nowrap;
}

@media (max-width: 1120px) and (min-width: 769px) {
  .logo img {
    height: 96px;
  }

  .nav {
    gap: 9px;
  }

  .nav-main-link {
    padding-right: 10px;
    font-size: 13px;
  }

  .nav-main-link::after {
    height: 15px;
  }

  .nav .btn.small {
    padding-inline: 13px;
    font-size: 12.5px;
  }
}
.header-socials{display:flex;gap:18px;}
.header-socials a{color:var(--text-main);font-size:18px;transition:.3s;}
.header-socials a:hover{color:#7b2ff7;transform:translateY(-2px);}

/* Hero Section - Fully Horizontal */
.hero{display:flex;justify-content:space-between;align-items:center;gap:28px;min-height:80vh;padding:0 20px;}
.hero-text h1{font-family:'Sora',sans-serif;font-size:50px;font-weight:700;background:linear-gradient(90deg,#7b2ff7,#ff7a18);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
/* Hero signature title animation */
.hero-text .hero-signature-title {
  position: relative;
  display: inline-block;
  background: linear-gradient(100deg, #7b2ff7 0%, #ff7a18 34%, #ffffff 50%, #ff7a18 66%, #7b2ff7 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroSignatureFlow 7.5s ease-in-out infinite, heroSignatureFloat 6.5s ease-in-out infinite;
}

.hero-text .hero-signature-title::before,
.hero-text .hero-signature-title::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 18px rgba(255,122,24,0.55);
  opacity: 0;
  pointer-events: none;
}

.hero-text .hero-signature-title::before {
  top: 10%;
  right: 10%;
  animation: heroSparkA 4.8s ease-in-out infinite;
}

.hero-text .hero-signature-title::after {
  left: 5%;
  bottom: 12%;
  width: 4px;
  height: 4px;
  animation: heroSparkB 5.8s ease-in-out infinite 1.1s;
}
.hero-extra-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  opacity: 0;
  pointer-events: none;
}

.hero-extra-spark.spark-one {
  top: 28%;
  left: 37%;
  animation: heroSparkC 6.4s ease-in-out infinite 0.7s;
}

.hero-extra-spark.spark-two {
  right: 31%;
  bottom: 20%;
  animation: heroSparkD 7.2s ease-in-out infinite 2.1s;
}


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

@keyframes heroSignatureFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

@keyframes heroSparkA {
  0%, 62%, 100% { opacity: 0; transform: translate(0, 0) scale(0.45); }
  70% { opacity: 0.95; transform: translate(5px, -6px) scale(1); }
  82% { opacity: 0; transform: translate(12px, -14px) scale(0.3); }
}

@keyframes heroSparkB {
  0%, 48%, 100% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  57% { opacity: 0.85; transform: translate(-5px, -5px) scale(1); }
  70% { opacity: 0; transform: translate(-11px, -12px) scale(0.25); }
}
@keyframes heroSparkC {
  0%, 58%, 100% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  65% { opacity: 0.72; transform: translate(3px, -4px) scale(1); }
  76% { opacity: 0; transform: translate(8px, -10px) scale(0.2); }
}

@keyframes heroSparkD {
  0%, 52%, 100% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  60% { opacity: 0.68; transform: translate(-3px, 4px) scale(0.9); }
  72% { opacity: 0; transform: translate(-8px, 9px) scale(0.2); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text .hero-signature-title,
  .hero-text .hero-signature-title::before,
  .hero-text .hero-signature-title::after,
  .hero-extra-spark,
  .hero-image::before {
    animation: none;
  }
}
.hero-text p{margin:20px 0 30px;font-size:20px;opacity:.8;}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:14px;
}

.hero-actions .btn{
  min-height: 50px;
  padding: 14px 32px;
  border: 0;
  border-radius: 40px;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.hero-book-btn{
  appearance: none;
  -webkit-appearance: none;
  background:linear-gradient(135deg,#3a0ca3,#7b2ff7);
  box-shadow:0 16px 36px rgba(123,47,247,0.18);
  cursor:pointer;
}

.hero-book-btn i{
  filter:drop-shadow(0 5px 12px rgba(0,0,0,0.24));
}
.hero-image {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: 0;
  border-radius: 50%;
  background: linear-gradient(120deg, #7b2ff7, #ff7a18, #050505, #7b2ff7);
  background-size: 320% 320%;
  filter: drop-shadow(0 18px 34px rgba(123,47,247,0.22)) drop-shadow(0 0 22px rgba(255,122,24,0.18));
  animation: heroVideoFrameFlow 6s ease-in-out infinite;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(7,7,10,0.56);
  pointer-events: none;
}

.hero-image img,
.hero-video {
  position: relative;
  z-index: 2;
  width:416px;
  max-width: min(416px, 44vw);
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  box-shadow: 0 22px 50px rgba(0,0,0,0.34);
}

.hero-video-static .hero-video {
  transform: none !important;
}

@keyframes heroVideoFrameFlow {
  0%, 100% { background-position: 0% 50%; transform: scale(1); }
  50% { background-position: 100% 50%; transform: scale(1.012); }
}




/* Buttons */
.btn{ background:linear-gradient(135deg,#3a0ca3,#7b2ff7);
  color:#ffffff !important;padding:14px 32px;border-radius:40px;text-decoration:none;font-weight:600;display:inline-flex;align-items:center;gap:10px;transition:.3s;overflow:hidden;position:relative;}
.btn:hover{transform:translateY(-3px);}
.small{padding:12px 30px;font-size:14px;}
.large{padding:18px 50px;font-size:18px;}
.magnetic{transition:transform 0.2s ease;}
.ripple-effect{position:absolute;border-radius:50%;transform:scale(0);animation:ripple 0.6s linear;background:rgba(255,255,255,0.3);}
@keyframes ripple{to{transform:scale(4);opacity:0;}}


body.light-mode .btn{
  color:#ffffff !important;
}


body.light-mode .header{
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}




/* Sections */
.section{
  scroll-margin-top: 130px;
  padding:100px 0;   /* was 140px */
  opacity:0;
  transform:translateY(60px);
  transition:1s ease;
}
.section.active{opacity:1;transform:translateY(0);}
h2{font-family:'Sora',sans-serif;font-size:36px;font-weight:600;margin-bottom:10px;}

/* AI Section - Neon Glow + Tilt */
.ai-priority{margin-top:-60px;}
.ai-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;}

.ai-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  height:550px;
  border:3px solid rgba(255,255,255,0.8);
  background:#000;
}

.ai-card img{width:100%;height:100%;object-fit:cover;display:block;}
.ai-gif{position:absolute;top:0;left:0;opacity:0;}
.ai-card:hover .ai-gif{opacity:1;}
.ai-card:hover .ai-thumb{opacity:0;}


/* ===== Premium Section Divider ===== */

.section-divider{
  position:relative;
  width:100%;
  height:120px;
  overflow:hidden;
  pointer-events:none;
}

.section-divider svg{
  position:absolute;
  bottom:0;
  width:100%;
  height:100%;
}

.section-divider path{
  fill:var(--bg-main);
  transition:fill 0.4s ease;
}

/* Animated gradient glow behind wave */
.section-divider::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    120deg,
    rgba(123,47,247,0.15),
    rgba(255,122,24,0.15),
    rgba(123,47,247,0.15)
  );
  background-size:200% 200%;
  animation:dividerFlow 12s ease infinite;
  opacity:0.6;
}

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



/* Horizontal AI Scroll System */
.ai-scroll-wrapper{
  position:relative;
  display:flex;
  align-items:center;
}

.ai-scroll{
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  display:flex;
  width:100%;
}

.ai-scroll::-webkit-scrollbar{
  display:none;
}

.ai-page{
  min-width:100%;
  scroll-snap-align:start;
  padding: 45px 45px;
}

/* Keep your existing grid */
.ai-page .ai-grid{
  grid-template-columns:repeat(3,1fr);
}

#drawing-ai .ai-page .ai-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Navigation arrows */
.ai-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:45px;
  height:45px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,0.7);
  color:white;
  cursor:pointer;
  z-index:10;
  transition:0.3s;
}

.ai-nav:hover{
  background:linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.ai-nav.left{left:-20px;}
.ai-nav.right{right:-20px;}


/* Galleries */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;}
.grid img{width:100%;border-radius:20px;transition:.4s;}


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



.grid a{
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
}

/* INNER GRADIENT STROKE */
.grid a::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  padding:5px;

  background: linear-gradient(120deg, #7b2ff7, #ff7a18, #7b2ff7);
  background-size: 300% 300%;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity:0;
  transition:0.3s ease;
  pointer-events:none;
}

/* SHOW ON HOVER */
.grid a:hover::before{
  opacity:1;
  animation:strokeFlow 2.5s linear infinite;
}

/* IMAGE STAYS STILL */
.grid img{
  border-radius:20px;
  display:block;
}











/* Section button spacing */
.see-more-wrapper{margin-top:70px;text-align:center;}

/* Explore Again Footer Links */
.site-revisit {
  position: relative;
  width: min(1120px, 90%);
  margin: 82px auto 58px;
  padding: 44px 28px 40px;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 0%, rgba(123,47,247,0.22), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255,122,24,0.18), transparent 32%),
    rgba(255,255,255,0.035);
  box-shadow: 0 26px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-revisit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(255,255,255,0.09) 48%, transparent 78%);
  transform: translateX(-120%);
  animation: revisitShine 8s ease-in-out infinite;
  pointer-events: none;
}

.site-revisit .section-kicker,
.site-revisit h2,
.site-revisit p,
.site-revisit .revisit-links {
  position: relative;
  z-index: 1;
}

.site-revisit h2 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  background: linear-gradient(100deg,#7b2ff7 0%,#ff7a18 34%,#ffffff 50%,#ff7a18 66%,#7b2ff7 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aiDesignTitleGradient 5.8s ease-in-out infinite;
}

.site-revisit p {
  max-width: 580px;
  margin: 12px auto 0;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
}

.revisit-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 13px;
  margin-top: 30px;
}

.revisit-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 17px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.revisit-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(123,47,247,0.86), rgba(255,122,24,0.78));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.revisit-link i,
.revisit-link span {
  position: relative;
  z-index: 1;
}

.revisit-link i {
  color: #ffb15c;
  font-size: 15px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.revisit-link.primary {
  border-color: rgba(255,122,24,0.36);
  background: linear-gradient(135deg, rgba(123,47,247,0.42), rgba(255,122,24,0.28));
}

.revisit-link:hover,
.revisit-link:focus-visible {
  border-color: rgba(255,255,255,0.34);
  box-shadow: 0 18px 42px rgba(123,47,247,0.2), 0 0 24px rgba(255,122,24,0.12);
  transform: translateY(-3px);
}

.revisit-link:hover::before,
.revisit-link:focus-visible::before {
  opacity: 1;
}

.revisit-link:hover i,
.revisit-link:focus-visible i {
  color: #fff;
  transform: scale(1.08);
}

@keyframes revisitShine {
  0%, 55% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}

/* Footer */
.footer{border-top:1px solid rgba(255,255,255,0.1);padding:30px 0;}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:20px;}
.footer-links{display:flex;gap:25px;}
.footer-links a{color:var(--text-main);font-size:18px;opacity:.6;transition:.3s;}
.footer-links a:hover{opacity:1;color:#7b2ff7;}

/* Scroll Top */
#scrollTopBtn{position:fixed;bottom:30px;right:30px;width:50px;height:50px;border:none;border-radius:50%;background:#3a0ca3;color:white;display:none;justify-content:center;align-items:center;cursor:pointer;transition:.3s;}
#scrollTopBtn:hover{background:#7b2ff7;}

/* About Me Social Icons */
.about-socials{margin-top:40px;display:flex;gap:25px;justify-content:center;}
.about-socials a{color:#A2A2A2;font-size:22px;transition:.3s;}
.about-socials a:hover{color:#7b2ff7;transform:translateY(-3px);}

/* Responsive */
@media(max-width:992px){
  .hero{flex-direction:column;text-align:center;}
  .hero-image img,
  .hero-video {
  width:286px;
  margin-top:0;
	  
	  
}

@media (max-width: 992px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
  }
}
	
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: white;
  border-radius: 2px;

  transition: all 0.3s ease;
}

.nav{
  display:none;
}
	
  .grid,.ai-grid{grid-template-columns:1fr;}
  .nav{display:none;}
	
	
	.hero-text h1{font-size:36px;}

.hero-text p{font-size:16px;}
h2{font-size:26px;margin-bottom:35px;}
.ai-card{height:420px;}
	
}


.about-box{
  max-width:750px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:40px;
  border-radius:20px;
  backdrop-filter:blur(10px);
  line-height:1.8;
	display: inline-block;
	text-align: left;
}

.about-text{
  max-width:650px;
}



/* Animated Border Layer */
.ai-card::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:20px;
  padding:2px;
  background:linear-gradient(120deg,#ffffff,#7b2ff7,#ff7a18,#ffffff);
  background-size:300% 300%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity:0;
  transition:opacity 0.4s ease;
  pointer-events:none;
}

.ai-card:hover::before{
  opacity:1;
  animation:borderFlow 3s linear infinite;
}

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



.ai-card::after{
  content:'';
  position:absolute;
  top:0;
  left:-75%;
  width:50%;
  height:100%;
  background:linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.2) 50%,
    rgba(255,255,255,0) 100%
  );
  transform:skewX(-20deg);
}

.ai-card:hover::after{
  animation:lightSweep 1s ease forwards;
}

@keyframes lightSweep{
  100%{left:130%;}
}



.header-controls{
  display:flex;
  align-items:center;
  gap:20px;
  direction:ltr;
}

.theme-toggle{
  background:transparent;
  border:1px solid rgba(255,255,255,0.2);
  width:42px;
  height:42px;
  border-radius:50%;
  cursor:pointer;
  color:var(--text-main);
  transition:0.3s;
}

.theme-toggle:hover{
  border-color:var(--accent1);
  transform:rotate(15deg);
}

.ap-language-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  color: var(--text-main);
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.ap-language-toggle:hover,
.ap-language-toggle:focus-visible {
  border-color: rgba(255,122,24,0.74);
  background: linear-gradient(135deg, rgba(123,47,247,0.36), rgba(255,122,24,0.28));
  box-shadow: 0 14px 32px rgba(123,47,247,0.24);
  outline: none;
  transform: translateY(-2px) scale(1.05);
}

.ap-language-toggle.is-active {
  border-color: rgba(255,122,24,0.72);
  background: linear-gradient(135deg, rgba(123,47,247,0.2), rgba(255,122,24,0.18));
}

.ap-language-toggle.is-switching {
  pointer-events: none;
  opacity: 0.75;
}

body.is-language-switching::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(5,5,8,0.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  pointer-events: none;
}

body.is-language-switching::after {
  content: "Switching language...";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 1000001;
  transform: translate(-50%, -50%);
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(123,47,247,0.92), rgba(255,122,24,0.88));
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.34);
  pointer-events: none;
}

.ap-language-flag {
  width: 24px;
  height: 24px;
  display: block;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35), 0 5px 12px rgba(0,0,0,0.24);
  overflow: hidden;
}

.ap-language-flag[data-flag="us"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7410 3900'%3E%3Cpath fill='%23b22234' d='M0 0h7410v3900H0z'/%3E%3Cpath stroke='%23fff' stroke-width='300' d='M0 450h7410M0 1050h7410M0 1650h7410M0 2250h7410M0 2850h7410M0 3450h7410'/%3E%3Cpath fill='%233c3b6e' d='M0 0h2964v2100H0z'/%3E%3Cg fill='%23fff'%3E%3Ccircle cx='247' cy='210' r='55'/%3E%3Ccircle cx='741' cy='210' r='55'/%3E%3Ccircle cx='1235' cy='210' r='55'/%3E%3Ccircle cx='1729' cy='210' r='55'/%3E%3Ccircle cx='2223' cy='210' r='55'/%3E%3Ccircle cx='2717' cy='210' r='55'/%3E%3Ccircle cx='494' cy='420' r='55'/%3E%3Ccircle cx='988' cy='420' r='55'/%3E%3Ccircle cx='1482' cy='420' r='55'/%3E%3Ccircle cx='1976' cy='420' r='55'/%3E%3Ccircle cx='2470' cy='420' r='55'/%3E%3Ccircle cx='247' cy='630' r='55'/%3E%3Ccircle cx='741' cy='630' r='55'/%3E%3Ccircle cx='1235' cy='630' r='55'/%3E%3Ccircle cx='1729' cy='630' r='55'/%3E%3Ccircle cx='2223' cy='630' r='55'/%3E%3Ccircle cx='2717' cy='630' r='55'/%3E%3Ccircle cx='494' cy='840' r='55'/%3E%3Ccircle cx='988' cy='840' r='55'/%3E%3Ccircle cx='1482' cy='840' r='55'/%3E%3Ccircle cx='1976' cy='840' r='55'/%3E%3Ccircle cx='2470' cy='840' r='55'/%3E%3Ccircle cx='247' cy='1050' r='55'/%3E%3Ccircle cx='741' cy='1050' r='55'/%3E%3Ccircle cx='1235' cy='1050' r='55'/%3E%3Ccircle cx='1729' cy='1050' r='55'/%3E%3Ccircle cx='2223' cy='1050' r='55'/%3E%3Ccircle cx='2717' cy='1050' r='55'/%3E%3Ccircle cx='494' cy='1260' r='55'/%3E%3Ccircle cx='988' cy='1260' r='55'/%3E%3Ccircle cx='1482' cy='1260' r='55'/%3E%3Ccircle cx='1976' cy='1260' r='55'/%3E%3Ccircle cx='2470' cy='1260' r='55'/%3E%3Ccircle cx='247' cy='1470' r='55'/%3E%3Ccircle cx='741' cy='1470' r='55'/%3E%3Ccircle cx='1235' cy='1470' r='55'/%3E%3Ccircle cx='1729' cy='1470' r='55'/%3E%3Ccircle cx='2223' cy='1470' r='55'/%3E%3Ccircle cx='2717' cy='1470' r='55'/%3E%3Ccircle cx='494' cy='1680' r='55'/%3E%3Ccircle cx='988' cy='1680' r='55'/%3E%3Ccircle cx='1482' cy='1680' r='55'/%3E%3Ccircle cx='1976' cy='1680' r='55'/%3E%3Ccircle cx='2470' cy='1680' r='55'/%3E%3Ccircle cx='247' cy='1890' r='55'/%3E%3Ccircle cx='741' cy='1890' r='55'/%3E%3Ccircle cx='1235' cy='1890' r='55'/%3E%3Ccircle cx='1729' cy='1890' r='55'/%3E%3Ccircle cx='2223' cy='1890' r='55'/%3E%3Ccircle cx='2717' cy='1890' r='55'/%3E%3C/g%3E%3C/svg%3E");
}

.ap-language-flag[data-flag="il"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1100 800'%3E%3Cpath fill='%23fff' d='M0 0h1100v800H0z'/%3E%3Cpath fill='%2300338e' d='M0 80h1100v105H0zM0 615h1100v105H0z'/%3E%3Cg fill='none' stroke='%2300338e' stroke-width='44'%3E%3Cpath d='M550 236 364 558h372z'/%3E%3Cpath d='M550 564 364 242h372z'/%3E%3C/g%3E%3C/svg%3E");
}

.ap-language-toggle-mobile {
  display: none;
}

.ap-language-toggle-label {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

/* Hamburger */
.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:24px;
  height:2px;
  background:var(--text-main);
  transition:0.3s;
}







.mobile-menu{
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg,#0e0e0e,#060606);
  padding: 120px 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: 0.5s ease;
  z-index: 999;
}

.mobile-menu a{
  font-size: 22px;
  text-decoration: none;
  color: white;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  opacity: 0;
  transform: translateX(30px);
  transition: 0.4s;
}

.mobile-menu.open a{
  opacity: 1;
  transform: translateX(0);
}

/* stagger animation */
.mobile-menu.open a:nth-child(1){transition-delay:0.1s;}
.mobile-menu.open a:nth-child(2){transition-delay:0.2s;}
.mobile-menu.open a:nth-child(3){transition-delay:0.3s;}
.mobile-menu.open a:nth-child(4){transition-delay:0.4s;}
.mobile-menu.open a:nth-child(5){transition-delay:0.5s;}





.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.active span:nth-child(2){
  opacity: 0;
}
.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px,-6px);
}













.header{
  transition:0.3s ease;
}

.header.shrink{
  height:90px;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


.section-separator{
  position: relative;
  width: 60%;       /* centered, not full width */
  height: 3px;      /* very thin */
  margin: 60px auto; /* space between sections & center */
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(123,47,247,0), #7b2ff7, #ff7a18, rgba(123,47,247,0));
  background-size: 300% 100%;
  animation: separatorMove 5s linear infinite;
}

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

/* Light Mode Override */
body.light-mode .section-separator{
  background: linear-gradient(90deg, rgba(255,255,255,0), #7b2ff7, #ff7a18, rgba(255,255,255,0));
}





/* Modal overlay */
.ai-modal{
  position: fixed;
  top:0; left:0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.4);      /* lighter dark, not full black */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  overflow: hidden;
  backdrop-filter: blur(12px);      /* more elegant blur */
  transition: background 0.3s ease;
}

/* Modal content */
.ai-modal-content{
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  background: rgba(10,10,10,0.95);   /* slightly transparent black */
  border-radius: 20px;
  overflow: hidden;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Show modal content animation */
.ai-modal.show .ai-modal-content{
  transform: scale(1);
  opacity: 1;
}

/* Iframe */
.ai-modal-content iframe{
  width: 100%;
  height: 100%;
  border: none;
}

/* Close button */
.ai-modal-close{
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 28px;
  color: #fff;
  background: rgba(0,0,0,0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  padding: 5px 12px;
  transition: transform 0.2s, background 0.3s;
}

.ai-modal-close:hover{
  transform: scale(1.2);
  background: rgba(255,255,255,0.2);
  color: #ff7a18;
}
















/* Skills Section */
.skills-section{
  text-align:center;
  padding:100px 180px;
}

.skills-intro{
  max-width:700px;
  margin: 0 auto 60px auto;
  font-size:18px;
  opacity:0.8;
}




/* Grid of software */
.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:40px;
  justify-items:center;
  align-items:center;
}

.skills-grid img{
  width:60px;  /* Adjust as needed */
  height:60px;
  margin-bottom:15px;
  transition: transform 0.3s ease;
}



/* Individual skill cards */
.skill-card{
  
	background-color: #191919;
  border-radius:20px;
  padding:30px;
  width:150px;
  height:150px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  cursor:pointer;
  position:relative;
  overflow:hidden;
}

.skill-card img{
  width:60px;
  height:60px;
  margin-bottom:15px;
  transition: transform 0.3s ease;
}

.skill-card span{
  font-family:'Sora',sans-serif;
  font-weight:600;
  color:var(--text-main);
}

/* Hover animations */
.skill-card:hover{
  transform: translateY(-8px) scale(1.05);
}

.skill-card:hover img{
  transform: scale(1.2) rotate(10deg);
}

/* Fade-in on scroll */
.skills-section, .skill-card{
  opacity:0;
  transform:translateY(40px);
  transition: all 0.8s ease;
}

.skills-section.active, .skill-card.active{
  opacity:1;
  transform:translateY(0);
}

/* Light mode override */
body.light-mode .skill-card{
  background: #f6f7fb;
  border:2px solid rgba(0,0,0,0.08);
}












/* Interactive Drawings Section */
.interactive-drawings{
  padding:120px 0;
  text-align:center;
  position:relative;
}

.interactive-drawings h2{
  font-family:'Sora',sans-serif;
  font-size:36px;
  font-weight:700;
  margin-bottom:25px;
}

.interactive-drawings p{
  font-size:18px;
  opacity:0.8;
}

.floating-drawings{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px;
  perspective:1000px;
}

.floating-drawings .drawing-card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:25px;
  padding:15px;
  width:260px;
  height:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  cursor:pointer;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  position:relative;
}

.floating-drawings .drawing-card img{
  width:100%;
  height:320px;
  object-fit:cover;
  border-radius:20px;
  margin-bottom:15px;
}

.drawing-title{
  font-size:18px;
  font-weight:700;
  color:orange;
  margin-bottom:5px;
}

.drawing-subtext{
  font-size:14px;
  color:white;
  margin-bottom:10px;
  opacity:0.85;
}

.drawing-price{
  font-size:16px;
  font-weight:600;
  color:grey;
  margin-bottom:10px;
}

.order-button{
  background:orange;
  color:#111;
  border:none;
  border-radius:12px;
  padding:8px 16px;
  font-weight:700;
  cursor:pointer;
  transition:all 0.3s ease;
}

.order-button:hover{
  background:#ff9c33;
  transform:scale(1.05);
}

/* Tooltip */
.floating-drawings .drawing-card::after{
  position:absolute;
  bottom:-30px;
  left:50%;
  padding:5px 12px;
  border-radius:10px;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.5s;
}



/* Floating Animation */
.floating-drawings .drawing-card{
  animation:float 5s ease-in-out infinite alternate;
}

.floating-drawings .drawing-card:nth-child(2){animation-delay:0.3s;}
.floating-drawings .drawing-card:nth-child(3){animation-delay:0.6s;}
.floating-drawings .drawing-card:nth-child(4){animation-delay:0.9s;}
.floating-drawings .drawing-card:nth-child(5){animation-delay:1.2s;}

@keyframes float{
  0%{transform:translateY(0px);}
  100%{transform:translateY(-20px);}
}













body.light-mode .drawing-card {
  background: #f0f0f0; /* light background for the card */
  border: 1px solid #ddd;
}

body.light-mode .drawing-card img {
  filter: brightness(1); /* remove any darkening effect */
}

body.light-mode .drawing-title {
  color: #ff7a18; /* still stands out on light background */
}

body.light-mode .drawing-subtext {
  color: #333; /* darker text for readability */
  opacity: 0.85;
}

body.light-mode .about-socials {
	color: #ff7a18;
}

body.light-mode .drawing-price {
  color: #111; /* clear, readable price */
}

body.light-mode .order-button {
  background: linear-gradient(135deg,#3a0ca3,#7b2ff7); /* same gradient */
  color: #fff; /* button text stays white on gradient */
}









@media (max-width: 768px){

  /* Global spacing */
  .section{
    padding: 70px 0;
  }

  .container{
    width: 92%;
  }

  h2{
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
  }

  p{
    font-size: 15px;
    line-height: 1.6;
  }

}










@media (max-width: 768px){

  .hero{
    flex-direction: column;
    gap: 25px;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text h1{
    font-size: 28px;
    line-height: 1.2;
  }

  .hero-text p{
    font-size: 16px;
    margin: 15px 0 20px;
  }

  .hero-image img,
  .hero-video {
    width: 234px;
    border-radius: 50%;
  }

	
	@media (max-width: 768px){
  .hero-image{
    display: none;
	  overflow: hidden;
  }
}
	@media (max-width: 768px){

  .hero{
    text-align: center;
    padding: 60px 20px;
	  min-height: auto;
  }

  .hero-content{
    max-width: 100%;
  }
}
	
	
  .hero-text img{
    width: 90px;
    margin-bottom: 10px;
  }

}





















@media (max-width: 768px){

  .grid{
    gap: 20px;
  }

  .ai-grid{
    gap: 20px;
  }

  .ai-card{
    height: 360px;
  }

}











@media (max-width: 768px){

  .btn{
    padding: 14px 22px;
    font-size: 14px;
  }

  .small{
    padding: 12px 20px;
  }

}





@media (max-width: 768px){

  .ai-card:active{
    transform: scale(0.97);
  }

  .btn:active{
    transform: scale(0.96);
  }

}













/* ===== Horizontal Scroll Sections ===== */

.horizontal-section{
  position: relative;
}

.h-scroll-wrapper{
  position: relative;
  display: flex;
  align-items: center;
}

.h-scroll{
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 0 50px; /* space for arrows */
}

.h-scroll::-webkit-scrollbar{
  display: none;
}

/* Default item */
.h-item{
  flex: 0 0 calc(25% - 20px); /* 4 per row default */
}

.h-scroll[data-scroll="5"] .h-item{
  flex: 0 0 calc(20% - 20px); /* 5 per row */
}








/* Images */
.h-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: 0.4s;
}

.h-item img:hover{
  transform: scale(1.05);
}

/* Navigation buttons */
.h-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.7);
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
}

.h-nav:hover{
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.h-nav.left{left:-20px;}
.h-nav.right{right:-20px;}

/* ===== Recent Works Card ===== */

.work-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.work-info h3{
  font-size: 16px;
  font-weight: 600;
}

.work-info p{
  font-size: 14px;
  opacity: 0.7;
}

/* ===== MOBILE ===== */

@media (max-width: 768px){

  .h-item{
    flex: 0 0 75%;
  }

  .h-scroll[data-scroll="5"] .h-item{
    flex: 0 0 75%;
  }

  .h-nav{
    display: none;
  }

}














#bw-drawings .h-item{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

/* FORCE visible glow */
#bw-drawings .h-item::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:18px;
  padding:2px;
  background:linear-gradient(120deg,#ffffff,#7b2ff7,#ff7a18,#ffffff);
  background-size:300% 300%;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity:0;
  transition:0.4s;
  pointer-events:none;
}

#bw-drawings .h-item:hover::before{
  opacity:1;
  animation: bwGlowFlow 2.5s linear infinite;
}

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

#bw-drawings .h-item img{
  display:block;
  width:100%;
  transition:0.4s;
}

#bw-drawings .h-item:hover img{
  transform:scale(1.06);
}

















/* ===== Image Viewer ===== */

.image-viewer{
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100vh;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(14px);
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:99999;

  opacity:0;
  visibility:hidden;
  transition:0.4s ease;
}

.image-viewer.active{
  opacity:1;
  visibility:visible;
}

.image-viewer img{
  max-width:90%;
  max-height:85%;
  border-radius:14px;
  box-shadow:0 20px 60px rgba(0,0,0,0.6);
  transform:scale(0.9);
  transition:0.4s ease;
  cursor:grab;
  user-select:none;
  -webkit-user-drag:none;
  touch-action:none;
}

.image-viewer.active img{
  transform:scale(1);
}

/* close button */
.viewer-close{
  position:absolute;
  top:25px;
  right:30px;
  font-size:32px;
  color:white;
  background:rgba(0,0,0,0.3);
  border:none;
  border-radius:50%;
  width:45px;
  height:45px;
  cursor:pointer;
  transition:0.3s;
}

.viewer-close:hover{
  background:linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.viewer-nav,
.viewer-zoom-btn,
.viewer-phase-btn{
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(12,12,14,0.58);
  color:#fff;
  cursor:pointer;
  box-shadow:0 14px 38px rgba(0,0,0,0.35);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.viewer-nav:hover,
.viewer-zoom-btn:hover,
.viewer-phase-btn:hover{
  background:rgba(255,255,255,0.14);
  border-color:rgba(255,255,255,0.35);
}

.viewer-nav{
  position:absolute;
  top:50%;
  width:54px;
  height:54px;
  border-radius:999px;
  font-size:26px;
  transform:translateY(-50%);
  z-index:10000;
}

.viewer-nav:hover{
  transform:translateY(-50%) scale(1.04);
}

.viewer-prev{
  left:clamp(14px,3vw,34px);
}

.viewer-next{
  right:clamp(14px,3vw,34px);
}

.viewer-phase-switcher{
  position:absolute;
  top:24px;
  left:50%;
  display:flex;
  gap:10px;
  transform:translateX(-50%);
  z-index:10000;
}

.viewer-phase-btn{
  min-width:82px;
  padding:10px 16px;
  border-radius:999px;
  font-family:'Sora',sans-serif;
  font-size:13px;
  font-weight:700;
}

.viewer-phase-btn.active{
  background:linear-gradient(135deg,#7b2ff7,#ff7a18);
  border-color:transparent;
}

.viewer-zoom-controls{
  position:absolute;
  left:50%;
  bottom:clamp(18px,4vh,34px);
  display:flex;
  gap:12px;
  transform:translateX(-50%);
  z-index:10000;
}

.viewer-zoom-btn{
  width:48px;
  height:48px;
  border-radius:999px;
  font-size:28px;
  line-height:1;
}

.image-viewer img.is-zoomed{
  cursor:grab;
}

.image-viewer img.is-dragging,
.art-modal img.is-dragging,
#viewerImg.is-dragging{
  cursor:grabbing;
  transition:none;
}

@media (max-width:768px){
  .viewer-close{
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    font-size:28px;
  }

  .viewer-phase-switcher{
    top:auto;
    bottom:82px;
    gap:7px;
  }

  .viewer-phase-btn{
    min-width:auto;
    padding:9px 12px;
    font-size:12px;
  }

  .viewer-nav{
    top:auto;
    bottom:20px;
    width:46px;
    height:46px;
    font-size:22px;
  }

  .viewer-prev{
    left:18px;
  }

  .viewer-next{
    right:18px;
  }

  .viewer-zoom-controls{
    bottom:20px;
  }

  .viewer-zoom-btn{
    width:46px;
    height:46px;
  }
}







/* AI Videos for gallery */

.ai-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.3s ease;
}

.ai-card:hover .ai-video{
  opacity:1;
}

.ai-card:hover .ai-thumb{
  opacity:0;
}




/* NFTs MP4 display */

.media-wrapper{
  position: relative;
  width: 100%;
  height: 320px;
  border-radius:20px;
  overflow:hidden;
}

.media-wrapper img,
.media-wrapper video{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  top:0;
  left:0;
}

.drawing-video{
  opacity:1;
}










.work-modal-content{
  max-width: 900px;
  height: 90%;
  overflow-y: auto;
  padding: 20px;
}

.work-gallery{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.work-gallery img{
  width: 100%;
  border-radius: 12px;
  transition: 0.3s;
}

.work-gallery img:hover{
  transform: scale(1.02);
}











#skills h2{
  margin-bottom: 8px;   /* tight to icons */
}

.tools-grid{
  display:flex;
  justify-content:center;
  gap:14px;
  margin-top:0;         /* removes extra gap */
}

.tool-box{
  width:38px;           /* bigger than before */
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  transition:0.25s ease;
}

.tool-box i{
  font-size:16px;       /* bigger icons */
  color:rgba(255,255,255,0.7);
  transition:0.25s ease;
}

.tool-box:hover i{
  color:#7b2ff7;
}

.tool-box:hover{
  background:rgba(123,47,247,0.12);
  border-color:rgba(123,47,247,0.4);
}













.works-scroll-wrapper{
  position:relative;
  display:flex;
  align-items:center;
}

.works-scroll{
  display:flex;
  overflow-x:auto;
  scroll-behavior:smooth;
  scroll-snap-type:x mandatory;
  width:100%;
}

.works-scroll::-webkit-scrollbar{
  display:none;
}

.works-page{
  min-width:100%;
  scroll-snap-align:start;
  padding:10px 0;
}

/* keep your existing grid but make it inside pages */
.works-page .grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

/* nav buttons */
.works-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:45px;
  height:45px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,0.7);
  color:white;
  cursor:pointer;
  z-index:10;
}

.works-nav.left{left:-20px;}
.works-nav.right{right:-20px;}

.works-nav:hover{
  background:linear-gradient(135deg,#7b2ff7,#ff7a18);
}
/* Creative Works desktop dots and arrow spacing */
.works-dots,
.ai-dots {
  display: none;
}

@media (min-width: 769px) {
  .works-scroll-wrapper {
    padding: 0 72px;
  }

  .works-nav.left {
    left: 10px;
  }

  .works-nav.right {
    right: 10px;
  }

  .works-dots,
  .ai-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 24px 0 4px;
  }

  .works-dot,
  .ai-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.28);
    cursor: pointer;
    transition: width 0.22s ease, background 0.22s ease, opacity 0.22s ease;
  }

  .works-dot.active,
  .ai-dot.active {
    width: 26px;
    background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  }

  .works-dot:hover,
  .ai-dot:hover {
    background: rgba(255,255,255,0.58);
  }
}



/* =========================
   VEHICLE HOVER STROKE
========================= */

.h-item{
  position: relative;
  border-radius: 18px;
  overflow: hidden;
	padding: 15px;
}

/* gradient inner stroke */
.h-item::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  padding:3px;

  background: linear-gradient(120deg,#7b2ff7,#ff7a18,#7b2ff7);
  background-size:300% 300%;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity:0;
  transition:0.3s ease;
  pointer-events:none;
}

/* activate stroke */
.h-item:hover::before{
  opacity:1;
  animation: strokeFlow 2.5s linear infinite;
}

/* image behavior (NO SCALE ON IMAGE ITSELF) */
.h-item img{
  width:100%;
  display:block;
  border-radius:18px;
  transition:transform 0.35s ease;
}

/* subtle zoom only on hover container */
.h-item:hover img{
  transform: scale(1.03);
}

/* reuse your existing animation */
@keyframes strokeFlow{
  0%{background-position:0% 50%;}
  100%{background-position:100% 50%;}
}







.dual-buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:30px; /* ?? perfect breathing space */
  flex-wrap:wrap; /* keeps mobile safe */
}




.ai-video-btn{
  background: linear-gradient(135deg,#ff7a18,#ff3c00);
  color:#fff !important;
  box-shadow: 0 10px 30px rgba(255,122,24,0.25);
}

/* optional glow on hover */
.ai-video-btn:hover{
  box-shadow: 0 15px 40px rgba(255,60,0,0.35);
  transform: translateY(-3px);
}
































/* Page intro */
.video-hero{
  padding:0px 20px 60px;
  text-align:center;
}

.video-hero h1{
  font-family:'Sora',sans-serif;
  font-size:42px;

  background: linear-gradient(
    90deg,
    #7b2ff7,
    #ff7a18,
    #ffffff,
    #7b2ff7
  );
  background-size: 300% 100%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: titleFlow 6s ease-in-out infinite;
}

/* slow elegant movement */
@keyframes titleFlow{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}







.video-hero p{
  margin-top:15px;
  opacity:0.7;
}

.video-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
  margin-top:40px;
}

.video-card{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  
}

.video-card video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}



/* NO SCALE */
.video-card:hover video{
  transform:none;
}

/* GRADIENT STROKE (reuse your style) */
.video-card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  padding:3px;

  background:linear-gradient(120deg,#7b2ff7,#ff7a18,#7b2ff7);
  background-size:300% 300%;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;

  opacity:0;
  transition:0.3s;
}

.video-card:hover::before{
  opacity:1;
  animation:strokeFlow 2.5s linear infinite;
}

/* PAGINATION */
.video-page{
  display:none;
}

.video-page.active{
  display:block;
}

.pagination{
  margin-top:50px;
  display:flex;
  justify-content:center;
  gap:10px;
}

.pagination button{
  padding:10px 15px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  background:#222;
  color:white;
}

.pagination button:hover{
  background:linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.gallery-load-more,
.gallery-loaded-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 24px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  background:
    linear-gradient(rgba(12,12,16,0.72), rgba(12,12,16,0.72)) padding-box,
    linear-gradient(135deg, #7b2ff7, #ff7a18, #050505) border-box;
  box-shadow: 0 16px 38px rgba(0,0,0,0.26);
}

.gallery-load-more {
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-load-more:hover,
.gallery-load-more:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.32);
  box-shadow: 0 20px 46px rgba(123,47,247,0.2), 0 0 22px rgba(255,122,24,0.14);
}

.gallery-loaded-status {
  color: rgba(255,255,255,0.74);
  background: rgba(255,255,255,0.06);
}

/* MOBILE */
@media(max-width:768px){
  .video-grid{
    grid-template-columns:1fr;
  }
}

/* Back button */
.back-home{
  margin-top:40px;
}
















/* BW -> WIP -> FINAL images */ 
.phase-switcher{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-bottom:30px;
}

.phase-btn{
  padding:10px 18px;
  border-radius:30px;
  border:1px solid rgba(255,255,255,0.2);
  background:transparent;
  color:var(--text-main);
  cursor:pointer;
  transition:0.3s;
  font-weight:600;
}

.phase-btn:hover{
  border-color:#7b2ff7;
}

.phase-btn.active{
  background:linear-gradient(135deg,#7b2ff7,#ff7a18);
  border-color:transparent;
}










#ai-loader {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 99999;
  color: white;
  font-family: 'Sora', sans-serif;
}

.loader-content {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255,255,255,0.2);
  border-top: 5px solid #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px auto;
}

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







/* MOBILE MENU */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 10001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* mobile menu hidden by default */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
  transform: translateY(-100%);
  transition: 0.3s ease;
  z-index: 10000;
}

.mobile-menu a {
  color: white;
  font-size: 22px;
  text-decoration: none;
}

/* active state */
.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu.open {
  transform: translateY(0);
}

/* MOBILE ONLY */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  /* hide desktop nav */
  .nav {
    display: none;
  }

  /* hide ALL social links in footer */
  .footer-links {
    display: none;
  }

}












@media (max-width: 768px) {

  /* FORCE hide social icons */
  .footer .footer-links {
    display: none !important;
  }

  /* FORCE hide desktop nav */
  .header .nav {
    display: none !important;
  }


  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    margin-left: auto;
  }
	

}



@media (max-width: 768px) {
  .header-socials,
  .header-controls {
    display: none !important;
  }
}












.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: rgba(0,0,0,0.96);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 0;

  transform: translateY(-100%);
  transition: transform 0.35s ease;

  z-index: 10000;

  overflow-y: auto;
}





.mobile-menu.active {
  transform: translateY(0);
}





.mobile-menu a {
  color: white;
  text-decoration: none;

  font-size: 18px;
  font-family: 'Sora', sans-serif;

  padding: 16px 0;
  width: 80%;
  text-align: center;

  opacity: 0.9;
}





.mobile-menu a:not(:last-child)::after {
  content: "";
  display: block;
  width: 40%;
  height: 1px;
  margin: 10px auto 0;
  background: rgba(255,255,255,0.1);
}




/* ACTIVE STATE = TURN INTO X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}





@media (max-width: 768px){
  .nav {
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 20, 0.85); /* adjust to your theme */
  }
}




@media (max-width: 768px){
	
	
	
	
  .nav a {
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s ease;
  }

  .nav.active a {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.active a:nth-child(1){ transition-delay: 0.05s; }
  .nav.active a:nth-child(2){ transition-delay: 0.1s; }
  .nav.active a:nth-child(3){ transition-delay: 0.15s; }
  .nav.active a:nth-child(4){ transition-delay: 0.2s; }
  .nav.active a:nth-child(5){ transition-delay: 0.25s; }
}





html {
  overflow-x: hidden;
}

body {
  overflow-x: clip;
}





@media (max-width: 768px){
  .header{
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }
}







@media (max-width: 768px){

  .hero-image-wrapper{
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
  }

  .hero-image{
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .hero-image img,
  .hero-video {
    width: min(320px, 80vw) !important;
    max-width: none;
    height: auto;
    display: block;
  }

}


















.nav-item{
  position: relative;
}

.dropdown{
  position: absolute;

	
	left: 0;

  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(14px);

  border-radius: 12px;
  padding: 10px 0;

  min-width: 180px;

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;

  transition: 0.3s ease;
}

.nav-item{
  position: relative;
  padding-bottom: 10px; /* creates hover bridge */
}



.nav-item:hover .dropdown{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}




.dropdown a{
  display: block;
  padding: 10px 20px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  transition: 0.25s;
}

.dropdown a:hover{
  background: linear-gradient(90deg, #7b2ff7, #ff7a18);
  color: #fff;
}






.dropdown::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  padding:1px;

  background: linear-gradient(120deg,#7b2ff7,#ff7a18,#7b2ff7);
  background-size:300% 300%;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity:0.6;
  pointer-events:none;
}










.sub-nav{
  position: sticky;
  top: 110px;

  z-index: 999;

  background: var(--header-bg);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(255,255,255,0.08);
}



.sub-nav-inner{
  display: flex;
  justify-content: center;
  gap: 40px;

  padding: 12px 0;
}





.sub-item{
  position: relative;
  font-family:'Sora',sans-serif;
  font-weight:600;
  cursor:pointer;
  color:var(--text-muted);
  transition:0.3s;
}

.sub-item:hover{
  color:var(--text-main);
}



.header.shrink{
  height: 90px;
}

.header.shrink + .sub-nav{
  top: 90px;
}






.sub-item .dropdown{
  position: absolute;
  top: 100%;              /* sits BELOW the span */
  left: 50%;              /* center anchor */
  transform: translateX(-50%) translateY(10px);

  min-width: 180px;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;

  z-index: 9999;
}


.sub-item.has-dropdown:hover .dropdown{
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}





.sub-item:hover .dropdown{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}



.sub-item .dropdown a{
  display:block;
  padding:10px 18px;
  font-size:14px;
  color:var(--text-main);
  text-decoration:none;
  transition:0.25s;
}

.sub-item .dropdown a:hover{
  background: linear-gradient(90deg,#7b2ff7,#ff7a18);
  color:#fff;
}




.sub-item .dropdown::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  padding:1px;

  background:linear-gradient(120deg,#7b2ff7,#ff7a18,#7b2ff7);
  background-size:300% 300%;

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;

  opacity:0.7;
}






.sub-item.has-dropdown{
  position: relative;
  padding-bottom: 12px; /* creates breathing room */
}



.sub-item.has-dropdown span{
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
}



.sub-item.has-dropdown span::after{
  content: "";
  width: 6px;
  height: 6px;

  border-right: 1.8px solid var(--text-main);
  border-bottom: 1.8px solid var(--text-main);

  transform: rotate(45deg);
  opacity: 0.7;

  transition: 0.3s ease;
}



.sub-item.has-dropdown:hover span::after{
  transform: rotate(225deg);
  border-color: var(--accent1);
  opacity: 1;
}






























.music-page{
  padding: 80px 20px;
  text-align: center;
}

.music-title{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: clamp(34px, 5vw, 54px);
  margin: 0 0 15px;
  font-family: 'Sora', sans-serif;
  line-height: 1.08;
}

.music-title-text{
  display: inline-block;
  background: linear-gradient(100deg,#7b2ff7 0%,#ff7a18 34%,#ffffff 50%,#ff7a18 66%,#7b2ff7 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: musicTitleGradient 5.8s ease-in-out infinite;
}

.music-note{
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: #ffb15c;
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0,0,0,0.24), inset 0 0 18px rgba(255,122,24,0.08);
  animation: musicNoteFloat 3.4s ease-in-out infinite;
}

.music-note::after{
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  border: 1px solid rgba(255,122,24,0.18);
  opacity: 0.7;
  animation: musicNotePulse 3.4s ease-in-out infinite;
}

.music-note-left{
  animation-delay: -0.45s;
}

.music-note-left::after{
  animation-delay: -0.45s;
}

.music-note-right{
  color: #a47cff;
  animation-delay: -1.25s;
}

.music-note-right::after{
  border-color: rgba(123,47,247,0.22);
  animation-delay: -1.25s;
}

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

@keyframes musicNoteFloat{
  0%,100%{transform:translateY(0) rotate(-4deg);}
  50%{transform:translateY(-7px) rotate(5deg);}
}

@keyframes musicNotePulse{
  0%,100%{transform:scale(0.92); opacity:0.35;}
  50%{transform:scale(1.12); opacity:0.85;}
}

@media (max-width: 640px){
  .music-title{
    gap: 9px;
    font-size: clamp(28px, 8vw, 38px);
  }

  .music-note{
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce){
  .music-title-text,
  .music-note,
  .music-note::after{
    animation: none;
  }
}

.music-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.track{
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}

.track img{
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}

.track:hover img{
  transform: scale(1.05);
}

/* play button center */
.play-btn{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  backdrop-filter: blur(8px);
  transition: 0.3s;
}


.play-btn .icon{
  transition: 0.2s ease;
}


.track:hover .play-btn{
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.track-name{
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 14px;
  color: white;
  opacity: 0.9;
}

/* PLAYER BAR */
.player-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(12px);
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
}

#seekBar{
  width: 100%;
}





.track{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}






.track.active::before{
  opacity:1;
  animation: strokeFlow 2.5s linear infinite;
}


.track.active{
  transform: scale(1.02);
  transition: 0.3s ease;
}





@keyframes beatPulse {
  0%   { transform: scale(1.02); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1.02); }
}




.track.active{
  animation: beatPulse 1.2s ease-in-out infinite;
}




.track.active img{
  filter: brightness(1.1) saturate(1.2);
}






.music-card.playing {
  border: 2px solid transparent;
  background: linear-gradient(#111,#111) padding-box,
              linear-gradient(135deg,#7b2ff7,#ff7a18) border-box;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.music-card.playing img {
  animation: beat 1s infinite ease-in-out;
}

@keyframes beat {
  0% { transform: scale(1); }
  25% { transform: scale(1.02); }
  50% { transform: scale(1); }
  75% { transform: scale(1.02); }
  100% { transform: scale(1); }
}


















/* SCALABLE GALLERY IMAGES */

.img-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: grab;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.1s ease;
  user-select: none;
  pointer-events: none;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}





/* GRID */
.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.art-item img {
  width: 100%;
  display: block;
  transition: 0.4s ease;
}

.art-item:hover img {
  transform: scale(1.08);
}

/* subtle glow */
.art-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15));
  opacity: 0;
  transition: 0.3s;
}

.art-item:hover::after {
  opacity: 1;
}

/* PAGINATION */
.pagination {
  margin-top: 40px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.page-btn {
  padding: 8px 14px;
  border-radius: 8px;
  background: #222;
  color: white;
  cursor: pointer;
  border: none;
}

.page-btn.active {
  background: linear-gradient(45deg, #6a5cff, #00d4ff);
}

/* MODAL */
.art-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.art-modal img {
  max-width: 90%;
  max-height: 90%;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.art-modal img {
  transform-origin: center;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

.mobile-menu .ap-language-toggle-mobile {
  flex: 0 0 56px !important;
  width: 56px !important;
  min-height: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  gap: 0;
  margin-top: 12px;
  border-radius: 50%;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(135deg, rgba(123,47,247,0.22), rgba(255,122,24,0.16));
}

.mobile-menu .ap-language-toggle-mobile .ap-language-flag {
  width: 30px;
  height: 30px;
}


.art-modal {
  overflow: hidden;
}

.art-modal.active {
  display: flex;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}





/* =========================
   PREMIUM ART GALLERY
========================= */

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

/* each card */
.art-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;

  background: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* image */
.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

/* hover = premium lift */
.art-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

.art-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.05) contrast(1.05);
}

/* =========================
   PAGINATION (clean modern)
========================= */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 40px 0 10px;
  flex-wrap: wrap;
}

.page-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;

  transition: 0.2s ease;
}

.page-btn:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.page-btn.active {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border: none;
}

/* =========================
   MODAL (upgrade feel)
========================= */

.art-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 9999;
}

.art-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.art-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;

  box-shadow: 0 20px 80px rgba(0,0,0,0.6);
  transition: transform 0.25s ease;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

/* close button */
.art-modal .close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  opacity: 0.7;
}

.art-modal .close:hover {
  opacity: 1;
}





/* =========================
   DRAWINGS PAGE CORE STYLE
========================= */

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin: 120px 0 40px;
  text-align: center;
  letter-spacing: 1px;
}

/* section spacing fix */
section.container {
  padding: 0 20px 80px;
}

/* =========================
   GRID GALLERY
========================= */

.art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
  padding: 10px 0 40px;
}

.art-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: #111;
  aspect-ratio: 1 / 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.art-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.art-item:hover img {
  transform: scale(1.08);
}

/* =========================
   PAGINATION
========================= */

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 80px;
  flex-wrap: wrap;
}

.page-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s ease;
}

.page-btn:hover {
  background: rgba(255,255,255,0.12);
}

.page-btn.active {
  background: #7c5cff;
  border-color: #7c5cff;
}






.art-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; /* ?? THIS is the key fix */
  display: block;
}





.video-hero {
  text-align: center;
  padding: 140px 20px 60px;
}

.video-hero h1 {
  font-family: "Sora", sans-serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 10px;

  /* premium glow effect */
  text-shadow:
    0 0 10px rgba(120, 90, 255, 0.25),
    0 0 25px rgba(120, 90, 255, 0.15);
}

.video-hero p {
  font-family: "Manrope", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

/* optional: back button spacing consistency */
.back-home {
  margin-top: 10px;
}




.zoom-wrapper {
  display: inline-block;
  transition: transform 0.15s ease;
}

.art-modal {
  overflow: hidden;
}











.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;

  transition: opacity 0.5s ease;
}

.loading-screen.hide {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  font-size: 14px;
  color: white;
  font-family: Sora, sans-serif;
  letter-spacing: 1px;
}








/* =========================
   WALLPAPER GALLERY
========================= */

.wallpaper-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.wallpaper-item img {
  width: 100%;
  display: block;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.wallpaper-item img:hover {
  transform: scale(1.02);
}


@media (max-width: 768px) {
	
	
	/* Creative Works - Mobile */
.works-page .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.works-page .grid .creative-work-thumb {
  aspect-ratio: 1 / 1;
}

.works-page .grid a img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}
	
	
	
	
  .wallpaper-gallery {
    grid-template-columns: 1fr;
  }
}




/* =========================
   LOADING SCREEN
========================= */

.loading-screen {
  position: fixed;
  inset: 0;
  background: rgba(5,5,10,0.92);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 99999;

  backdrop-filter: blur(8px);
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loading-spinner {
  width: 70px;
  height: 70px;

  border: 4px solid rgba(255,255,255,0.12);
  border-top: 4px solid #ffffff;

  border-radius: 50%;

  animation: spinLoader 1s linear infinite;

  box-shadow:
    0 0 25px rgba(255,255,255,0.15);
}

.loading-text {
  color: white;
  text-align: center;

  font-family: 'Sora', sans-serif;
  font-size: 15px;
  line-height: 1.8;

  letter-spacing: 1px;

  opacity: 0.92;
}

/* animation */
@keyframes spinLoader {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}









/* ==================================================
   MOBILE OPTIMIZATION
================================================== */
@media (max-width: 768px) {

  /* =========================
     GENERAL SPACING
  ========================= */
  .section {
    padding: 60px 16px;
  }

  h2 {
    font-size: 2rem;
    text-align: center;
  }

  .section p {
    text-align: center;
  }

  /* =========================
     HERO SECTION
  ========================= */
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding-top: 120px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image img,
  .hero-mobile,
  .hero-video {
    width: 100%;
    max-width: 340px;
    margin: auto;
  }

  /* =========================
     NAVIGATION
  ========================= */
  .nav {
    display: none;
  }


  .hamburger {
    display: flex;
  }

  /* =========================
     HORIZONTAL SCROLL SECTIONS
  ========================= */
  .h-scroll {
    gap: 6px;
    padding-inline: 11px;
  }

/* Vehicle Designs - Mobile FIXED */
#recent-works .h-scroll {
  /* keep your horizontal scroll */
  overflow-x: auto;
  display: flex;
  scroll-snap-type: x mandatory;
}
	
	

	
	#recent-works .h-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}


  .work-card img,
  .h-item img {
    border-radius: 18px;
  }

  /* =========================
     AI SECTION
  ========================= */
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ai-card {
    border-radius: 18px;
    overflow: hidden;
  }

  .ai-card img,
  .ai-card video {
    width: 100%;
  }


	
/* =========================
   VEHICLE DESIGN - MOBILE FIX (REAL WORKING)
========================= */

#recent-works .h-scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 0;
}

/* each card becomes part of a 2x2 grid system */
#recent-works .h-item {
  flex: 0 0 50%;   /* 2 per row */
  scroll-snap-align: start;
  box-sizing: border-box;
  padding: 6px;
}

/* turn INNER content into full card */
#recent-works .work-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* image */
#recent-works .h-item img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* text */
#recent-works .work-info {
  padding: 6px 4px;
}

#recent-works .work-info h3 {
  font-size: 0.9rem;
  margin: 6px 0 2px;
}

#recent-works .work-info p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 0;
}
	
	  /* =========================
     WORKS SECTION
  ========================= */

	
	
  .works-page .grid {
    gap: 16px;
  }

	
	/* =========================
   AI DRAWINGS - MOBILE FIX
========================= */

#drawing-ai .ai-card {
  border-radius: 18px;
  overflow: hidden;
}

/* force better aspect ratio */
#drawing-ai .ai-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
	
	
	
  /* =========================
     DRAWING SHOP
  ========================= */
  .floating-drawings {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .drawing-card {
    width: 100%;
  }

  /* =========================
     BUTTONS
  ========================= */
  .btn {
    width: 100%;
    justify-content: center;
  }

  .dual-buttons {
    flex-direction: column;
    gap: 14px;
  }

  /* =========================
     SKILLS
  ========================= */
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* =========================
     FOOTER
  ========================= */
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* =========================
     MODALS
  ========================= */
  .ai-modal-content {
    width: 96%;
    height: 90%;
    border-radius: 18px;
  }

  iframe {
    width: 100%;
    height: 100%;
  }

  /* =========================
     DISABLE HEAVY EFFECTS
  ========================= */
  .magnetic,
  .ai-card,
  .drawing-card {
    transform: none !important;
  }

}








@media (max-width: 768px) {

  /* =========================
     AI SECTION - HARD FIX RESET
  ========================= */

   #drawing-ai .ai-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;

    /* FORCE EXACT 2 ROWS VISUAL SPACE */
    grid-auto-rows: 1fr;

    gap: 12px;

    height: 100%;
  }


   #drawing-ai .ai-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden;
    border-radius: 18px;
  }

   #drawing-ai .ai-card a {
    display: block;
    width: 100%;
    height: 100%;
  }

   #drawing-ai .ai-thumb {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

   #drawing-ai .ai-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}





@media (max-width: 768px) {

   #drawing-ai .ai-page {
    flex: 0 0 100%;
    width: 100%;

    /* THIS is the key */
    height: 100%;
    max-height: 80vh;
  }

}



@media (max-width: 768px) {

   #drawing-ai .ai-card {
    aspect-ratio: 4 / 5;
    height: 100%;
  }

	
	
	.see-more-wrapper {
    margin-top: 40px;
    text-align: center;
}
	
}













@media (max-width: 768px) {

  #interactive-drawings .drawing-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 16px;
  }

  /* MEDIA CONTAINER */
  #interactive-drawings .drawing-thumb,
  #interactive-drawings .drawing-video {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
  }

  /* TEXT CLEANUP */
  #interactive-drawings .drawing-card > *:not(img):not(video) {
    padding: 8px 10px;
    margin: 0;
  }
}




@media (max-width: 768px) {

  #interactive-drawings .floating-drawings {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    align-items: start;
  }

	
	#interactive-drawings .media-wrapper{

  height: 210px;

}
	
}






@media (max-width: 768px) {
  .ai-card a {
    pointer-events: none;
  }

  .ai-card {
    cursor: pointer;
  }
}








@media (max-width: 768px) {

	

  .sub-nav-inner {
    display: none;
    flex-direction: column;
    gap: 12px;
  }

  .sub-nav.open .sub-nav-inner {
    display: flex;
  }

  .sub-nav-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 12px 0;
    cursor: pointer;
  }

  .sub-nav-toggle .arrow {
    transition: 0.2s ease;
  }

  .sub-nav.open .sub-nav-toggle .arrow {
    transform: rotate(180deg);
  }
}

@media (min-width: 769px) {
.sub-nav-toggle{
	display: none;
}
	}













/* =========================
   LOADING SCREEN
========================= */

.loading-screen {
  position: fixed;
  inset: 0;
  background: #050505;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 999999;

  transition: opacity 0.6s ease;
}

.loading-text {
  color: white;
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.8;

  animation: pulse 1.5s infinite ease-in-out;
}

/* simple pulse animation */
@keyframes pulse {
  0% {
    opacity: 0.4;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.4;
    transform: scale(0.98);
  }
}




.spinner {
  width: 55px;
  height: 55px;

  margin: 0 auto 20px;

  border: 4px solid rgba(255,255,255,0.15);
  border-top: 4px solid white;

  border-radius: 50%;

  animation: spin 1s linear infinite;
}

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



.resume-icon{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

/* floating animation */
.resume-icon i{
  font-size: 18px;
  animation: floatIcon 2.5s ease-in-out infinite;
}

@keyframes floatIcon{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}

.resume-icon:hover{
  transform: translateY(-3px) scale(1.03);
  background: rgba(255,255,255,0.15);
}













:root{
  --icon-color: #ffffff;
}

body.light-mode{
  --icon-color: #333333;
}



.tool-box i{
  color: var(--icon-color);
  transition: 0.3s ease;
}





img.softwares-img{
	width: 50%;
}
/* Creative Works software SVG icons */
.creative-software-strip {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin: 20px auto 28px;
  flex-wrap: wrap;
}

.software-card {
  --app-color: #ffffff;
  width: 112px;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.045);
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
  transform: translateY(0);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.software-card svg {
  width: 54px;
  height: 54px;
  overflow: visible;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--app-color) 42%, transparent));
}

.software-card rect {
  fill: color-mix(in srgb, var(--app-color) 14%, #09090f);
  stroke: var(--app-color);
  stroke-width: 2;
}

.software-card text {
  fill: var(--app-color);
  font-family: Sora, Manrope, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

.software-card span {
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.software-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--app-color) 58%, transparent);
  background: color-mix(in srgb, var(--app-color) 11%, rgba(255,255,255,0.045));
  box-shadow: 0 18px 44px color-mix(in srgb, var(--app-color) 24%, rgba(0,0,0,0.3));
}

.software-ps { --app-color: #31a8ff; }
.software-ai { --app-color: #ff9a00; }
.software-pr { --app-color: #9999ff; }
.software-ae { --app-color: #d291ff; }
.software-figma { --app-color: #a259ff; }

.software-figma svg {
  filter: drop-shadow(0 0 14px rgba(162,89,255,0.48));
}

.software-figma .figma-red { fill: #f24e1e; }
.software-figma .figma-purple { fill: #a259ff; }
.software-figma .figma-blue { fill: #1abcfe; }
.software-figma .figma-green { fill: #0acf83; }
.software-figma .figma-orange { fill: #ff7262; }

@media (max-width: 768px) {
  .creative-software-strip {
    width: 100%;
    gap: 6px;
    margin: 16px auto 22px;
    flex-wrap: nowrap;
  }

  .software-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 72px;
    gap: 5px;
    border-radius: 10px;
  }

  .software-card svg {
    width: 34px;
    height: 34px;
  }

  .software-card text {
    font-size: 22px;
  }

  .software-card span {
    max-width: 100%;
    font-size: 9px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
}




@media (max-width: 768px) {
	
	img.softwares-img{
	width: 100%;
}
}


















.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* responsive fallback */
@media (max-width: 1100px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
}

/* pagination buttons */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.page-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #222;
  color: white;
}

.page-btn.active {
  background: #fff;
  color: #000;
}
























#vehicleGrid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px;              /* ?? more breathing room */
  width: 100%;
  padding: 10px 0 40px;
}

#vehicleGrid .vehicle-card {
  width: 100%;
  min-width: 0;
}



/* GRID PAIR CARD */
.pair-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  height: 220px;
}

.pair-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.pair-card img[data-src] {
  background: #151515;
  color: transparent;
}

/* VIEWER */
#simpleViewer {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#simpleViewer.active {
  display: flex;
}

.viewer-inner {
  position: relative;
  text-align: center;
}

#viewerImg {
  max-width: 90vw;
  max-height: calc(85vh - 76px);
  border-radius: 10px;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
}

#closeViewer {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

#toggleViewer {
  margin-top: 10px;
  padding: 8px 16px;
  cursor: pointer;
}












.vehicle-card {
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}















.vehicle-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}








#simpleViewer #toggleViewer {
  position: absolute;
  bottom: -58px;
  left: 50%;
  transform: translateX(-50%);

  background: linear-gradient(135deg, rgba(123, 47, 247, 0.9), rgba(255, 122, 24, 0.86));
  color: #fff;

  border: 1px solid rgba(255, 122, 24, 0.42);
  border-radius: 999px;

  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;

  cursor: pointer;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);

  transition: all 0.25s ease;
}

/* hover */
#simpleViewer #toggleViewer:hover {
  transform: translateX(-50%) scale(1.05);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

/* active click feel */
#simpleViewer #toggleViewer:active {
  transform: translateX(-50%) scale(0.98);
}







.viewer-label {
  position: absolute;
  bottom: -86px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
  pointer-events: none;
}





















.zoom-in, .zoom-out {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  padding: 10px;
  font-size: 18px;
	border-radius: 10px;


}

.zoom-out { right: 70px; }

.nav-left, .nav-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10000;
	
}

.nav-left { left: 10px; }
.nav-right { right: 10px; }




/* Variation gallery modal controls */
.art-modal .variation-modal-btn {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(12,12,14,0.58);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 10002;
  box-shadow: 0 14px 38px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.art-modal .variation-modal-btn:hover {
  transform: translateY(-1px) scale(1.04);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
}

.art-modal .variation-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 42px;
}

.art-modal .variation-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.art-modal .variation-nav-left {
  left: clamp(14px, 3vw, 34px);
}

.art-modal .variation-nav-right {
  right: clamp(14px, 3vw, 34px);
}

.art-modal .variation-zoom-controls {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vh, 34px);
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
  z-index: 10002;
}

.art-modal .variation-zoom-controls .variation-modal-btn {
  position: static;
  font-size: 27px;
}

.wallpaper-slideshow-controls {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  top: 22px;
  right: 86px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background:
    linear-gradient(rgba(12,12,14,0.72), rgba(12,12,14,0.72)) padding-box,
    linear-gradient(135deg, rgba(123,47,247,0.75), rgba(37,211,102,0.8), rgba(255,122,24,0.72)) border-box;
  box-shadow: 0 14px 34px rgba(0,0,0,0.32);
  z-index: 2;
}

.wallpaper-slideshow-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.wallpaper-play-btn {
  width: 44px;
  height: 44px;
  font-size: 15px;
  background: linear-gradient(135deg, rgba(37,211,102,0.92), rgba(18,130,74,0.92));
  box-shadow: 0 10px 24px rgba(37,211,102,0.22);
}

.wallpaper-slideshow-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.18) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.wallpaper-slideshow-btn:hover,
.wallpaper-slideshow-btn:focus-visible,
.wallpaper-slideshow-btn.active {
  background: linear-gradient(135deg, rgba(123,47,247,0.76), rgba(255,122,24,0.78));
  box-shadow: 0 18px 44px rgba(37,211,102,0.18), 0 0 24px rgba(123,47,247,0.16);
  transform: translateY(-2px) scale(1.04);
}

.wallpaper-slideshow-btn:hover::before,
.wallpaper-slideshow-btn:focus-visible::before {
  transform: translateX(130%);
}

.wallpaper-slideshow-btn.active {
  background: linear-gradient(135deg, rgba(18,130,74,0.94), rgba(37,211,102,0.9));
}

.wallpaper-slideshow-btn span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: 'Sora', Arial, sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

.wallpaper-play-btn span {
  font-size: 18px;
}

.wallpaper-slideshow-speed {
  min-width: 34px;
  color: rgba(255,255,255,0.72);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}

.art-modal img.slideshow-swap,
.image-viewer img.slideshow-swap,
.ai-design-modal-img.slideshow-swap,
.ai-design-modal-video.slideshow-swap {
  animation: wallpaperSlideIn 0.42s ease both;
}

@keyframes wallpaperSlideIn {
  from {
    opacity: 0.25;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (max-width: 768px) {
  .art-modal .variation-modal-btn {
    width: 44px;
    height: 44px;
    background: rgba(10,10,12,0.7);
  }

  .art-modal .variation-nav {
    top: auto;
    bottom: clamp(18px, 4vh, 30px);
    width: 46px;
    height: 46px;
    font-size: 36px;
  }

  .art-modal .variation-nav-left {
    left: 18px;
  }

  .art-modal .variation-nav-right {
    right: 18px;
  }

  .art-modal .variation-zoom-controls {
    bottom: clamp(78px, 11vh, 96px);
  }

  .wallpaper-slideshow-controls {
    top: auto;
    right: auto;
    left: 50%;
    bottom: clamp(132px, 18vh, 154px);
    transform: translateX(-50%);
  }

  .wallpaper-slideshow-btn {
    width: 38px;
    height: 38px;
  }

  .wallpaper-play-btn {
    width: 42px;
    height: 42px;
  }
}
/* AI videos full-size open button */
.video-card .video-open-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(8,8,10,0.62);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  z-index: 5;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.video-card:hover .video-open-btn,
.video-card .video-open-btn:focus-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.video-card .video-open-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.36);
  transform: translateY(0) scale(1.05);
}

.video-card .video-open-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .video-card .video-open-btn {
    opacity: 1;
    transform: none;
    width: 44px;
    height: 44px;
    top: 10px;
    right: 10px;
  }
}
/* Mobile-only sub navigation accordion */
@media (max-width: 768px) {
  .sub-nav {
    top: 90px;
  }

  .sub-nav .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sub-nav-toggle {
    min-height: 48px;
    margin: 8px 0;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    background: rgba(255,255,255,0.055);
    color: var(--text-main);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .sub-nav-toggle::before {
    content: "More links";
    font-size: 14px;
  }

  .sub-nav-toggle .arrow {
    display: none;
  }

  .sub-nav-toggle::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.25s ease;
    opacity: 0.85;
  }

  .sub-nav.open .sub-nav-toggle::after {
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .sub-nav-inner {
    gap: 10px;
    padding: 4px 0 14px;
  }

  .sub-nav.open .sub-nav-inner {
    display: flex;
  }

  .sub-nav-inner .header-socials {
    display: none !important;
  }

  .sub-item.has-dropdown {
    width: 100%;
    padding-bottom: 0;
    color: var(--text-main);
  }

  .sub-item.has-dropdown > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 12px 0 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    color: var(--text-main);
    font-size: 15px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  }

  .sub-item.has-dropdown > span::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    opacity: 1;
    transform: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .sub-item.has-dropdown.open > span {
    border-color: rgba(255,122,24,0.35);
    background: rgba(255,255,255,0.075);
  }

  .sub-item.has-dropdown.open > span::after {
    content: "-";
    background: linear-gradient(135deg,#7b2ff7,#ff7a18);
    border-color: transparent;
    transform: rotate(180deg);
  }

  .sub-item .dropdown,
  .sub-item.has-dropdown:hover .dropdown,
  .sub-item:hover .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    background: rgba(255,255,255,0.035);
    border-radius: 0 0 14px 14px;
    transition: max-height 0.28s ease, opacity 0.2s ease, padding 0.2s ease;
  }

  .sub-item.open .dropdown {
    max-height: 520px;
    padding: 8px 0 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .sub-item .dropdown::before {
    display: none;
  }

  .sub-item .dropdown a {
    display: block;
    padding: 12px 18px 12px 28px;
    border-top: 1px solid rgba(255,255,255,0.055);
    color: var(--text-main);
    font-size: 14px;
  }

  .sub-item .dropdown a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
}
/* Mobile sub navigation accordion state fix */
@media (max-width: 768px) {
  .sub-nav .sub-item.has-dropdown.open .dropdown,
  .sub-nav .sub-item.has-dropdown.open:hover .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    max-height: 520px;
    padding: 8px 0 10px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}
/* Mobile More links toggle visual refinement */
@media (max-width: 768px) {
  .sub-nav-toggle {
    position: relative;
    min-height: 46px;
    margin: 8px 0 10px;
    padding: 0 13px 0 16px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 999px;
    background:
      linear-gradient(var(--header-bg-solid), var(--header-bg-solid)) padding-box,
      linear-gradient(120deg, rgba(123,47,247,0.95), rgba(255,122,24,0.85)) border-box;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
  }

  .sub-nav-toggle::before {
    content: "More links";
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
  }

  .sub-nav-toggle::after {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
    transform: none;
  }

  .sub-nav-toggle .arrow:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 25px;
    top: 50%;
    color: #fff;
    font-size: 0;
    line-height: 1;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
    z-index: 1;
  }

  .sub-nav-toggle .arrow:first-child::before {
    content: "\25BE";
    font-size: 13px;
  }

  .sub-nav.open .sub-nav-toggle::after {
    background: linear-gradient(135deg,#7b2ff7,#ff7a18);
    border-color: transparent;
    transform: none;
  }

  .sub-nav.open .sub-nav-toggle .arrow:first-child {
    transform: translateY(-50%) rotate(180deg);
  }
}
/* Mobile sub-nav fixed offset: no shrink compensation */
@media (max-width: 768px) {
  .sub-nav,
  .header.shrink + .sub-nav {
    top: 110px;
  }
}
/* Vehicles gallery mobile width fix */
@media (max-width: 768px) {
  #vehicleGrid {
    grid-template-columns: 1fr !important;
    gap: 18px;
    padding: 8px 0 34px;
  }

  #vehicleGrid .vehicle-card {
    width: 100%;
  }

  #vehicleGrid .pair-card {
    height: clamp(190px, 56vw, 260px);
    gap: 6px;
  }

  #vehicleGrid .pair-card img {
    height: 100%;
  }
}
/* Secret AI key trigger */
.secret-key-trigger {
  position: fixed;
  top: clamp(94px, 11vh, 126px);
  right: clamp(18px, 3vw, 34px);
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  background: rgba(8,8,12,0.62);
  color: #fff;
  cursor: pointer;
  z-index: 5000;
  box-shadow: 0 18px 46px rgba(0,0,0,0.34), inset 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.secret-key-trigger::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, rgba(123,47,247,0), rgba(123,47,247,0.7), rgba(255,122,24,0.72), rgba(123,47,247,0));
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.24s ease;
  z-index: -1;
}

.secret-key-trigger svg {
  width: 32px;
  height: 32px;
  overflow: visible;
}

.secret-key-trigger circle,
.secret-key-trigger path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.secret-key-trigger:hover {
  transform: translateY(-4px) rotate(-5deg) scale(1.08);
  background: rgba(14,14,20,0.82);
  border-color: rgba(255,255,255,0.42);
  box-shadow: 0 24px 62px rgba(123,47,247,0.26), 0 16px 38px rgba(0,0,0,0.34);
}

.secret-key-trigger:hover::before {
  opacity: 1;
}

.secret-key-trigger:hover .secret-key-shape {
  animation: secretKeyWiggle 0.72s ease both;
}

.secret-key-trigger:active {
  transform: translateY(-1px) scale(0.98);
}

.secret-key-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  transform: translate(8px, -50%) scale(0.96);
  transform-origin: right center;
  min-width: 188px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  background: rgba(0,0,0,0.88);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 44px rgba(0,0,0,0.42);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.secret-key-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: rgba(0,0,0,0.88);
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid rgba(255,255,255,0.12);
  border-right: 1px solid rgba(255,255,255,0.12);
}

.secret-key-trigger:hover .secret-key-tooltip,
.secret-key-trigger:focus-visible .secret-key-tooltip {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

@keyframes secretKeyWiggle {
  0% { transform: rotate(0deg); }
  22% { transform: rotate(-10deg); }
  48% { transform: rotate(8deg); }
  72% { transform: rotate(-4deg); }
  100% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
  .secret-key-trigger {
    top: 92px;
    right: 14px;
    width: 50px;
    height: 50px;
  }

  .secret-key-trigger svg {
    width: 28px;
    height: 28px;
  }

  .secret-key-tooltip {
    right: 0;
    top: calc(100% + 10px);
    transform: translateY(-6px) scale(0.96);
    min-width: 172px;
    font-size: 11px;
    transform-origin: top right;
  }

  .secret-key-tooltip::after {
    top: -6px;
    right: 18px;
    transform: rotate(45deg);
    border-right: 0;
    border-bottom: 0;
  }

  .secret-key-trigger:hover .secret-key-tooltip,
  .secret-key-trigger:focus-visible .secret-key-tooltip {
    transform: translateY(0) scale(1);
  }
}

/* Music library v2 */
.music-library-v2 {
  padding: 96px 0 150px;
}

.music-hero-v2 {
  text-align: center;
  padding: 34px 20px 22px;
}

.music-hero-v2 p {
  color: rgba(255,255,255,0.72);
  margin: 0;
}

.music-stats-v2 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.music-stats-v2 span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.music-stats-v2 strong {
  color: #fff;
}

.music-toolbar-v2 {
  display: flex;
  justify-content: center;
  margin: 12px auto 28px;
}

.music-search-v2 {
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.66);
}

.music-search-v2 input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
}

.music-search-v2 input::placeholder {
  color: rgba(255,255,255,0.42);
}

.music-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 22px;
}

.music-card-v2 {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  background: rgba(255,255,255,0.045);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(0,0,0,0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.music-card-v2:hover,
.music-card-v2.active {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.075);
}

.music-card-v2.playing {
  border-color: rgba(255,122,24,0.56);
}

.music-cover-v2 {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.music-cover-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.music-card-v2:hover .music-cover-v2 img {
  transform: scale(1.035);
}

.track-play-v2,
.track-like-v2 {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  background: rgba(0,0,0,0.52);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.track-play-v2 {
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  font-size: 18px;
}

.track-like-v2 {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  font-size: 15px;
}

.track-play-v2:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  border-color: transparent;
}

.track-like-v2:hover {
  transform: scale(1.08);
}

.music-card-v2.liked .track-like-v2,
.track-like-v2[aria-pressed="true"] {
  color: #ff5f87;
  background: rgba(255,95,135,0.16);
  border-color: rgba(255,95,135,0.42);
}

.track-meta-v2 {
  padding: 14px 14px 16px;
  text-align: left;
}

.track-meta-v2 h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}

.track-meta-v2 p {
  margin: 0;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
}

.music-player-v2 {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 9000;
  display: grid;
  grid-template-columns: minmax(210px, 1.2fr) auto minmax(240px, 1fr) minmax(130px, 0.45fr);
  align-items: center;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 18px;
  background: rgba(8,8,12,0.86);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.player-track-v2 {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.player-track-v2 img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}

.player-title-v2,
.player-artist-v2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-title-v2 {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.player-artist-v2 {
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  margin-top: 3px;
}

.player-controls-v2,
.player-volume-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.player-icon-btn-v2,
.player-main-btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(255,255,255,0.065);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.player-icon-btn-v2 {
  width: 38px;
  height: 38px;
}

.player-main-btn-v2 {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  border-color: transparent;
}

.player-icon-btn-v2:hover,
.player-main-btn-v2:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
}

.player-main-btn-v2:hover {
  background: linear-gradient(135deg,#8d4bff,#ff8b32);
}

.player-progress-v2 {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
}

.player-progress-v2 input,
.player-volume-v2 input {
  width: 100%;
  accent-color: #ff7a18;
}

@media (max-width: 980px) {
  .music-player-v2 {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "track controls"
      "progress progress"
      "volume volume";
  }

  .player-track-v2 { grid-area: track; }
  .player-controls-v2 { grid-area: controls; }
  .player-progress-v2 { grid-area: progress; }
  .player-volume-v2 { grid-area: volume; justify-content: flex-end; }
}

@media (max-width: 768px) {
  .music-library-v2 {
    padding-top: 70px;
    padding-bottom: 190px;
  }

  .music-grid-v2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .track-meta-v2 {
    padding: 11px 11px 13px;
  }

  .track-meta-v2 h2 {
    font-size: 12px;
  }

  .track-meta-v2 p {
    font-size: 10px;
  }

  .track-play-v2 {
    width: 46px;
    height: 46px;
  }

  .music-player-v2 {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    border-radius: 14px;
    gap: 10px;
  }

  .player-track-v2 img {
    width: 46px;
    height: 46px;
  }

  .player-title-v2 {
    font-size: 12px;
  }

  .player-artist-v2 {
    font-size: 10px;
  }
}
/* Interactive PDF flipbook modal */
.pdf-book-modal {
  background: rgba(0,0,0,0.76);
  backdrop-filter: blur(14px);
  z-index: 10030;
}

.pdf-book-content {
  width: min(96vw, 1380px);
  height: min(92vh, 920px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(180deg, rgba(18,18,22,0.98), rgba(6,6,8,0.98));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}

.pdf-book-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 54px 0 2px;
  min-height: 52px;
}

.pdf-book-kicker {
  display: block;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.48);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.pdf-book-topbar h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(18px, 2.2vw, 28px);
  color: #fff;
  line-height: 1.15;
}

.pdf-book-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pdf-book-actions span {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  white-space: nowrap;
}

.pdf-book-actions a,
.pdf-book-nav {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.pdf-book-actions a:hover,
.pdf-book-nav:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  border-color: transparent;
}

.pdf-book-nav:disabled {
  opacity: 0.32;
  cursor: default;
}

.pdf-book-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 12px 74px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,24,0.10), transparent 44%),
    radial-gradient(circle at 50% 100%, rgba(123,47,247,0.14), transparent 48%),
    rgba(255,255,255,0.035);
  overflow: hidden;
}

.pdf-book-stage::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.18), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.pdf-book {
  width: min(100%, 1240px);
  max-height: 100%;
  display: block;
  filter: drop-shadow(0 28px 45px rgba(0,0,0,0.42));
}

.pdf-book .stf__parent,
.pdf-book .stf__wrapper {
  margin: 0 auto;
}

.pdf-book-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: min(420px, 80vw);
  min-height: 260px;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.2);
  color: rgba(255,255,255,0.76);
  font-size: 15px;
}

.pdf-book-loading span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.22);
  border-top-color: #ff7a18;
  animation: pdfBookSpin 0.8s linear infinite;
}

.pdf-book-prev,
.pdf-book-next {
  position: absolute;
  top: 50%;
  z-index: 12;
  transform: translateY(-50%);
}

.pdf-book-prev:hover:not(:disabled),
.pdf-book-next:hover:not(:disabled) {
  transform: translateY(calc(-50% - 2px));
}

.pdf-book-prev {
  left: 18px;
}

.pdf-book-next {
  right: 18px;
}

.pdf-book-hint {
  color: rgba(255,255,255,0.48);
  font-size: 13px;
  text-align: center;
}

.pdf-book-close {
  z-index: 20;
}

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

@media (max-width: 760px) {
  .pdf-book-content {
    width: 96vw;
    height: 92vh;
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }

  .pdf-book-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 48px;
    gap: 10px;
  }

  .pdf-book-actions {
    width: 100%;
    justify-content: space-between;
  }

  .pdf-book-stage {
    padding: 12px 12px 78px;
  }

  .pdf-book-stage::before {
    display: none;
  }

  .pdf-book-prev,
  .pdf-book-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .pdf-book-prev:hover:not(:disabled),
  .pdf-book-next:hover:not(:disabled) {
    transform: translateY(-2px);
  }

  .pdf-book-prev {
    left: calc(50% - 58px);
  }

  .pdf-book-next {
    right: calc(50% - 58px);
  }

  .pdf-book-hint {
    display: none;
  }
}
.pdf-book-fallback {
  width: min(100%, 980px);
  height: 100%;
  min-height: 62vh;
  border: 0;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 24px 50px rgba(0,0,0,0.38);
}

/* Drawings art book */
.drawing-book-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(4,4,7,0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.drawing-book-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.drawing-book-content {
  position: relative;
  width: min(1180px, 96vw);
  height: min(780px, 92vh);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(123,47,247,0.24), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(255,122,24,0.18), transparent 34%),
    rgba(8,8,12,0.94);
  box-shadow: 0 30px 90px rgba(0,0,0,0.56);
  transform: translateY(16px) scale(0.985);
  transition: transform 0.28s ease;
}

.drawing-book-modal.show .drawing-book-content {
  transform: translateY(0) scale(1);
}

.drawing-book-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.22s ease, background 0.22s ease;
}

.drawing-book-close:hover {
  transform: rotate(90deg) scale(1.04);
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.drawing-book-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-right: 54px;
}

.drawing-book-kicker {
  display: inline-flex;
  margin-bottom: 6px;
  color: #ffb15c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawing-book-topbar h3 {
  margin: 0;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
}

.drawing-book-status {
  color: rgba(255,255,255,0.72);
  font-weight: 800;
  white-space: nowrap;
}

.drawing-book-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 14px 72px 18px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,24,0.12), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(123,47,247,0.16), transparent 46%),
    rgba(255,255,255,0.04);
  overflow: hidden;
  perspective: 1800px;
}

.drawing-book {
  position: relative;
  width: min(100%, 940px);
  height: min(100%, 610px);
  display: block;
  filter: drop-shadow(0 28px 44px rgba(0,0,0,0.42));
  transform-style: preserve-3d;
}

.drawing-book .stf__parent,
.drawing-book .stf__wrapper {
  margin: 0 auto;
}

.drawing-book::after {
  content: "";
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 50%;
  z-index: 4;
  width: 22px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.22), rgba(255,255,255,0.30), rgba(0,0,0,0.26)),
    linear-gradient(180deg, rgba(123,47,247,0.32), rgba(255,122,24,0.22));
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(0,0,0,0.32);
  pointer-events: none;
}

.drawing-book-page {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(250,244,232,0.96)),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(123,47,247,0.035) 29px 30px);
  overflow: hidden;
  cursor: pointer;
  backface-visibility: hidden;
}

.drawing-book-page:nth-child(odd) {
  border-radius: 20px 8px 8px 20px;
  box-shadow: inset -18px 0 26px rgba(0,0,0,0.12);
}

.drawing-book-page:nth-child(even) {
  border-radius: 8px 20px 20px 8px;
  box-shadow: inset 18px 0 26px rgba(0,0,0,0.10);
}

.drawing-book-paper {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,24,0.08), transparent 40%),
    rgba(255,255,255,0.34);
}

.drawing-book-paper img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.16));
  user-select: none;
  -webkit-user-drag: none;
}

.drawing-book-page-number {
  position: absolute;
  bottom: 11px;
  z-index: 2;
  color: rgba(32,24,18,0.42);
  font-size: 12px;
  font-weight: 900;
}

.drawing-book-page:nth-child(odd) .drawing-book-page-number {
  left: 18px;
}

.drawing-book-page:nth-child(even) .drawing-book-page-number {
  right: 18px;
}

.drawing-book-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 0.22s ease, background 0.22s ease, opacity 0.22s ease;
}

.drawing-book-nav:hover:not(:disabled) {
  transform: translateY(calc(-50% - 2px));
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
}

.drawing-book-nav:disabled {
  opacity: 0.32;
  cursor: default;
}

.drawing-book-prev {
  left: 18px;
}

.drawing-book-next {
  right: 18px;
}

.drawing-book-hint {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-align: center;
}

body.light-mode .drawing-book-modal {
  background: rgba(255,255,255,0.62);
}

body.light-mode .drawing-book-content {
  background:
    radial-gradient(circle at 12% 0%, rgba(123,47,247,0.14), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(255,122,24,0.14), transparent 34%),
    rgba(250,250,255,0.94);
}

body.light-mode .drawing-book-topbar h3 {
  color: #17121f;
}

body.light-mode .drawing-book-status {
  color: rgba(23,18,31,0.72);
}

body.light-mode .drawing-book-stage {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,122,24,0.13), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(123,47,247,0.16), transparent 46%),
    rgba(23,18,31,0.05);
}

body.light-mode .drawing-book-hint {
  color: rgba(23,18,31,0.58);
}

@media (max-width: 760px) {
  .drawing-book-content {
    width: 98vw;
    height: 92vh;
    padding: 12px;
    border-radius: 18px;
  }

  .drawing-book-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding-right: 46px;
    gap: 8px;
  }

  .drawing-book-stage {
    padding: 8px 4px 74px;
  }

  .drawing-book {
    width: min(100%, 340px);
    height: min(100%, 600px);
  }

  .drawing-book::after {
    display: none;
  }

  .drawing-book-page,
  .drawing-book-page:nth-child(odd),
  .drawing-book-page:nth-child(even) {
    border-radius: 18px;
    box-shadow: inset 0 0 24px rgba(0,0,0,0.08);
  }

  .drawing-book-page {
    padding: 14px;
  }

  .drawing-book-prev,
  .drawing-book-next {
    top: auto;
    bottom: 16px;
    transform: none;
  }

  .drawing-book-prev:hover:not(:disabled),
  .drawing-book-next:hover:not(:disabled) {
    transform: translateY(-2px);
  }

  .drawing-book-prev {
    left: calc(50% - 58px);
  }

  .drawing-book-next {
    right: calc(50% - 58px);
  }

  .drawing-book-hint {
    display: none;
  }
}
/* Vehicle Designs paired modal */
#workModal.vehicle-pair-mode {
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

#workModal.vehicle-pair-mode .work-modal-content {
  width: min(96vw, 1180px);
  max-width: 1180px;
  height: min(88vh, 860px);
  padding: 24px 24px 86px;
  overflow: hidden;
  background: rgba(8,8,10,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 28px 90px rgba(0,0,0,0.56);
}

.vehicle-pair-gallery,
.vehicle-single-gallery {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.vehicle-pair-frame {
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255,255,255,0.035);
}

.vehicle-single-frame {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.vehicle-pair-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transform: none !important;
}

.vehicle-view-toggle-wrap {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 19;
  transform: translateX(-50%);
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  display: block;
}

.vehicle-view-toggle {
  min-width: 172px;
  min-height: 46px;
  padding: 12px 24px;
  border: 1px solid rgba(255, 122, 24, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.88), rgba(255, 122, 24, 0.86));
  color: #fff;
  box-shadow: 0 18px 42px rgba(123, 47, 247, 0.24), 0 12px 32px rgba(0,0,0,0.38);
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.vehicle-view-toggle:hover,
.vehicle-view-toggle:focus-visible {
  outline: none;
  filter: saturate(1.12) brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(255, 122, 24, 0.22), 0 14px 36px rgba(0,0,0,0.42);
}

.vehicle-view-toggle:active {
  transform: translateY(0) scale(0.98);
}

.vehicle-work-nav {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 16;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  background: rgba(15,15,18,0.7);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 16px 36px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

#workModal.vehicle-pair-mode .vehicle-work-nav {
  display: grid;
  place-items: center;
}

.vehicle-work-nav:hover {
  transform: translateY(-50%) scale(1.06);
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  border-color: transparent;
}

.vehicle-work-prev {
  left: 18px;
}

.vehicle-work-next {
  right: 18px;
}

#workModal.vehicle-pair-mode .ai-modal-close {
  z-index: 18;
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    width: 96vw;
    height: min(82vh, 620px);
    padding: 14px 14px 78px;
  }

  .vehicle-pair-gallery,
  .vehicle-single-gallery {
    gap: 8px;
  }

  .vehicle-view-toggle-wrap {
    bottom: 16px;
  }

  .vehicle-view-toggle {
    min-width: 156px;
    min-height: 44px;
    padding: 11px 20px;
    font-size: 13px;
  }

  .vehicle-work-nav {
    width: 42px;
    height: 42px;
  }

  .vehicle-work-prev {
    left: 10px;
  }

  .vehicle-work-next {
    right: 10px;
  }
}
/* Vehicle Designs horizontal thumbnail scroller */
#recent-works .vehicle-design-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 54px;
}

#recent-works .vehicle-design-scroll {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  padding: 8px 0 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#recent-works .vehicle-design-scroll::-webkit-scrollbar {
  display: none;
}

#recent-works .vehicle-design-card {
  flex: 0 0 calc(20% - 20px) !important;
  width: auto;
  scroll-snap-align: start;
}

#recent-works .vehicle-design-card img {
  width: 100%;
  height: clamp(170px, 13vw, 230px);
  object-fit: cover;
}

#recent-works .vehicle-design-arrow {
  display: grid;
  place-items: center;
}

#recent-works .vehicle-design-arrow.left {
  left: 0;
}

#recent-works .vehicle-design-arrow.right {
  right: 0;
}

.vehicle-design-slider {
  display: block;
  width: min(680px, 88%);
  margin: 20px auto 0;
}

.vehicle-design-slider input {
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  outline: none;
  cursor: pointer;
}

.vehicle-design-slider input::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 8px 22px rgba(0,0,0,0.32);
}

.vehicle-design-slider input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 8px 22px rgba(0,0,0,0.32);
}

@media (max-width: 980px) {
  #recent-works .vehicle-design-card {
    flex-basis: calc(33.333% - 16px) !important;
  }
}

@media (max-width: 768px) {
  #recent-works .vehicle-design-wrapper {
    padding: 0;
  }

  #recent-works .vehicle-design-card {
    flex-basis: 50% !important;
    padding: 6px;
  }

  #recent-works .vehicle-design-arrow {
    display: none;
  }

  .vehicle-design-slider {
    width: 94%;
    margin-top: 12px;
  }
}
/* Mobile hero character behind portfolio button */
@media (max-width: 768px) {
  .hero {
    position: relative;
  }

  .hero-text {
    position: relative;
    z-index: 2;
  }

  .hero-text .btn {
    position: relative;
    z-index: 4;
  }

  .hero-image-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    pointer-events: none;
  }

  .hero-image {
    width: auto;
    display: inline-flex !important;
    justify-content: center;
    overflow: visible;
  }

  .hero-image img.hero-mobile,
  .hero-video.hero-mobile {
    width: min(236px, 62vw) !important;
    max-width: 236px !important;
    height: auto;
    margin-top: 0;
    transform: none;
  }
}

/* Mobile-only: smaller titles on inner link pages, excluding index.html */
@media (max-width: 768px) {
  .video-hero h1 {
    font-size: 26px;
  }

  .music-title {
    font-size: clamp(17px, 2.5vw, 27px);
  }
}

#drawing-ai .ai-mobile-hint,
#drawing-ai .ai-mobile-open,
#drawing-ai .ai-mobile-controls,
#drawing-ai .ai-mobile-scrollbar {
  display: none;
}

/* Mobile-only: Original Drawing to Living AI touch showcase */
@media (max-width: 768px) {
  #drawing-ai {
    overflow: hidden;
  }

  #drawing-ai .ai-scroll-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: visible;
    margin-top: 28px;
    margin-bottom: 34px;
  }

  #drawing-ai .ai-nav {
    position: absolute;
    top: 38%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(8,8,10,0.72);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    z-index: 5;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  #drawing-ai .ai-nav.left {
    left: 3px;
  }

  #drawing-ai .ai-nav.right {
    right: 3px;
  }

  #drawing-ai .ai-scroll {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 10vw 78px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10vw;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  #drawing-ai .ai-scroll::-webkit-scrollbar {
    display: none;
  }

  #drawing-ai .ai-mobile-scrollbar {
    display: block;
    width: 80%;
    height: 13px;
    margin: 12px auto 0;
    border-radius: 999px;
    background: rgba(155,155,165,0.58);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16);
    overflow: hidden;
    cursor: pointer;
    touch-action: none;
  }

  #drawing-ai .ai-mobile-scrollbar-thumb {
    display: block;
    width: 48px;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#7b2ff7,#ff7a18);
    box-shadow: 0 0 14px rgba(255,122,24,0.28);
    transition: width 0.12s ease;
    pointer-events: none;
  }

  #drawing-ai .ai-page,
  #drawing-ai .ai-grid {
    display: contents !important;
    width: auto !important;
    height: auto !important;
    max-height: none !important;
  }

  #drawing-ai .ai-card {
    position: relative;
    flex: 0 0 min(74vw, 330px) !important;
    width: min(74vw, 330px) !important;
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
    border-radius: 22px;
    overflow: visible !important;
    scroll-snap-align: center;
    box-shadow: 0 18px 45px rgba(0,0,0,0.34);
  }

  #drawing-ai .ai-card::before,
  #drawing-ai .ai-card::after {
    display: none !important;
    content: none !important;
    animation: none !important;
  }

  #drawing-ai .ai-card a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
  }

  #drawing-ai .ai-thumb,
  #drawing-ai .ai-video {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 22px;
  }

  #drawing-ai .ai-thumb {
    opacity: 1;
    filter: none;
    transform: none;
    backface-visibility: hidden;
  }

  #drawing-ai .ai-video {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    pointer-events: none;
  }

  #drawing-ai .ai-card:hover .ai-video,
  #drawing-ai .ai-card:active .ai-video {
    opacity: 0 !important;
  }

  #drawing-ai .ai-card:hover .ai-thumb,
  #drawing-ai .ai-card:active .ai-thumb {
    opacity: 1 !important;
  }

  #drawing-ai .ai-card.is-loading .ai-video {
    opacity: 0;
    visibility: hidden;
  }

  #drawing-ai .ai-card.is-playing .ai-video,
  #drawing-ai .ai-card.is-playing:hover .ai-video,
  #drawing-ai .ai-card.is-playing:active .ai-video {
    opacity: 1 !important;
    visibility: visible;
  }

  #drawing-ai .ai-card.is-playing .ai-thumb,
  #drawing-ai .ai-card.is-playing:hover .ai-thumb,
  #drawing-ai .ai-card.is-playing:active .ai-thumb {
    opacity: 0 !important;
  }

  #drawing-ai .ai-mobile-controls {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
  }

  #drawing-ai .ai-mobile-hint,
  #drawing-ai .ai-mobile-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
  }

  #drawing-ai .ai-mobile-hint {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,0.58);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  #drawing-ai .ai-mobile-open {
    position: static;
    flex: 1;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 999px;
    background: linear-gradient(135deg,#7b2ff7,#ff7a18);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  }
}

/* AI-assisted design showcase */
.ai-designs-section {
  position: relative;
  text-align: center;
}

.ai-designs-intro {
  max-width: 900px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #ffb15c;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
}

.ai-designs-intro h2 {
  margin-bottom: 14px;
  background: linear-gradient(100deg,#7b2ff7 0%,#ff7a18 34%,#ffffff 50%,#ff7a18 66%,#7b2ff7 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: aiDesignTitleGradient 5.8s ease-in-out infinite;
}

.ai-designs-intro p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
}

.ai-design-gallery {
  margin-top: 54px;
}

.ai-design-gallery-head {
  display: block;
  margin-bottom: 20px;
  text-align: center;
}

.ai-design-gallery-head h3 {
  margin: 0 0 8px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 700;
}

.ai-design-gallery-head p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.7;
}

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

.ai-design-rail-wrap {
  position: relative;
}

.ai-design-rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.ai-design-rail::-webkit-scrollbar {
  display: none;
}

.ai-design-card {
  position: relative;
  flex: 0 0 260px;
  aspect-ratio: 4 / 5;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.2), transparent 28%),
    linear-gradient(135deg, rgba(123,47,247,0.7), rgba(255,122,24,0.72));
  color: #fff;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
  transform: translateY(0);
  transition: border-color 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.ai-design-card.has-media {
  flex: 0 0 auto;
  width: 280px;
  height: clamp(260px, 32vw, 390px);
  aspect-ratio: auto;
  background: rgba(255,255,255,0.035);
}

.ai-design-card.has-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: filter 0.28s ease;
}

.ai-design-card.has-video {
  width: min(420px, 72vw);
  aspect-ratio: 16 / 9;
  height: auto;
  background: #08080a;
}

.ai-design-card.has-video video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.28s ease;
  background: #08080a;
}

.ai-design-card.has-video.has-video-preview video {
  opacity: 1;
}

.ai-design-video-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.16), transparent 28%),
    linear-gradient(135deg, rgba(123,47,247,0.72), rgba(255,122,24,0.62), rgba(8,8,10,0.96));
  transition: opacity 0.28s ease, visibility 0.28s ease;
  pointer-events: none;
}

.ai-design-video-fallback span {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.ai-design-card.has-video.has-video-preview .ai-design-video-fallback {
  opacity: 0;
  visibility: hidden;
}

.ai-design-card.has-media:hover img,
.ai-design-card.has-media:focus-visible img {
  filter: saturate(1.04);
}

.ai-design-card.product-showcase {
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.22), transparent 26%),
    linear-gradient(135deg, rgba(29,185,255,0.72), rgba(123,47,247,0.78));
}

.ai-design-card.ai-video-edits {
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, rgba(255,122,24,0.7), rgba(12,12,18,0.94));
}

.ai-design-card:hover,
.ai-design-card:focus-visible {
  border-color: transparent;
  background: linear-gradient(120deg,#7b2ff7,#ff7a18,#7b2ff7);
  background-size: 220% 100%;
  animation: aiDesignBorderFlow 2.8s linear infinite;
  box-shadow: 0 18px 44px rgba(0,0,0,0.32), 0 0 18px rgba(255,122,24,0.18);
}

.ai-design-card.coming-soon {
  overflow: hidden;
  animation: aiDesignComingSoonPulse 3.8s ease-in-out infinite;
}

.ai-design-card.coming-soon::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(115deg, transparent 36%, rgba(255,255,255,0.22) 50%, transparent 64%);
  transform: translateX(-65%) rotate(8deg);
  animation: aiDesignComingSoonSweep 4.6s ease-in-out infinite;
  pointer-events: none;
}

.ai-design-card::before {
  content: none;
}

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

.ai-design-placeholder-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  text-align: center;
}

.ai-design-placeholder-label strong {
  display: block;
  margin-bottom: 6px;
  font-family: 'Sora', sans-serif;
  font-size: 17px;
}

.ai-design-placeholder-label span {
  color: rgba(255,255,255,0.76);
  font-size: 13px;
}

.ai-design-card-number {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  font-family: 'Sora', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
}

.ai-design-play {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0,0,0,0.38);
  animation: aiDesignPlayPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes aiDesignComingSoonPulse {
  0%,100% { box-shadow: 0 18px 44px rgba(0,0,0,0.28); }
  50% { box-shadow: 0 22px 58px rgba(255,122,24,0.18); }
}

@keyframes aiDesignComingSoonSweep {
  0%, 30% { transform: translateX(-68%) rotate(8deg); opacity: 0; }
  48% { opacity: 0.85; }
  70%, 100% { transform: translateX(68%) rotate(8deg); opacity: 0; }
}

@keyframes aiDesignPlayPulse {
  0%,100% { transform: scale(1); background: rgba(0,0,0,0.38); }
  50% { transform: scale(1.08); background: rgba(123,47,247,0.58); }
}

.ai-design-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(10,10,12,0.72);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 3;
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.ai-design-nav:hover,
.ai-design-nav:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 12px 30px rgba(255,122,24,0.22);
  transform: translateY(-50%) scale(1.08);
}

.ai-design-prev {
  left: -18px;
}

.ai-design-next {
  right: -18px;
}

.ai-design-slider {
  width: min(520px, 82%);
  height: 14px;
  margin: 10px auto 0;
  display: block;
  accent-color: #ff7a18;
  cursor: pointer;
}

.ai-design-hire {
  display: flex;
  justify-content: center;
  margin-top: 58px;
}

.ai-design-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 230px;
  padding: 15px 28px;
  border-radius: 999px;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg,#0fbf5f,#25d366,#087f43);
  background-size: 220% 100%;
  box-shadow: 0 16px 36px rgba(37,211,102,0.22);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
  animation: aiDesignWhatsappFlow 4.8s ease-in-out infinite;
}

.ai-design-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.ai-design-whatsapp:hover,
.ai-design-whatsapp:focus-visible {
  color: #fff;
  filter: saturate(1.08);
  box-shadow: 0 20px 46px rgba(37,211,102,0.32);
  transform: translateY(-3px);
}

.ai-design-whatsapp:hover::before,
.ai-design-whatsapp:focus-visible::before {
  transform: translateX(130%);
}

.ai-design-whatsapp i,
.ai-design-whatsapp span {
  position: relative;
  z-index: 1;
}

.ai-design-whatsapp i {
  font-size: 22px;
}

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

.ai-design-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.ai-design-modal.active {
  display: flex;
}

.ai-design-modal-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(94vw, 1400px);
  height: min(84vh, 860px);
  overflow: hidden;
}

.ai-design-modal-img,
.ai-design-modal-video,
.ai-design-modal-placeholder {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  box-shadow: 0 26px 80px rgba(0,0,0,0.45);
}

.ai-design-modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  display: none;
  object-fit: contain;
}

.ai-design-modal-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: contain;
}

.ai-design-modal-img,
.ai-design-modal-video,
.ai-design-modal-placeholder {
  display: none;
}

.ai-design-modal-placeholder {
  width: min(70vw, 720px);
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, rgba(123,47,247,0.78), rgba(255,122,24,0.78));
}

.ai-design-modal.show-image .ai-design-modal-img,
.ai-design-modal.show-video .ai-design-modal-video,
.ai-design-modal.show-placeholder .ai-design-modal-placeholder {
  display: block;
}

.ai-design-modal-close,
.ai-design-modal-nav,
.ai-design-modal-zoom button {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(12,12,14,0.7);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ai-design-modal-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  font-size: 32px;
  z-index: 2;
}

.ai-design-modal-nav {
  position: absolute;
  top: 50%;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  z-index: 2;
  transition: background 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.ai-design-modal-nav:hover,
.ai-design-modal-nav:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 14px 34px rgba(255,122,24,0.24);
  transform: translateY(-50%) scale(1.08);
}

.ai-design-modal-prev {
  left: clamp(16px, 3vw, 44px);
}

.ai-design-modal-next {
  right: clamp(16px, 3vw, 44px);
}

.ai-design-modal-zoom {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
  z-index: 2;
}

.ai-design-modal-zoom button {
  width: 46px;
  height: 46px;
  font-size: 27px;
}

.ai-design-modal.show-video .ai-design-modal-zoom {
  display: none;
}

.ai-design-modal-caption {
  position: absolute;
  left: 50%;
  bottom: 82px;
  max-width: min(80vw, 760px);
  color: rgba(255,255,255,0.78);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  text-align: center;
  transform: translateX(-50%);
}

@media (min-width: 769px) {
  .ai-design-modal.show-image .ai-design-modal-caption {
    display: none;
  }
}

@media (max-width: 768px) {
  .ai-designs-intro {
    margin-bottom: 38px;
  }

  .ai-design-gallery {
    margin-top: 42px;
  }

  .ai-design-gallery-head {
    text-align: center;
  }

  .ai-design-card {
    flex-basis: 78vw;
  }

  .ai-design-card.has-media {
    flex-basis: auto;
    height: clamp(230px, 68vw, 340px);
  }

  .ai-design-card.ai-video-edits.has-video {
    flex: 0 0 calc(100vw - 44px);
    width: calc(100vw - 44px);
    height: auto;
    aspect-ratio: 16 / 9;
    min-width: 0;
    max-width: 390px;
    max-height: none;
    border-radius: 16px;
    scroll-snap-align: center;
  }

  [data-gallery="ai-video-edits"] .ai-design-rail {
    gap: 14px;
    padding-inline: 2px;
  }

  .ai-design-card.ai-video-edits.has-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .ai-design-prev {
    left: 4px;
  }

  .ai-design-next {
    right: 4px;
  }

  .ai-design-modal-stage {
    width: 86vw;
    height: 72vh;
  }

  .ai-design-modal-nav {
    top: auto;
    bottom: 22px;
    width: 46px;
    height: 46px;
    transform: none;
  }

  .ai-design-modal-nav:hover,
  .ai-design-modal-nav:focus-visible {
    transform: scale(1.08);
  }

  .ai-design-modal-zoom {
    bottom: 22px;
  }

  .ai-design-modal-caption {
    bottom: 82px;
  }
}

.ap-translate-widget {
  position: fixed;
  left: 18px;
  right: auto;
  bottom: 18px;
  top: auto;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Sora', sans-serif;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease;
}

.ap-translate-widget.is-hidden,
.ap-translate-widget.is-auto-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
}

.ap-translate-button,
.ap-translate-hide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(11, 11, 18, 0.72);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.ap-translate-button {
  gap: 5px;
  min-height: 30px;
  padding: 6px 10px;
  font-size: 11px;
}

.ap-translate-hide {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 17px;
}

.ap-translate-button:hover,
.ap-translate-button:focus-visible,
.ap-translate-hide:hover,
.ap-translate-hide:focus-visible {
  border-color: rgba(255, 122, 24, 0.58);
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.95), rgba(255, 122, 24, 0.92));
  box-shadow: 0 14px 30px rgba(123, 47, 247, 0.28);
  outline: none;
  transform: translateY(-2px);
}

.ap-translate-button.is-active {
  border-color: rgba(255, 122, 24, 0.74);
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.98), rgba(255, 122, 24, 0.96));
}

.ap-translate-flag {
  font-size: 13px;
  line-height: 1;
}

.ap-translate-widget select,
#google_translate_element,
#google_translate_element .skiptranslate,
.goog-te-combo {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  font-family: 'Sora', sans-serif !important;
}

.ap-translate-service {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skiptranslate iframe,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

body {
  top: 0 !important;
}

body.is-translated-hebrew .nav,
body.is-translated-hebrew .sub-nav-inner,
body.is-translated-hebrew .hero-content,
body.is-translated-hebrew .section-title,
body.is-translated-hebrew .section-subtitle,
body.is-translated-hebrew .work-content,
body.is-translated-hebrew .about-text {
  direction: rtl;
}

@media (max-width: 768px) {
  .ap-translate-widget {
    left: 12px;
    bottom: 14px;
    gap: 5px;
  }

  .ap-translate-button {
    min-height: 28px;
    padding: 6px 8px;
    font-size: 10px;
  }

  .ap-translate-hide {
    width: 27px;
    height: 27px;
    font-size: 16px;
  }

  .ap-translate-flag {
    font-size: 12px;
  }
}

/* Scoped vehicle full-size modal sizing: affects only the opened modal, never thumbnails. */
#workModal.vehicle-pair-mode .work-modal-content {
  position: relative;
  box-sizing: border-box;
  height: min(88dvh, 860px);
  padding: 24px 24px 92px;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .vehicle-single-frame {
  width: 100%;
  height: 100%;
  max-width: 980px;
  max-height: 100%;
  display: grid;
  place-items: center;
  margin: 0 auto;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .vehicle-single-frame img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 22px;
  z-index: 22;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    height: min(84dvh, 640px);
    padding: 14px 14px 78px;
  }

  #workModal.vehicle-pair-mode .vehicle-single-frame {
    max-width: 100%;
  }

  #workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
    bottom: 15px;
  }
}

/* Final vehicle modal containment fix: modal only, no thumbnail selectors. */
#workModal.vehicle-pair-mode .work-modal-content {
  position: relative;
  box-sizing: border-box;
  height: min(88dvh, 860px);
  padding-bottom: 96px;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .vehicle-single-frame {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .vehicle-single-frame img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 24;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    height: min(84dvh, 640px);
    padding-bottom: 80px;
  }

  #workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
    bottom: 15px;
  }
}

/* Vehicle modal unboxed full-size viewer: modal only, no thumbnail selectors. */
#workModal.vehicle-pair-mode {
  align-items: center;
  justify-content: center;
}

#workModal.vehicle-pair-mode .work-modal-content {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 64px 92px 112px;
  box-sizing: border-box;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: visible;
}

#workModal.vehicle-pair-mode .vehicle-modal-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 12px;
  transform: none !important;
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 24;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
}

#workModal.vehicle-pair-mode .vehicle-work-prev {
  left: 42px;
}

#workModal.vehicle-pair-mode .vehicle-work-next {
  right: 42px;
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    padding: 56px 18px 96px;
  }

  #workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
    bottom: 22px;
  }

  #workModal.vehicle-pair-mode .vehicle-work-prev {
    left: 12px;
  }

  #workModal.vehicle-pair-mode .vehicle-work-next {
    right: 12px;
  }
}

/* Vehicle modal fit-to-screen viewer: same sizing idea as vehicles.html simpleViewer. */
#workModal.vehicle-pair-mode {
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#workModal.vehicle-pair-mode .work-modal-content {
  position: relative;
  display: grid;
  place-items: center;
  width: auto;
  max-width: 100vw;
  height: auto;
  max-height: 100dvh;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  display: block;
  width: auto;
  height: auto;
  overflow: visible;
}

#workModal.vehicle-pair-mode .vehicle-modal-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: calc(85dvh - 76px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 10px;
  transform: none !important;
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 24;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .vehicle-modal-image {
    max-width: calc(100vw - 36px) !important;
    max-height: calc(82dvh - 78px) !important;
  }

  #workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
    bottom: 22px;
  }
}

/* Vehicle modal final layout: fit image to screen, nav hugs fitted image sides. */
#workModal.vehicle-pair-mode .work-modal-content {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: fit-content;
  height: fit-content;
  max-width: 90vw;
  max-height: calc(85dvh - 76px);
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  display: block;
  width: fit-content;
  height: fit-content;
  max-width: 90vw;
  max-height: calc(85dvh - 76px);
  overflow: visible;
}

#workModal.vehicle-pair-mode .vehicle-modal-image {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: calc(85dvh - 76px) !important;
  object-fit: contain !important;
  object-position: center center !important;
}

#workModal.vehicle-pair-mode .vehicle-work-nav {
  top: 50%;
  transform: translateY(-50%);
}

#workModal.vehicle-pair-mode .vehicle-work-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

#workModal.vehicle-pair-mode .vehicle-work-prev {
  left: -70px;
}

#workModal.vehicle-pair-mode .vehicle-work-next {
  right: -70px;
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content,
  #workModal.vehicle-pair-mode .vehicle-single-gallery {
    max-width: calc(100vw - 86px);
    max-height: calc(82dvh - 78px);
  }

  #workModal.vehicle-pair-mode .vehicle-modal-image {
    max-width: calc(100vw - 86px) !important;
    max-height: calc(82dvh - 78px) !important;
  }

  #workModal.vehicle-pair-mode .vehicle-work-prev {
    left: -48px;
  }

  #workModal.vehicle-pair-mode .vehicle-work-next {
    right: -48px;
  }
}

/* Vehicle modal controls belong to the fitted image, not the viewport. */
#workModal.vehicle-pair-mode .work-modal-content {
  position: relative !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  height: fit-content !important;
  max-width: 90vw !important;
  max-height: calc(85dvh - 28px) !important;
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  display: block !important;
  width: fit-content !important;
  height: fit-content !important;
  max-width: 90vw !important;
  max-height: calc(85dvh - 92px) !important;
  overflow: visible !important;
}

#workModal.vehicle-pair-mode .vehicle-modal-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: calc(85dvh - 92px) !important;
  object-fit: contain !important;
  object-position: center center !important;
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  position: static !important;
  display: grid !important;
  place-items: center !important;
  margin-top: 16px !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}

#workModal.vehicle-pair-mode .vehicle-work-nav {
  position: absolute !important;
  top: calc((100% - 62px) / 2) !important;
  transform: translateY(-50%) !important;
  z-index: 24 !important;
}

#workModal.vehicle-pair-mode .vehicle-work-nav:hover {
  transform: translateY(-50%) scale(1.06) !important;
}

#workModal.vehicle-pair-mode .vehicle-work-prev {
  left: -70px !important;
}

#workModal.vehicle-pair-mode .vehicle-work-next {
  right: -70px !important;
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    max-width: calc(100vw - 86px) !important;
    max-height: calc(84dvh - 20px) !important;
  }

  #workModal.vehicle-pair-mode .vehicle-single-gallery,
  #workModal.vehicle-pair-mode .vehicle-modal-image {
    max-width: calc(100vw - 86px) !important;
    max-height: calc(84dvh - 88px) !important;
  }

  #workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
    margin-top: 14px !important;
  }

  #workModal.vehicle-pair-mode .vehicle-work-prev {
    left: -48px !important;
  }

  #workModal.vehicle-pair-mode .vehicle-work-next {
    right: -48px !important;
  }
}

/* Vehicle modal fixed controls: controls stay in one place, image changes only inside stage. */
#workModal.vehicle-pair-mode {
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

#workModal.vehicle-pair-mode .work-modal-content {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  padding: 64px 96px 104px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

#workModal.vehicle-pair-mode .vehicle-modal-image {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: none !important;
}

#workModal.vehicle-pair-mode .vehicle-work-nav {
  position: fixed !important;
  top: 50% !important;
  z-index: 24 !important;
  transform: translateY(-50%) !important;
}

#workModal.vehicle-pair-mode .vehicle-work-nav:hover {
  transform: translateY(-50%) scale(1.06) !important;
}

#workModal.vehicle-pair-mode .vehicle-work-prev {
  left: 42px !important;
}

#workModal.vehicle-pair-mode .vehicle-work-next {
  right: 42px !important;
}

#workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 28px !important;
  z-index: 24 !important;
  display: grid !important;
  place-items: center !important;
  margin: 0 !important;
  transform: translateX(-50%) !important;
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    padding: 56px 62px 92px !important;
  }

  #workModal.vehicle-pair-mode .vehicle-work-prev {
    left: 12px !important;
  }

  #workModal.vehicle-pair-mode .vehicle-work-next {
    right: 12px !important;
  }

  #workModal.vehicle-pair-mode .vehicle-view-toggle-wrap {
    bottom: 22px !important;
  }
}

/* Vehicle modal image sizing only: keep fixed controls, constrain image to viewport. */
#workModal.vehicle-pair-mode .work-modal-content {
  padding: 64px 96px 104px !important;
  box-sizing: border-box !important;
}

#workModal.vehicle-pair-mode .vehicle-single-gallery {
  width: 100% !important;
  height: 100% !important;
  max-width: calc(100vw - 192px) !important;
  max-height: calc(100dvh - 168px) !important;
  display: grid !important;
  place-items: center !important;
}

#workModal.vehicle-pair-mode .vehicle-modal-image {
  width: auto !important;
  height: auto !important;
  max-width: calc(100vw - 192px) !important;
  max-height: calc(100dvh - 168px) !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 768px) {
  #workModal.vehicle-pair-mode .work-modal-content {
    padding: 56px 62px 92px !important;
  }

  #workModal.vehicle-pair-mode .vehicle-single-gallery {
    max-width: calc(100vw - 124px) !important;
    max-height: calc(100dvh - 148px) !important;
  }

  #workModal.vehicle-pair-mode .vehicle-modal-image {
    max-width: calc(100vw - 124px) !important;
    max-height: calc(100dvh - 148px) !important;
  }
}

/* Hebrew translated mode typography */
html[lang="he"],
body.is-translated-hebrew {
  font-family: 'Heebo', 'Rubik', 'Assistant', 'Segoe UI', Arial, sans-serif;
}

body.is-translated-hebrew h1,
body.is-translated-hebrew h2,
body.is-translated-hebrew h3,
body.is-translated-hebrew h4,
body.is-translated-hebrew .btn,
body.is-translated-hebrew .nav,
body.is-translated-hebrew .sub-nav,
body.is-translated-hebrew .work-info,
body.is-translated-hebrew .ai-designs-section {
  font-family: 'Heebo', 'Rubik', 'Assistant', 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0;
}

/* Index light-mode readability polish */
body.light-mode {
  color: #15151c;
}

body.light-mode .bg-creative {
  background:
    radial-gradient(circle at 20% 30%, rgba(123,47,247,0.11), transparent 58%),
    radial-gradient(circle at 80% 70%, rgba(255,122,24,0.10), transparent 58%),
    linear-gradient(180deg, #f7f8fc 0%, #eef1f8 100%);
}

body.light-mode .nav a,
body.light-mode .sub-nav span,
body.light-mode .sub-nav a,
body.light-mode .mobile-menu a,
body.light-mode .footer-links a,
body.light-mode .header-socials a {
  color: #181822;
}

body.light-mode .sub-nav,
body.light-mode .dropdown,
body.light-mode .mobile-menu {
  background: rgba(255,255,255,0.88);
  border-color: rgba(20,20,30,0.12);
  box-shadow: 0 18px 42px rgba(20,20,30,0.10);
}

body.light-mode .about-box,
body.light-mode .ai-card,
body.light-mode .work-card,
body.light-mode .drawing-card,
body.light-mode .software-card,
body.light-mode .ai-design-gallery,
body.light-mode .vehicle-design-card {
  background: transparent;
  border-color: rgba(20,20,30,0.12);
  box-shadow: none;
}

body.light-mode .tool-box,
body.light-mode .phase-btn,
body.light-mode .viewer-phase-btn,
body.light-mode .theme-toggle {
  background: rgba(255,255,255,0.78);
  color: #181822;
  border-color: rgba(20,20,30,0.14);
}

body.light-mode .section p,
body.light-mode .hero-text p,
body.light-mode .work-info p,
body.light-mode .drawing-subtext,
body.light-mode .section-subtitle,
body.light-mode .about-text,
body.light-mode .footer span {
  color: rgba(21,21,28,0.74);
  opacity: 1;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode .section-title,
body.light-mode .drawing-title,
body.light-mode .work-info h3 {
  color: #11121a;
}

body.light-mode .footer {
  border-top-color: rgba(20,20,30,0.12);
}

body.light-mode .hamburger span,
body.light-mode .sub-nav-toggle .arrow,
body.light-mode .sub-nav-toggle::before,
body.light-mode .sub-nav-toggle::after {
  background: #181822;
}

body.light-mode .ai-design-nav,
body.light-mode .h-nav,
body.light-mode .works-nav,
body.light-mode .vehicle-work-nav {
  color: #fff;
}

body.light-mode ::-webkit-scrollbar-track {
  background: #d9dde8;
}

body.light-mode ::-webkit-scrollbar-thumb {
  background: linear-gradient(#7b2ff7, #ff7a18);
}

body.light-mode .pagination button {
  background: rgba(24,24,34,0.86);
  color: #fff;
  border: 1px solid rgba(20,20,30,0.18);
  box-shadow: 0 8px 22px rgba(20,20,30,0.16);
}

body.light-mode .pagination button:hover,
body.light-mode .pagination button.active {
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  color: #fff;
  border-color: transparent;
}

body.light-mode .vehicle-design-slider input,
body.light-mode .works-slider,
body.light-mode input[type="range"]:not(.ai-design-slider) {
  background: rgba(24,24,34,0.24);
}

body.light-mode .vehicle-design-slider input::-webkit-slider-thumb,
body.light-mode input[type="range"]:not(.ai-design-slider)::-webkit-slider-thumb {
  border-color: #fff;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 8px 20px rgba(20,20,30,0.24);
}

body.light-mode .vehicle-design-slider input::-moz-range-thumb,
body.light-mode input[type="range"]:not(.ai-design-slider)::-moz-range-thumb {
  border-color: #fff;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 8px 20px rgba(20,20,30,0.24);
}

body.light-mode .resume-icon {
  color: #fff;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  box-shadow: 0 14px 32px rgba(123,47,247,0.24);
}

body.light-mode .resume-icon:hover {
  background: linear-gradient(135deg,#6d27de,#e86b12);
  box-shadow: 0 18px 40px rgba(255,122,24,0.22);
}

body.light-mode .site-revisit {
  border-color: rgba(20,20,30,0.14);
  background:
    radial-gradient(circle at 18% 0%, rgba(123,47,247,0.12), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255,122,24,0.12), transparent 32%),
    rgba(255,255,255,0.16);
  box-shadow: none;
}

body.light-mode .site-revisit::before {
  background: linear-gradient(115deg, transparent 15%, rgba(123,47,247,0.08) 48%, transparent 78%);
}

body.light-mode .site-revisit h2 {
  background: linear-gradient(100deg,#3a0ca3 0%,#ff7a18 38%,#15151c 50%,#ff7a18 64%,#3a0ca3 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
}

body.light-mode .site-revisit p {
  color: rgba(21,21,28,0.72);
}

body.light-mode .revisit-link {
  border-color: rgba(20,20,30,0.16);
  background: rgba(24,24,34,0.88);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20,20,30,0.16);
}

body.light-mode .revisit-link.primary {
  border-color: transparent;
  background: linear-gradient(135deg, rgba(123,47,247,0.94), rgba(255,122,24,0.9));
}

body.light-mode .revisit-link i {
  color: #ffb15c;
}

/* New drawing collection galleries: denser desktop layout */
.drawing-collection-page .wallpaper-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) {
  .drawing-collection-page .wallpaper-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .drawing-collection-page .wallpaper-gallery {
    grid-template-columns: 1fr;
  }
}

/* Stable SVG slideshow icons and random-order controls */
.slideshow-svg-controls .wallpaper-slideshow-btn {
  isolation: isolate;
}

.slideshow-svg-controls .slideshow-icon {
  position: relative;
  z-index: 1;
  width: 21px;
  height: 21px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
  transition: transform 0.22s ease, filter 0.22s ease;
}

.slideshow-svg-controls .slideshow-play-icon {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: currentColor;
  stroke: none;
}

.slideshow-svg-controls .slideshow-pause-icon {
  width: 20px;
  height: 20px;
}

.slideshow-svg-controls .wallpaper-slideshow-btn:hover .slideshow-icon,
.slideshow-svg-controls .wallpaper-slideshow-btn:focus-visible .slideshow-icon {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(255,255,255,0.22));
}

.slideshow-svg-controls .wallpaper-random-btn.active .slideshow-random-icon {
  transform: scale(1.08) rotate(-8deg);
}

.slideshow-svg-controls .wallpaper-random-btn.active {
  background: linear-gradient(135deg, rgba(123,47,247,0.82), rgba(255,122,24,0.82));
}

.drawing-modal-phase-switcher .viewer-phase-btn.is-disabled,
.drawing-modal-phase-switcher .viewer-phase-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .art-modal .drawing-modal-phase-switcher {
    top: max(14px, env(safe-area-inset-top));
    bottom: auto;
    left: 50%;
    z-index: 10002;
    max-width: calc(100vw - 92px);
    gap: 6px;
    padding: 4px;
    flex-wrap: nowrap;
  }

  .art-modal .drawing-modal-phase-switcher .viewer-phase-btn {
    min-width: auto;
    padding: 8px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
}

/* Graphic Design collection page */
.designs-page .designs-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto 28px;
}

.designs-page .design-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.designs-page .design-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 2px solid transparent;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.designs-page .design-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.designs-page .design-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.designs-page .design-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04);
}

.designs-page .design-card-meta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,10,14,0.72);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#work .creative-designs-wrapper {
  margin-top: 18px;
}
#work .creative-work-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
}

#work .creative-work-thumb::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

#work .creative-work-thumb:hover::after,
#work .creative-work-thumb:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

#work .creative-work-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.28s ease, filter 0.28s ease;
}

#work .creative-work-thumb:hover img,
#work .creative-work-thumb:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04);
}

#work .creative-work-meta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(10,10,14,0.72);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.designs-page .design-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.designs-page .design-pagination-top {
  margin: 0 auto 28px;
}

.designs-page .design-pagination-bottom {
  margin-top: 12px;
}

.designs-page .design-pagination {
  margin-top: 0;
}

.designs-page .design-pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.designs-page .design-pagination button:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.34);
  transform: translateY(-2px);
}

.designs-page .design-pagination button.active {
  position: relative;
  color: #fff;
  border-color: rgba(255,255,255,0.36);
  background: linear-gradient(135deg, #7b2ff7, #ff7a18, #7b2ff7);
  background-size: 220% 220%;
  box-shadow: 0 14px 34px rgba(123,47,247,0.28), 0 10px 28px rgba(255,122,24,0.18);
  animation: designActivePageGlow 3.2s ease-in-out infinite;
}

@keyframes designActivePageGlow {
  0%, 100% { background-position: 0% 50%; transform: translateY(-2px) scale(1.02); }
  50% { background-position: 100% 50%; transform: translateY(-2px) scale(1.08); }
}

@media (max-width: 980px) {
  .designs-page .designs-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.design-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.design-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.design-modal-shell {
  width: min(1200px, calc(100vw - 120px));
  height: min(88dvh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(20,20,26,0.92), rgba(5,5,8,0.94));
  box-shadow: 0 28px 90px rgba(0,0,0,0.55);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.28s ease;
}

.design-modal.active .design-modal-shell {
  transform: translateY(0) scale(1);
}

.design-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
}

.design-modal-kicker {
  display: inline-block;
  margin-bottom: 4px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #ff9a3d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.design-modal-topbar h2 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 30px);
}

.design-modal-counter {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.design-stage-wrap {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 20% 20%, rgba(123,47,247,0.15), transparent 36%),
    radial-gradient(circle at 80% 80%, rgba(255,122,24,0.13), transparent 34%),
    rgba(0,0,0,0.28);
}

.design-media-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.design-media-frame img,
.design-media-frame video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.38);
}

.design-media-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
  background: #fff;
}

.design-pdf-panel {
  width: min(560px, calc(100% - 34px));
  min-height: min(430px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 24px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    radial-gradient(circle at 28% 20%, rgba(123,47,247,0.28), transparent 38%),
    radial-gradient(circle at 78% 76%, rgba(255,122,24,0.22), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  color: #fff;
  text-align: center;
  box-shadow: 0 22px 70px rgba(0,0,0,0.32);
}

.design-pdf-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  color: #fff;
  font-size: 30px;
  box-shadow: 0 16px 34px rgba(123,47,247,0.28);
}

.design-pdf-panel h3 {
  margin: 6px 0 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(22px, 3vw, 34px);
}

.design-pdf-panel p {
  max-width: 360px;
  margin: 0 0 8px;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  line-height: 1.55;
}

.design-pdf-flipbook-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(255,122,24,0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.design-pdf-flipbook-btn:hover {
  transform: translateY(-2px) scale(1.03);
  filter: saturate(1.12);
  box-shadow: 0 18px 42px rgba(123,47,247,0.3);
}

.design-pdf-open {
  position: static;
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.78);
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.design-video-fallback {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.designs-page .pdf-book-modal {
  z-index: 10150;
}

.design-modal-close,
.design-modal-project,
.design-media-nav {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(10,10,14,0.62);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.design-modal-close:hover,
.design-modal-project:hover,
.design-media-nav:hover {
  background: linear-gradient(135deg, rgba(123,47,247,0.9), rgba(255,122,24,0.9));
  border-color: rgba(255,255,255,0.32);
  transform: scale(1.06);
}

.design-modal-close {
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.design-modal-project {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.design-modal-project span {
  display: none;
}

.design-modal-project:hover {
  transform: translateY(-50%) scale(1.06);
}

.design-modal-project-prev {
  left: 22px;
}

.design-modal-project-next {
  right: 22px;
}

.design-media-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 34px;
  transform: translateY(-50%);
}

.design-media-nav:hover {
  transform: translateY(-50%) scale(1.06);
}

.design-media-prev {
  left: 14px;
}

.design-media-next {
  right: 14px;
}

.design-filmstrip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 2px;
  scrollbar-color: rgba(255,122,24,0.7) rgba(255,255,255,0.16);
}

.design-filmstrip-item {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.design-filmstrip-item.active {
  opacity: 1;
  border-color: #ff7a18;
  transform: translateY(-2px);
}

.design-filmstrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.design-filmstrip-icon {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(123,47,247,0.62), rgba(255,122,24,0.62));
}

@media (max-width: 768px) {
  .design-modal {
    padding: 12px;
  }

  .design-modal-shell {
    width: calc(100vw - 24px);
    height: calc(100dvh - 24px);
    padding: 12px;
    gap: 10px;
  }

  .design-stage-wrap {
    margin-top: 52px;
  }

  .design-modal-project {
    width: auto;
    min-width: 118px;
    height: 42px;
    top: calc(max(16px, env(safe-area-inset-top)) + 76px);
    bottom: auto;
    gap: 8px;
    padding: 0 13px;
    transform: none;
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 800;
  }

  .design-modal-project-prev {
    left: 14px;
  }

  .design-modal-project-next {
    right: 14px;
  }

  .design-modal-project span {
    display: inline;
    white-space: nowrap;
  }

  .design-modal-project:hover {
    transform: scale(1.06);
  }

  .design-media-nav {
    width: 38px;
    height: 38px;
    font-size: 28px;
    top: 50%;
  }

  .design-modal-topbar h2 {
    font-size: 18px;
  }

  .design-modal-counter {
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .designs-page .designs-gallery {
    grid-template-columns: 1fr;
  }

  .designs-page .design-card,
  .designs-page .design-card img {
    min-height: 190px;
  }
}

/* UX/UI and Web Development collection page */
.homepage-web-dev {
  margin-top: 92px;
  padding: 56px 0 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.homepage-web-dev-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.homepage-web-dev-heading span {
  display: inline-block;
  margin-bottom: 10px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff9a3d;
}

.homepage-web-dev-heading p {
  margin: 12px auto 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.homepage-web-dev .designs-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto 30px;
}

.homepage-web-dev .web-dev-figma-carousel .designs-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 890px;
}

.homepage-web-dev .web-dev-section-heading {
  margin: 0 auto 22px;
  text-align: center;
}

.homepage-web-dev .web-dev-section-heading-spaced {
  margin-top: 54px;
}

.homepage-web-dev .web-dev-section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9a3d;
}

.homepage-web-dev .web-dev-section-heading h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 26px;
}

.homepage-web-dev .design-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 240px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 18px 44px rgba(0,0,0,0.22);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.homepage-web-dev .design-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,0.5));
  pointer-events: none;
}

.homepage-web-dev .design-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 2;
  border-radius: 10px;
  border: 2px solid transparent;
  background: linear-gradient(135deg,#7b2ff7,#ff7a18) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.homepage-web-dev .design-card:hover::after,
.homepage-web-dev .design-card:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.homepage-web-dev .web-dev-card {
  min-height: 240px;
}

.homepage-web-dev .design-card img,
.homepage-web-dev .web-dev-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: block;
  object-fit: cover;
  transition: transform 0.28s ease, filter 0.28s ease;
}

.homepage-web-dev .design-card:hover img,
.homepage-web-dev .design-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.04);
}

.homepage-web-dev .design-card-meta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10,10,14,0.72);
  border: 1px solid rgba(255,255,255,0.16);
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.homepage-web-dev .web-dev-carousel {
  width: min(100%, 1180px);
  margin-top: 8px;
  margin-right: auto;
  margin-left: auto;
}

.homepage-web-dev .web-dev-figma-carousel {
  position: relative;
  width: min(100%, 1180px);
  margin-right: auto;
  margin-left: auto;
}

.homepage-web-dev .web-dev-figma-nav {
  display: none;
}

.homepage-web-dev .web-dev-scroll {
  min-width: 0;
}

.homepage-web-dev .web-dev-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.homepage-web-dev .web-dev-slide {
  padding: 10px 0;
}

.homepage-web-dev .web-dev-slide .design-card {
  height: 240px;
}

.homepage-web-dev .web-dev-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 22px 0 4px;
}

@media (max-width: 980px) {
  .homepage-web-dev .designs-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-web-dev .web-dev-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .homepage-web-dev .designs-gallery {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0 2px 12px;
    scrollbar-width: none;
  }

  .homepage-web-dev .web-dev-figma-carousel {
    padding: 0 42px;
  }

  .homepage-web-dev .web-dev-figma-nav {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
  }

  .homepage-web-dev .web-dev-figma-nav.left {
    left: 0;
  }

  .homepage-web-dev .web-dev-figma-nav.right {
    right: 0;
  }

  .homepage-web-dev .designs-gallery::-webkit-scrollbar {
    display: none;
  }

  .homepage-web-dev .web-dev-row {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    width: auto;
  }

  .homepage-web-dev .design-card,
  .homepage-web-dev .design-card img {
    min-height: 190px;
  }

  .homepage-web-dev .design-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
  }

  .homepage-web-dev .web-dev-scroll {
    gap: 14px;
    padding: 0 2px 12px;
    scroll-snap-type: x mandatory;
  }

  .homepage-web-dev .web-dev-slide {
    min-width: auto;
    flex: 0 0 auto;
    padding: 0;
    scroll-snap-align: none;
  }

  .homepage-web-dev .web-dev-row .design-card {
    flex: 0 0 calc(100vw - 44px);
    max-width: 390px;
  }

  .homepage-web-dev .web-dev-slide .design-card {
    height: 190px;
  }

  .homepage-web-dev .web-dev-slide .design-card img {
    object-fit: contain;
    background: #050505;
  }

  .homepage-web-dev .web-dev-section-heading {
    text-align: center;
  }

  .homepage-web-dev .web-dev-dots {
    display: none;
  }
}

.web-dev-page .web-dev-gallery-shell {
  margin: 0 auto 72px;
}

.web-dev-page .web-dev-section-heading {
  margin: 0 auto 22px;
  text-align: left;
}

.web-dev-page .web-dev-section-heading-spaced {
  margin-top: 54px;
}

.web-dev-page .web-dev-section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9a3d;
}

.web-dev-page .web-dev-section-heading h2 {
  margin: 0;
}

.web-dev-page .web-dev-card {
  min-height: 240px;
}

.web-dev-page .web-dev-card img {
  min-height: 240px;
}

.web-dev-page .web-dev-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 54%, rgba(0,0,0,0.5));
  pointer-events: none;
}

.web-dev-page .web-dev-card::after {
  z-index: 2;
}

@media (max-width: 560px) {
  .web-dev-page .web-dev-section-heading {
    text-align: center;
  }
}

/* Mobile footer polish */
@media (max-width: 768px) {
  .site-revisit {
    width: calc(100% - 36px);
    margin: 52px auto 34px;
    padding: 32px 16px 28px;
    border-radius: 18px;
  }

  .site-revisit p {
    max-width: 300px;
    font-size: 14px;
  }

  .revisit-links {
    gap: 10px;
    margin-top: 24px;
  }

  .revisit-link {
    flex: 1 1 142px;
    max-width: 220px;
    min-height: 44px;
    padding: 11px 13px;
    font-size: 12px;
  }

  .footer {
    padding: 28px 22px calc(34px + env(safe-area-inset-bottom));
  }

  .footer-inner {
    width: min(100%, 520px);
    margin: 0 auto;
    gap: 18px;
    padding: 0 4px;
  }

  .footer span {
    display: block;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
}
