/* RealMint Creations - Official Luxury Gold (#CF9645) Reusable UI Components */

/* ==========================================================================
   Navigation Bar & Brand Logo (Collision-Proof Responsive Layout)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.15rem 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.navbar.scrolled {
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-img {
  width: clamp(34px, 4vw, 42px);
  height: clamp(34px, 4vw, 42px);
  object-fit: contain;
  filter: drop-shadow(0 0 12px var(--accent-gold-glow));
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 1.75rem);
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--accent-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

/* Mobile Navigation Toggle Button */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  background: rgba(207, 150, 69, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(207, 150, 69, 0.2);
  color: var(--accent-gold);
}

/* Responsive Navbar Breakpoint at 1080px to prevent any overlap */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-whatsapp-btn {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 0.75rem 0;
  }
  .navbar.scrolled {
    padding: 0.6rem 0;
  }
  .nav-cta-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.85rem;
  }
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(86vw, 340px);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface-elevated);
  z-index: 1001;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.85);
  border-left: 1px solid var(--border-gold);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* ==========================================================================
   Top Scroll Progress Bar
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold), var(--accent-gold-hover), #FFF2D6);
  z-index: 10001;
  box-shadow: 0 0 10px var(--accent-gold-glow);
  transition: width 0.08s linear;
}

/* ==========================================================================
   Buttons & RealMint Gold Badges (Touch-First & Fluid Proportions)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: clamp(0.7rem, 1.4vw, 0.85rem) clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: clamp(0.88rem, 1.2vw, 0.96rem);
  min-height: 46px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #000000;
  box-shadow: 0 0 22px var(--accent-gold-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: translateX(-180%) rotate(25deg);
  animation: goldBtnShimmer 4.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  will-change: transform;
}

@keyframes goldBtnShimmer {
  0% { transform: translateX(-180%) rotate(25deg); }
  22%, 100% { transform: translateX(380%) rotate(25deg); }
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-hover), #F5C678);
  box-shadow: 0 0 32px rgba(207, 150, 69, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-gold);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: rgba(207, 150, 69, 0.12);
  box-shadow: 0 0 18px var(--accent-gold-glow);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(207, 150, 69, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
}

.badge-glow {
  box-shadow: 0 0 16px var(--accent-gold-glow);
  animation: badgePulseGlow 3.5s infinite ease-in-out;
  will-change: transform, opacity;
}

@keyframes badgePulseGlow {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.92;
  }
  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

/* ==========================================================================
   Cards & RealMint Glassmorphic Elements (Interactive Spotlight)
   ========================================================================== */
.card-glass {
  background: var(--bg-glass-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .card-glass {
    border-radius: var(--radius-md);
  }
}

.card-glass::before,
.scope-stepper-card::before,
.team-card-v2::before,
.pricing-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -500px);
  left: var(--mouse-x, -500px);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(207, 150, 69, 0.14) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card-glass:hover::before,
.scope-stepper-card:hover::before,
.team-card-v2:hover::before,
.pricing-card:hover::before {
  opacity: 1;
}

.card-glass > *,
.scope-stepper-card > *,
.team-card-v2 > *,
.pricing-card > * {
  position: relative;
  z-index: 1;
}

.card-glass:hover {
  border-color: var(--border-gold);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 22px var(--accent-gold-glow);
}

.icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(207, 150, 69, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
  box-shadow: 0 0 14px var(--accent-gold-glow);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.card-glass:hover .icon-wrapper {
  transform: scale(1.08) rotate(3deg);
  background: rgba(207, 150, 69, 0.18);
  box-shadow: 0 0 22px var(--accent-gold-glow);
}

.icon-wrapper svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-gold);
  display: block;
}

/* ==========================================================================
   Grid System & Page Sections
   ========================================================================== */
.grid-2 { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 2rem; 
}

.grid-3 { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2rem; 
}

