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

:root {
  --bg-primary: #07060b;
  --bg-secondary: #0f0e17;
  --bg-card: #151422;
  --bg-card-hover: #1a1930;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --accent-blue: #6366f1;
  --text-primary: #f1f0f5;
  --text-secondary: #9896a8;
  --text-muted: #5c5a6e;
  --gradient-main: linear-gradient(135deg, #a855f7, #ec4899);
  --gradient-subtle: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
  --border-subtle: rgba(168, 85, 247, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(7, 6, 11, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border-subtle);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-logo:hover {
  transform: scale(1.03);
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top left, #2e1c0d, #0b0704);
  border: 2px solid #d4af37;
  border-radius: 8px;
  /* Slightly rounded for vintage emblem */
  transform: rotate(45deg);
  position: relative;
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.9);
}

.logo-mark::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}

.logo-s {
  transform: rotate(-45deg);
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 800;
  font-style: italic;
  color: #fadcb3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
  line-height: 1;
  position: relative;
  top: -1px;
  /* Optical vertical centering */
  left: 3.5px;
  /* Optical horizontal centering for italic S */
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, #fadcb3, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===================== HERO ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 15vw, 20rem);
  font-weight: 900;
  color: #ffffff;
  opacity: 0.02;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -2px;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 800px 600px at 0% 0%, rgba(55, 48, 163, 0.4), transparent),
    radial-gradient(ellipse 600px 600px at 100% 100%, rgba(139, 92, 246, 0.2), transparent),
    linear-gradient(to bottom, transparent 60%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--accent-purple);
  margin-bottom: 32px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.hero h1 .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.hero-profile {
  position: absolute;
  top: 100px;
  right: 50px;
  z-index: 4;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #6366f1);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.3), 0 0 60px rgba(236, 72, 153, 0.15);
  animation: dropIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both, profileGlow 4s ease-in-out 1s infinite;
}

.hero-profile img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-primary);
  background: var(--bg-card);
}

@keyframes profileGlow {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3), 0 0 60px rgba(236, 72, 153, 0.15);
  }

  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.5), 0 0 80px rgba(236, 72, 153, 0.25);
  }
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Drop-in Cascade Animation - words fall from top one by one */
.drop-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(-80px) scale(0.8);
  animation: dropIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: calc(var(--drop-order, 0) * 0.12s);
}

@keyframes dropIn {
  0% {
    opacity: 0;
    transform: translateY(-80px) scale(0.8) rotate(-5deg);
  }

  60% {
    opacity: 1;
    transform: translateY(8px) scale(1.02) rotate(1deg);
  }

  80% {
    transform: translateY(-3px) scale(0.99) rotate(0deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.05);
}

/* ===================== CREATIVE SECONDARY BUTTON ===================== */
.btn-creative-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn-creative-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-creative-secondary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 102px;
  z-index: -2;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(10px);
}

.btn-creative-secondary:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 10px 30px -10px rgba(236, 72, 153, 0.4);
}

.btn-creative-secondary:hover::before {
  opacity: 1;
}

.btn-creative-secondary:hover::after {
  opacity: 0.7;
}

.btn-creative-secondary:active {
  transform: translateY(0) scale(0.98);
}

.btn-creative-sec-icon {
  font-size: 1.2rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-creative-secondary:hover .btn-creative-sec-icon {
  transform: translateX(6px) scale(1.2);
  color: #ec4899;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--accent-purple);
  border-radius: 3px;
  animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(16px);
  }
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* ===================== SECTION STYLES ===================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-purple);
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===================== ABOUT ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 2/3;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-subtle);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: var(--gradient-subtle);
}

.about-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(7, 6, 11, 0.85);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1px solid var(--border-subtle);
}

.about-tag h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.about-tag p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-content h3 span {
  color: var(--accent-purple);
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-number {
  font-family: 'Outfit';
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.detail-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* ===================== SKILLS ===================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.skill-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.skill-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.skill-name {
  font-family: 'Outfit';
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.skill-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.skill-bar {
  height: 4px;
  background: var(--bg-primary);
  border-radius: 4px;
  margin-top: 12px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 4px;
  transition: width 1s ease;
}

/* ===================== PROJECTS ===================== */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-glow);
}

.project-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}

.project-visual {
  aspect-ratio: 16/10;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.project-visual video,
.project-visual iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.project-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-number {
  font-family: 'Outfit';
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-purple);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-brief {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--gradient-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--accent-purple);
}

.project-process {
  padding: 0 40px 40px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.process-step {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(168, 85, 247, 0.08);
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.process-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit';
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================== SHOWREEL ===================== */
.showreel-container {
  position: relative;
  width: 100%;
}

.showreel-list {
  display: flex;
  flex-direction: row;
  gap: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 40px 0 60px;
  /* Space for dots */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.showreel-list::-webkit-scrollbar {
  display: none;
}

.showreel-item {
  flex: 0 0 92%;
  scroll-snap-align: center;
}

@media (max-width: 968px) {
  .showreel-item {
    flex: 0 0 88%;
  }
}

.showreel-nav-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -30px;
}

.showreel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.showreel-dot.active {
  background: var(--accent-purple);
  width: 24px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--accent-purple);
}

.slider-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
}

