/* ==========================================================================
   Design System & Base Tokens
   ========================================================================== */
:root {
  --bg-dark: #0d0e12;
  --bg-card: #16181f;
  --bg-card-hover: #1e212b;
  --bg-glass: rgba(22, 24, 31, 0.7);
  --bg-glass-border: rgba(255, 255, 255, 0.06);
  
  --primary: #ff5e36;
  --primary-glow: rgba(255, 94, 54, 0.25);
  --primary-hover: #ff7654;
  
  --text-white: #ffffff;
  --text-muted: #a0a5b5;
  --text-dim: #6c7285;
  
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(255, 94, 54, 0.08);
  --shadow-glow: 0 0 30px rgba(255, 94, 54, 0.4);
}

/* Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #2a2e3d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Interactive Background Ambient Glow */
.ambient-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 94, 54, 0.12) 0%, rgba(13, 14, 18, 0) 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(13, 14, 18, 0.85);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: var(--transition-normal);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand-logo .dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.nav-btn {
  background: var(--primary);
  color: var(--text-white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 15px rgba(255, 94, 54, 0.3);
  border: none;
  cursor: pointer;
}

.nav-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: 0 8px 25px rgba(255, 94, 54, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 130px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 94, 54, 0.1);
  border: 1px solid rgba(255, 94, 54, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge i {
  font-size: 0.75rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 60%, #a0a5b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.3px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-bounce);
  box-shadow: 0 10px 25px rgba(255, 94, 54, 0.35);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  background: var(--primary-hover);
  box-shadow: 0 15px 35px rgba(255, 94, 54, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--bg-glass-border);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
}

/* Profile Card */
.profile-card-wrapper {
  position: relative;
}

.profile-card {
  background: var(--bg-card);
  border: 1.6px solid rgba(255, 94, 54, 0.4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
  aspect-ratio: 3/4;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-6px) rotate(1deg);
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(255, 94, 54, 0.3);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(13, 14, 18, 0.95), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.profile-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

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

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ==========================================================================
   About & Services Section
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 800px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background-color: var(--primary);
  transition: var(--transition-normal);
}

.skill-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 94, 54, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.skill-card:hover::before {
  height: 100%;
}

.skill-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 94, 54, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.skill-title {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.skill-desc {
  color: var(--text-white);
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* ==========================================================================
   My Workflow Section (Interactive Timeline)
   ========================================================================== */
.workflow-box {
  background: rgba(22, 24, 31, 0.5);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  backdrop-filter: blur(10px);
}

.workflow-timeline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-top: 30px;
  overflow-x: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.workflow-timeline::-webkit-scrollbar {
  height: 4px;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  cursor: pointer;
  flex: 1;
  min-width: 90px;
  transition: var(--transition-fast);
}

/* Connecting dashed lines between workflow nodes */
.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px; /* Centered with the 40px height circle */
  left: calc(50% + 20px); /* Starts from right edge of circle */
  width: calc(100% - 40px); /* Spans to the next circle */
  height: 2px;
  border-top: 1.6px dashed rgba(255, 255, 255, 0.1);
  z-index: 1;
  transition: border-color var(--transition-normal);
}


.step-node {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1.6px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13.6px;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 12px;
  transition: var(--transition-bounce);
  position: relative;
  z-index: 2;
}

.workflow-step.active .step-node {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(255, 94, 54, 0.4);
}

.workflow-step:hover .step-node {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 94, 54, 0.6);
}

.step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-white);
  text-align: center;
  white-space: normal;
  max-width: 90px;
  line-height: 1.3;
}

.workflow-quote {
  text-align: center;
  margin-top: 35px;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  padding: 16px;
  border-top: 1px solid var(--bg-glass-border);
}

/* ==========================================================================
   Portfolio Showcase Section
   ========================================================================== */