.grid-4 { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.5rem; 
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.section-header h2 {
  margin-top: 0.75rem;
  margin-bottom: 0.85rem;
  text-wrap: balance;
}

.section-header p {
  color: var(--text-secondary);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ==========================================================================
   Modals & Toast Alerts (Viewport-Aware Dynamic Height & Padding)
   ========================================================================== */
.modal-backdrop {
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 35px var(--accent-gold-glow);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .modal-backdrop {
    padding: 0.5rem;
  }
  .modal-content {
    padding: 1.25rem 1rem !important;
    max-height: 94dvh !important;
    border-radius: var(--radius-md);
  }
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  
  z-index: 10;
}

.modal-close:hover {
  background: rgba(207, 150, 69, 0.2);
  color: var(--accent-gold);
  border-color: var(--border-gold);
}

/* Toast Notification Container */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
}

@media (max-width: 480px) {
  .toast-container {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5), 0 0 18px var(--accent-gold-glow);
  color: var(--text-primary);
  font-size: 0.92rem;
  animation: slideInToast 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Footer Component
   ========================================================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer {
    padding-top: 3.25rem;
    padding-bottom: 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-link {
  color: var(--text-secondary);
  
  font-size: 0.9rem;
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-social-strip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.25rem;
  box-shadow: 0 0 20px var(--accent-gold-subtle);
}

@media (max-width: 600px) {
  .footer-social-strip {
    padding: 1.25rem 1rem;
    margin-bottom: 2rem;
  }
}

.footer-social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.social-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.social-pill-link:hover {
  border-color: var(--accent-gold);
  color: #FFFFFF;
  background: rgba(207, 150, 69, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

.social-pill-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.team-social-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.team-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.team-social-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(207, 150, 69, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; gap: 0.85rem; text-align: center; }
}

/* ==========================================================================
   Client Testimonials & Creator Case Studies
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
  backdrop-filter: blur(12px);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 25px var(--accent-gold-subtle);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  display: inline-flex;
}

.testimonial-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  background: rgba(207, 150, 69, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0.75rem 0 1.5rem;
  position: relative;
}

.testimonial-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(207, 150, 69, 0.35), rgba(18, 18, 24, 0.95));
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--accent-gold-subtle);
}

.testimonial-author-name {
  font-weight: 700;
  font-size: 1.02rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.testimonial-verified-badge {
  color: #10B981;
  display: inline-flex;
  align-items: center;
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 992px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* ==========================================================================
   RealMint 3D Flip-Card Testimonials Marquee (High-Retention Social Proof)
   ========================================================================== */

/* Guidance Pill */
.rm-flip-guidance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full, 9999px);
  background: rgba(207, 150, 69, 0.08);
  border: 1px solid rgba(207, 150, 69, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary, #B8B8C8);
  box-shadow: 0 0 15px rgba(207, 150, 69, 0.1);
  text-align: center;
}

/* Hardware-Accelerated Dual-Edge Alpha Gradient Mask Viewport */
.rm-testimonials-viewport {
  width: 100%;
  overflow: hidden;
  padding: 1.5rem 0 2.5rem;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 8%, rgba(0, 0, 0, 1) 92%, rgba(0, 0, 0, 0) 100%);
}

.rm-testimonials-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: rmMarqueeScroll 48s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  padding: 0.5rem 1rem;
}

.rm-testimonials-viewport:hover .rm-testimonials-track,
.rm-testimonials-viewport:active .rm-testimonials-track,
.rm-testimonials-track.is-paused,
.rm-testimonials-track:has(.is-flipped) {
  animation-play-state: paused !important;
}

@keyframes rmMarqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* 3D Flip Card Container */
.rm-flip-card-item {
  width: 360px;
  height: 430px;
  perspective: 1200px;
  -webkit-perspective: 1200px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  border-radius: var(--radius-lg, 24px);
}

.rm-flip-card-item:focus-visible {
  outline: 2px solid var(--accent-gold, #CF9645);
  outline-offset: 4px;
}

/* 3D Flipping Inner Box */
.rm-flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg, 24px);
}

/* Flip Trigger on Desktop Hover with Fine Pointer */
@media (hover: hover) and (pointer: fine) {
  .rm-flip-card-item:hover .rm-flip-card-inner {
    transform: rotateY(180deg);
  }
  .rm-flip-card-item:hover .rm-card-face {
    border-color: var(--border-gold, rgba(207, 150, 69, 0.35));
    box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.8), 0 0 25px rgba(207, 150, 69, 0.15);
  }
  .rm-flip-card-item:hover .rm-front-bg-img {
    transform: scale(1.05);
  }
  .rm-flip-card-item:hover .rm-hint-symbol {
    transform: rotate(180deg);
  }
}