.showreel-container:hover .slider-arrow {
  opacity: 1;
  pointer-events: auto;
}

.slider-arrow:hover {
  background: var(--accent-purple);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slider-arrow {
    display: none;
  }
}

.showreel-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  width: 100%;
  max-width: 1000px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}

.showreel-info {
  margin-top: 20px;
  text-align: center;
}

.showreel-info h4 {
  font-size: 1.2rem;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
}

.showreel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--gradient-subtle);
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
}

.play-btn:hover {
  transform: scale(1.1);
}

.showreel-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===================== CONTACT ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.contact-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-link:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.3);
}

.contact-link:hover::before {
  opacity: 0.05;
}

.contact-link-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(168, 85, 247, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link:hover .contact-link-icon {
  transform: scale(1.15) rotate(8deg);
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.contact-link-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.contact-link-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.contact-link:hover .contact-link-text p {
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* ===================== FOOTER ===================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1rem;
}

.footer-socials a:hover {
  border-color: var(--accent-purple);
  background: var(--gradient-subtle);
  transform: translateY(-3px);
}

/* ===================== 3D ANIMATED BUTTON ===================== */
.btn-3d {
  display: inline-flex;
  position: relative;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
  transition: filter 0.2s;
  user-select: none;
  animation: fadeInUp 0.8s ease 0.3s both;
  perspective: 600px;
}

.btn-3d:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-3d:active .btn-3d-front {
  transform: translateY(2px);
}

.btn-3d:active .btn-3d-shadow {
  transform: scale(0.95);
  opacity: 0.5;
}

.btn-3d-shadow {
  position: absolute;
  bottom: -2px;
  left: 8px;
  right: 8px;
  height: 16px;
  background: rgba(168, 85, 247, 0.4);
  border-radius: 100px;
  filter: blur(15px);
  transition: all 0.2s;
}

.btn-3d-edge {
  display: none;
}

.btn-3d-front {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  border-radius: 100px;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
  transform: translateY(0);
  transition: transform 0.2s;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: btn3dFloat 3s ease-in-out infinite;
}

.btn-3d-icon {
  font-size: 1.3rem;
  animation: btn3dIconSpin 4s ease-in-out infinite;
}

@keyframes btn3dFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes btn3dIconSpin {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  25% {
    transform: rotate(-10deg) scale(1.1);
  }

  75% {
    transform: rotate(10deg) scale(1.1);
  }
}

.btn-3d::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 100px;
  background: linear-gradient(135deg, #a855f7, #ec4899, #a855f7);
  background-size: 200% 200%;
  animation: btn3dGlow 3s linear infinite;
  opacity: 0.4;
  z-index: -1;
  filter: blur(8px);
}

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

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===================== CATEGORY TABS ===================== */
.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.cat-tab {
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-tab:hover {
  border-color: var(--accent-purple);
  transform: translateY(-2px);
  color: var(--text-primary);
}

.cat-tab.active {
  background: linear-gradient(135deg, #a855f7, #ec4899);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

/* ===================== CATEGORY SECTIONS ===================== */
.category-section {
  display: none;
  animation: catFadeIn 0.5s ease;
}

.category-section.active {
  display: block;
}

@keyframes catFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.category-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.category-header:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 10px 30px -10px rgba(168, 85, 247, 0.2);
}

.category-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(168, 85, 247, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-header:hover .category-icon {
  transform: scale(1.1) rotate(10deg);
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.category-header h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #fff;
}

.category-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.category-header:hover p {
  color: #fff;
}

/* ===================== VIDEO GRID ===================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}

.grid-landscape {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1000px;
}

.grid-landscape .video-wrapper {
  aspect-ratio: 16/9;
}

.grid-landscape .video-wrapper video,
.grid-landscape .video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  height: min-content;
}

.video-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  background: #000;
  width: 100%;
}

.video-wrapper video,
.video-wrapper img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* Ensure standard video grids are strictly uniform and crop overly tall videos */
.video-grid .video-wrapper {
  aspect-ratio: 4/5;
}

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

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* CUSTOM BIG PLAY BUTTON OVERLAY */
.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
  z-index: 10;
}

.play-overlay:hover {
  background: rgba(0, 0, 0, 0.4);
}

.play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-button-big {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.22rem;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-play 2.5s infinite;
}

.play-overlay:hover .play-button-big {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes pulse-play {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* All categories now use 9:16 tall format by default */
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(236, 72, 153, 0.08));
  border: 2px dashed rgba(168, 85, 247, 0.2);
}

.video-placeholder span {
  font-size: 2.5rem;
}

.video-placeholder p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.video-card h4 {
  padding: 16px 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ===================== ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  .project-header {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 6, 11, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 999;
    margin: 0;
    padding: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-details {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero h1 {
    font-size: 2.2rem;
  }

  .project-info {
    padding: 24px;
  }

  .project-process {
    padding: 0 24px 24px;
  }

  .category-tabs {
    gap: 8px;
  }

  .cat-tab {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

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

  .btn-3d-front {
    padding: 14px 28px;
    font-size: 0.95rem;
  }

  .hero-profile {
    width: 130px;
    height: 130px;
    top: 90px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }

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