.portfolio-header-banner {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(to bottom, rgba(22, 24, 31, 0), rgba(22, 24, 31, 0.6) 50%, rgba(22, 24, 31, 0));
  margin-bottom: 30px;
}

.portfolio-header-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #ff5e36 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 35px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  transition: var(--transition-normal);
}

.portfolio-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}

.project-meta {
  text-align: center;
  margin-bottom: 25px;
}

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

.project-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 3D Stack / Interactive Carousel Display */
.carousel-container {
  position: relative;
  max-width: 700px;
  margin: 0 auto 25px auto;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.carousel-slide {
  position: absolute;
  width: 320px;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background-color: var(--bg-dark);
}

.portfolio-card.project-hidden {
  display: none !important;
}

.portfolio-card.project-visible {
  display: block !important;
  animation: fadeInUp 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Slide Positions */
.carousel-slide.center {
  transform: translate3d(0, 0, 0) scale(1.05);
  z-index: 3;
  opacity: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9), 0 0 20px rgba(255, 94, 54, 0.2);
}

.carousel-slide.left {
  transform: translate3d(-140px, 0, -100px) scale(0.85);
  z-index: 2;
  opacity: 0.5;
  filter: brightness(0.6);
}

.carousel-slide.right {
  transform: translate3d(140px, 0, -100px) scale(0.85);
  z-index: 2;
  opacity: 0.5;
  filter: brightness(0.6);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 15px;
}

.carousel-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-glass-border);
  letter-spacing: 0.5px;
}

.tool-card {
  border-color: rgba(255, 94, 54, 0.35);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255, 94, 54, 0.08) 100%);
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--primary);
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   Footer & Contact Call to Action
   ========================================================================== */
.footer-cta-section {
  text-align: center;
  padding: 80px 0 60px 0;
  border-top: 1px solid var(--bg-glass-border);
  position: relative;
}

.cta-heading {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 12px;
  font-family: 'Outfit', var(--font-family);
}

.cta-subtext {
  color: var(--text-white);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-icon {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
  text-decoration: none;
}

.social-icon:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Modals & Lightbox
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s var(--transition-bounce);
  box-shadow: 0 25px 50px rgba(0,0,0,0.9), 0 0 30px var(--primary-glow);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: #0d0e12;
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Lightbox Image Preview & Gallery Controls */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 9, 12, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 92vh;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Minimal Project Title & Counter Caption */
.lightbox-meta-bar {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.lightbox-project-title {
  color: #ffffff;
  font-weight: 600;
}

.lightbox-counter-badge {
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 768px) {
  .lightbox-nav-btn.prev {
    left: 10px;
  }
  .lightbox-nav-btn.next {
    right: 10px;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .hero-text-content {
    align-items: center;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profile-card {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: var(--bg-card);
    flex-direction: column;
    padding: 40px 20px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--bg-glass-border);
  }
  
  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .carousel-container {
    height: 320px;
  }

  .carousel-slide {
    width: 240px;
    height: 300px;
  }

  .carousel-slide.left {
    transform: translate3d(-80px, 0, -50px) scale(0.85);
  }

  .carousel-slide.right {
    transform: translate3d(80px, 0, -50px) scale(0.85);
  }
}

/* ==========================================================================
   Motion Work Section (Vertical Reel Grid)
   ========================================================================== */
.motion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 35px;
}

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

.motion-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.motion-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 94, 54, 0.4);
  box-shadow: var(--shadow-card);
}

.motion-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  min-height: 450px;
  background: #000;
  overflow: hidden;
  border-bottom: 1px solid var(--bg-glass-border);
}

.motion-video-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: none;
  display: block;
}

.motion-num-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--bg-glass-border);
  pointer-events: none;
  z-index: 2;
}

.motion-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.motion-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  background: rgba(255, 94, 54, 0.12);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.motion-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.35;
}

.motion-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.motion-link-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.motion-link-btn:hover {
  color: var(--primary-hover);
  transform: translateX(4px);
}