/* Explicit Flip Trigger via class or keyboard focus */
.rm-flip-card-item:focus-visible .rm-flip-card-inner,
.rm-flip-card-inner.is-flipped {
  transform: rotateY(180deg) !important;
}

.rm-flip-card-inner.is-flipped .rm-card-face,
.rm-flip-card-item:focus-visible .rm-card-face {
  border-color: var(--border-gold, rgba(207, 150, 69, 0.35));
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.8), 0 0 25px rgba(207, 150, 69, 0.15);
}

.rm-flip-card-inner.is-flipped .rm-front-bg-img {
  transform: scale(1.05);
}

.rm-flip-card-inner.is-flipped .rm-hint-symbol {
  transform: rotate(180deg);
}

/* Shared Face Styling */
.rm-card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  border-radius: var(--radius-lg, 24px);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  overflow: hidden;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* FRONT FACE STYLING */
.rm-face-front {
  background: radial-gradient(circle at 50% 30%, #1c1c28 0%, #0d0d14 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: rotateY(0deg) translateZ(1px);
  -webkit-transform: rotateY(0deg) translateZ(1px);
}

.rm-front-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.9);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.rm-flip-card-item:hover .rm-front-bg-img {
  transform: scale(1.05);
}

/* Dark Vignette Gradient Overlay */
.rm-front-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 11, 0.05) 20%,
    rgba(8, 8, 11, 0.5) 50%,
    rgba(8, 8, 11, 0.88) 75%,
    #08080B 100%
  );
  z-index: 1;
}

.rm-front-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rm-front-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.rm-badge-metric {
  background: rgba(207, 150, 69, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--accent-gold, #CF9645);
  color: #E8B972;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 0 12px rgba(207, 150, 69, 0.2);
}

.rm-front-author-name {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.25;
}

.rm-verified-icon {
  color: #10B981;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.rm-front-author-role {
  font-size: 0.85rem;
  color: var(--text-secondary, #B8B8C8);
  line-height: 1.4;
}

.rm-flip-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--accent-gold, #CF9645);
  margin-top: 0.65rem;
  font-weight: 700;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rm-hint-symbol {
  display: inline-block;
  transition: transform 0.4s ease;
  font-size: 0.9rem;
}

/* BACK FACE STYLING */
.rm-face-back {
  background: linear-gradient(145deg, #14141E 0%, #0D0D13 100%);
  transform: rotateY(180deg) translateZ(1px);
  -webkit-transform: rotateY(180deg) translateZ(1px);
  padding: 2.1rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid var(--border-gold, rgba(207, 150, 69, 0.35));
}

.rm-back-top-content {
  display: flex;
  flex-direction: column;
}

.rm-back-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.rm-star-rating {
  color: var(--accent-gold, #CF9645);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  line-height: 1;
}

.rm-quote-icon {
  font-family: Georgia, serif;
  font-size: 3.2rem;
  line-height: 0.5;
  color: var(--accent-gold, #CF9645);
  opacity: 0.3;
}

.rm-back-quote {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #E2E8F0;
  margin: 0.85rem 0 1.25rem;
  font-style: italic;
  position: relative;
}

.rm-back-metric-box {
  background: rgba(207, 150, 69, 0.1);
  border: 1px solid rgba(207, 150, 69, 0.3);
  border-radius: var(--radius-sm, 8px);
  padding: 0.65rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.rm-metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold, #CF9645);
  box-shadow: 0 0 10px var(--accent-gold, #CF9645);
  flex-shrink: 0;
}

.rm-metric-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #E8B972;
  line-height: 1.35;
}

.rm-back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
}

.rm-back-author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.rm-back-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-gold, #CF9645);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(207, 150, 69, 0.2);
}

.rm-back-author-meta {
  display: flex;
  flex-direction: column;
}

.rm-back-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.rm-back-company {
  font-size: 0.78rem;
  color: var(--text-muted, #A0A0B2);
  line-height: 1.3;
}

.rm-back-flip-return {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold, #CF9645);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* Reduced Motion Preference Support */
@media (prefers-reduced-motion: reduce) {
  .rm-testimonials-track {
    animation: none !important;
    overflow-x: auto;
  }
  .rm-flip-card-inner {
    transition: transform 0.01s !important;
  }
}


/* ==========================================================================
   Careers & Creative Network Section Styles
   ========================================================================== */
.careers-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.career-perks-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.career-perk-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  transition: transform var(--transition-fast);
}

.career-perk-item:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.career-perk-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(207, 150, 69, 0.12);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.career-perk-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

.career-perk-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.career-form-card {
  background: linear-gradient(145deg, rgba(14, 14, 18, 0.95), rgba(22, 22, 28, 0.7));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(207, 150, 69, 0.1);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-input-styled,
.form-select-styled,
.form-textarea-styled {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-family: inherit;
  transition: transform var(--transition-fast);
}

.form-input-styled:focus,
.form-select-styled:focus,
.form-textarea-styled:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(207, 150, 69, 0.2);
  outline: none;
}

.form-select-styled option {
  background: #121216;
  color: #FFFFFF;
}

@media (max-width: 960px) {
  .careers-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .career-form-card {
    padding: 1.5rem 1.15rem;
  }
}

/* Universal Responsive Form Grids */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 580px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* ==========================================================================
   Feature 3: 3D Spatial Holographic Glow, Parallax Depth & Magnetic Buttons
   ========================================================================== */
.card-glass,
.workflow-card,
.pricing-card,
.metrics-card,
.portfolio-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* 3D Depth on Inner Elements */
.card-glass .icon-wrapper,
.card-glass .workflow-step-badge,
.pricing-card .pricing-header,
.metrics-card .metrics-header {
  transform: translateZ(20px);
  transition: transform 0.3s ease;
}

.card-glass h3,
.card-glass h4,
.pricing-card .pricing-price-box {
  transform: translateZ(14px);
}

/* Holographic Sheen Overlay */
.card-glass::after,
.pricing-card::after,
.workflow-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(207, 150, 69, 0.04) 40%,
    transparent 70%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.card-glass:hover::after,
.pricing-card:hover::after,
.workflow-card:hover::after {
  opacity: 1;
}

/* Magnetic Button Base */
.btn-primary,
.nav-cta-btn,
.open-retention-modal {
  will-change: transform;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

/* Desktop Ambient Cursor Glow Halo */
@media (hover: hover) and (pointer: fine) {
  .cursor-ambient-aura {
    position: fixed;
    top: 0;
    left: 0;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 150, 69, 0.045) 0%, transparent 68%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.4s ease;
  }
}


/* ==========================================================================
   RAZORPAY-STYLE STACKING PORTFOLIO DECK (RealMint Signature)
   ========================================================================== */
.rz-stack-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 1.5rem 0 10rem;
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
  position: relative;
}

.rz-stack-card {
  position: sticky;
  border-radius: var(--radius-lg, 24px);
  background: var(--bg-glass-card, rgba(18, 18, 26, 0.92));
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  padding: 2.5rem 2.5rem 2.75rem;
  box-shadow: 
    0 -6px 28px -4px rgba(207, 150, 69, 0.16),
    0 28px 64px -8px rgba(0, 0, 0, 0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.rz-stack-card:hover {
  border-color: var(--border-gold, rgba(207, 150, 69, 0.35));
  box-shadow: 
    0 -8px 36px -4px rgba(207, 150, 69, 0.28),
    0 32px 72px -8px rgba(0, 0, 0, 0.98);
}

.rz-stack-card.card-level-1 { top: 90px; z-index: 10; }
.rz-stack-card.card-level-2 { top: 120px; z-index: 20; }
.rz-stack-card.card-level-3 { top: 150px; z-index: 30; }
.rz-stack-card.card-level-4 { top: 180px; z-index: 40; }
.rz-stack-card.card-level-5 { top: 210px; z-index: 50; }

.rz-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
}

.rz-card-meta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.rz-step-num {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-gold, #CF9645);
  letter-spacing: -0.02em;
}

.rz-card-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
}

.rz-card-subtitle {
  font-family: var(--font-body, 'Inter', sans-serif);
  color: var(--text-secondary, #B8B8C8);
  font-size: 0.88rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.rz-count-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary, #B8B8C8);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rz-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(8, 8, 12, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full, 9999px);
}

.rz-page-counter {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-secondary, #B8B8C8);
  min-width: 80px;
  text-align: center;
  letter-spacing: 0.03em;
}

.rz-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rz-nav-btn:hover:not(:disabled) {
  background: var(--accent-gold, #CF9645);
  color: #070709;
  border-color: var(--accent-gold, #CF9645);
  transform: scale(1.1);
  box-shadow: 0 0 14px var(--accent-gold-glow, rgba(207, 150, 69, 0.35));
}

.rz-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.rz-carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md, 14px);
}

.rz-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.25rem 0.25rem 1rem;
}

.rz-carousel-track::-webkit-scrollbar {
  display: none;
}

.rz-item-card {
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(22, 22, 30, 0.65);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 14px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.rz-item-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold, rgba(207, 150, 69, 0.35));
  box-shadow: 0 18px 40px -8px rgba(0, 0, 0, 0.85), 0 0 24px -4px var(--accent-gold-glow, rgba(207, 150, 69, 0.35));
}

.layout-longform .rz-item-card {
  width: calc((100% - 1.5rem) / 2);
  min-width: 440px;
}
.layout-longform .rz-thumb-wrap {
  aspect-ratio: 16 / 9;
}

.layout-shortform .rz-item-card {
  width: calc((100% - (1.5rem * 3)) / 4);
  min-width: 230px;
}
.layout-shortform .rz-thumb-wrap {
  aspect-ratio: 9 / 16;
}

.layout-ugc .rz-item-card {
  width: calc((100% - (1.5rem * 3)) / 4);
  min-width: 230px;
}
.layout-ugc .rz-thumb-wrap {
  aspect-ratio: 9 / 16;
}

.layout-motion .rz-item-card {
  width: calc((100% - 1.5rem) / 2);
  min-width: 440px;
}
.layout-motion .rz-thumb-wrap {
  aspect-ratio: 16 / 9;
}

.layout-thumbnails .rz-item-card {
  width: calc((100% - (1.5rem * 2)) / 3);
  min-width: 320px;
}
.layout-thumbnails .rz-thumb-wrap {
  aspect-ratio: 16 / 9;
}

.rz-thumb-wrap {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
}

.rz-thumb-wrap img,
.rz-thumb-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.rz-item-card:hover .rz-thumb-wrap img,
.rz-item-card:hover .rz-thumb-wrap video {
  transform: scale(1.05);
}

.rz-platform-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(7, 7, 9, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-gold, rgba(207, 150, 69, 0.35));
  color: var(--accent-gold-hover, #E4A956);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full, 9999px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.rz-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.25s ease, background-color 0.25s ease;
  z-index: 2;
}

.rz-item-card:hover .rz-play-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.15);
}

.rz-play-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(18, 18, 26, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--border-gold, rgba(207, 150, 69, 0.35));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold-hover, #E4A956);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 20px var(--accent-gold-glow, rgba(207, 150, 69, 0.35));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease;
}

.rz-item-card:hover .rz-play-icon-box {
  transform: scale(1.15);
  background: var(--accent-gold, #CF9645);
  color: #070709;
  border-color: var(--accent-gold, #CF9645);
}

.rz-item-details {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(14, 14, 18, 0.85);
}

.rz-item-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.rz-item-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-gold-hover, #E4A956);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rz-subfilters {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.rz-subfilter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary, #B8B8C8);
  font-family: var(--font-heading, 'Outfit', sans-serif);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full, 9999px);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rz-subfilter-btn:hover {
  border-color: var(--border-gold, rgba(207, 150, 69, 0.35));
  color: #FFFFFF;
}

.rz-subfilter-btn.active {
  background: var(--accent-gold-subtle, rgba(207, 150, 69, 0.12));
  border-color: var(--accent-gold, #CF9645);
  color: var(--accent-gold-hover, #E4A956);
  box-shadow: 0 0 12px rgba(207, 150, 69, 0.2);
}

@media (max-width: 1024px) {
  .layout-shortform .rz-item-card,
  .layout-ugc .rz-item-card {
    width: calc((100% - (1.5rem * 2)) / 3);
    min-width: 210px;
  }
}

@media (max-width: 768px) {
  .rz-stack-container {
    gap: 3.5rem;
    padding-bottom: 6rem;
  }
  .rz-stack-card {
    padding: 1.5rem 1.25rem;
  }
  .layout-longform .rz-item-card,
  .layout-motion .rz-item-card {
    width: 88vw;
    min-width: unset;
  }
  .layout-shortform .rz-item-card,
  .layout-ugc .rz-item-card {
    width: 68vw;
    min-width: unset;
  }
  .layout-thumbnails .rz-item-card {
    width: 82vw;
    min-width: unset;
  }
}
