/* =============================================
   GLASS NAVBAR
   ============================================= */
.nav-glass {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 32, 32, 0.10);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.nav-glass.scrolled {
  /* background: rgba(13, 17, 23, 0.96) !important; */
  box-shadow: rgb(0 0 0 / 23%) !important;
}

/* Shrink header */
.atf-header-height { height: 58px !important; }
#atf-sticky-active {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.atf-main-logo img {
  max-height: 36px !important;
  width: auto;
}

/* =============================================
   NAV LINKS + UNDERLINE ANIMATION
   ============================================= */
/* REPLACE WITH */
.nav-glass .atf-main-menu-content ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Override for dropdown only — force vertical stack */
.nav-glass .atf-main-menu-content ul li .nav-dropdown {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
}
.nav-glass .atf-main-menu-content ul li {
  position: relative;
}
.nav-glass .atf-main-menu-content ul li a {
  color: rgba(26, 26, 26, 0.82);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 6px 10px;
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* Underline slide animation */
.nav-glass .atf-main-menu-content ul li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--thm-base), var(--thm-bg));
  border-radius: 2px;
  transition: width 0.30s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-glass .atf-main-menu-content ul li > a:hover { color: var(--thm-base); }
.nav-glass .atf-main-menu-content ul li > a:hover::after { width: calc(100% - 20px); }
.nav-glass .atf-main-menu-content ul li.active > a { color: var(--thm-base); }
.nav-glass .atf-main-menu-content ul li.active > a::after { width: calc(100% - 20px); }

/* Scrolled state */
.nav-glass.scrolled .atf-main-menu-content ul li > a { color: rgb(52 52 52 / 85%) !important;}
.nav-glass.scrolled .atf-main-menu-content ul li > a:hover { color: #721717 !important; }
.nav-glass.scrolled .atf-main-menu-content ul li > a::after {
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0.5)) !important;
}

/* =============================================
   DROPDOWN MENU
   ============================================= */
.nav-glass .atf-main-menu-content ul li .nav-dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid var(--border-1);
  box-shadow: var(--box-shadow-4);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 100;
  /* arrow tip */
  pointer-events: none;
}
/* Invisible bridge fills gap between link and dropdown */
.nav-has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  background: transparent;
}
.nav-glass .atf-main-menu-content ul li .nav-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 18px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid var(--border-1);
  border-top: 1px solid var(--border-1);
  transform: rotate(45deg);
  border-radius: 2px 0 0 0;
}

/* Show on hover */
.nav-glass .atf-main-menu-content ul li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Dropdown items */
.nav-dropdown li { width: 100%; }
.nav-dropdown li a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--thm-title) !important;
  transition: background 0.2s, color 0.2s, padding-left 0.2s !important;
  border-radius: 0;
}
.nav-dropdown li a::after { display: none !important; }
.nav-dropdown li a i {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-1);
  color: var(--thm-base);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown li a:hover {
  background: var(--bg-1) !important;
  color: var(--thm-base) !important;
  padding-left: 22px !important;
}
.nav-dropdown li a:hover i {
  background: var(--thm-base);
  color: #fff;
}

/* Staggered entrance for each item */
/* REPLACE WITH */
.nav-dropdown li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.20s ease, transform 0.20s ease;
  transition-delay: 0s;
}

.nav-has-dropdown:hover .nav-dropdown li:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.08s;
}

.nav-has-dropdown:hover .nav-dropdown li:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.18s;
}

.nav-has-dropdown:hover .nav-dropdown li:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.28s;
}

.nav-has-dropdown:hover .nav-dropdown li:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.38s;
}

/* ── Light Elegant Dropdown Theme ── */

.nav-glass.scrolled .nav-dropdown {
  background: rgba(255,255,255,0.96) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(139, 32, 32, 0.10) !important;
  box-shadow: 0 18px 45px rgba(139, 32, 32, 0.10) !important;
}

.nav-glass.scrolled .nav-dropdown::before {
  background: rgba(255,255,255,0.96) !important;
  border-top: 1px solid rgba(139, 32, 32, 0.10) !important;
  border-left: 1px solid rgba(139, 32, 32, 0.10) !important;
}

.nav-glass.scrolled .nav-dropdown li a {
  color: var(--thm-title) !important;
  font-weight: 500 !important;
  transition: all 0.35s ease !important;
}

.nav-glass.scrolled .nav-dropdown li a:hover {
  background: linear-gradient(
    90deg,
    rgba(139,32,32,0.08),
    rgba(192,57,43,0.05)
  ) !important;

  color: var(--thm-base) !important;
  padding-left: 22px !important;
}

.nav-glass.scrolled .nav-dropdown li a i {
  background: rgba(139,32,32,0.08) !important;
  color: var(--thm-base) !important;
  border-radius: 50% !important;
  transition: all 0.35s ease !important;
}

.nav-glass.scrolled .nav-dropdown li a:hover i {
  background: var(--thm-base) !important;
  color: #fff !important;
  transform: scale(1.08) !important;
}

/* Dropdown toggle arrow */
.nav-has-dropdown > a .drop-arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.25s ease;
  display: inline-block;
}
.nav-has-dropdown:hover > a .drop-arrow {
  transform: rotate(180deg);
}

/* =============================================
   CTA BUTTON
   ============================================= */
.nav-marketplace-btn {
  background: linear-gradient(135deg, var(--thm-base), var(--thm-bg)) !important;
  color: var(--thm-white) !important;
  border: none !important;
  font-size: 12px !important;
  letter-spacing: 0.5px;
  padding: 8px 20px !important;
  border-radius: 6px !important;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-marketplace-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}
/* =============================================
   HERO — IMAGE SLIDESHOW BACKGROUND
   ============================================= */
.atf-hero-video-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

/* Slideshow wrapper */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  animation: none;
}
.hero-slide.active {
  opacity: 1;
}
/* Ken-Burns zoom on active slide */
.hero-slide.active {
  animation: kenBurns 8s ease-in-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.00); }
  to   { transform: scale(1.08); }
}

/* Dark overlay — clean black, no maroon tint */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.52) 55%,
    rgba(0, 0, 0, 0.18) 100%
  );
  /* background: linear-gradient(214deg, rgb(255 255 255 / 50%) 0%, rgb(197 191 191 / 0%) 55%, rgb(251 251 251 / 0%) 100%); */
}
/* =============================================
   HERO CONTENT — CENTER ALIGNED
   ============================================= */
.hero-inner-content {
  position: relative;
  z-index: 2;
  padding-bottom: 60px;
  width: 100%;
}
.atf-hero-content {
  text-align: left;
  max-width: 680px;
  margin: 0;
}

/* Badge */
.hero-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.30);
  color: rgba(255, 255, 255, 0.90);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeInDown 0.7s 0.3s ease forwards;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.40);
}

/* Title */
.atf-hero-video-section .atf-hero-content .title {
  font-size: clamp(38px, 5.5vw, 53px);
  font-weight: 800;
  color: var(--thm-white);
  line-height: 1.12;
  letter-spacing: -2px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.55s ease forwards;
  /* text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 4px rgba(0, 0, 0, 0.35); */
}
.atf-hero-video-section .atf-hero-content .title span {
  background: linear-gradient(90deg, #FF6B6B, #C0392B, #FF9999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.atf-hero-video-section .atf-hero-content .description {
  color: rgb(255 255 255 / 87%);
  font-size: 16px;
  line-height: 1.80;
  margin: 18px auto 34px;
  /* max-width: 520px; */
  opacity: 0;
  animation: fadeInUp 0.8s 0.75s ease forwards;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.50);
}

/* Buttons */
.atf-hero-btn {
  display: flex;
  justify-content: left;
  align-items: left;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.95s ease forwards;
}
.atf-hero-btn .atf-themes-btn {
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s;
}
.atf-hero-btn .atf-themes-btn:first-child {
  background: linear-gradient(135deg, var(--thm-base), var(--thm-bg));
  color: #fff;
  border: none;
  box-shadow: 0 6px 24px rgba(139, 32, 32, 0.45);
}
.atf-hero-btn .atf-themes-btn:first-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 32, 32, 0.55);
}
.atf-hero-btn .btn-2 {
  background: rgba(255,255,255,0.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35) !important;
  backdrop-filter: blur(8px);
}
.atf-hero-btn .btn-2:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

/* Slideshow dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  padding: 0;
}
.hero-dot.active {
  background: #fff;
  transform: scale(1.3);
}
/* =============================================
   RESPONSIVE — HERO
   ============================================= */
@media (max-width: 991px) {
  .atf-hero-video-section .atf-hero-content .title {
    font-size: clamp(30px, 5.5vw, 46px);
    letter-spacing: -1px;
  }
  .atf-hero-content {
    max-width: 100%;
  }
  .hero-inner-content {
    padding-top: 110px;
  }
}
@media (max-width: 767px) {
  .atf-hero-video-section {
    min-height: 100svh;
  }
  .atf-hero-video-section .atf-hero-content .title {
    font-size: clamp(26px, 7vw, 36px);
    letter-spacing: -0.5px;
  }
  .atf-hero-video-section .atf-hero-content .description {
    font-size: 14px;
    line-height: 1.7;
    max-width: 100%;
  }
  .atf-hero-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .atf-hero-btn .atf-themes-btn {
    padding: 11px 24px;
    font-size: 13px;
    width: fit-content;
  }
  .hero-inner-content {
    padding-top: 90px;
    padding-bottom: 80px;
  }
}
@media (max-width: 480px) {
  .atf-hero-video-section .atf-hero-content .title {
    font-size: 24px;
    letter-spacing: -0.3px;
  }
}
/* =============================================
   HERO VIDEO BACKGROUND
   ============================================= */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-video-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  pointer-events: none;
}
/* =============================================
   KEYFRAMES
   ============================================= */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Very large screen — stop content drifting left */
@media (min-width: 1400px) {
  .hero-inner-content .row > div {
    max-width: 680px;
  }
  .hero-inner-content {
    padding-left: 4vw;
  }
}

@media (min-width: 1800px) {
  .hero-inner-content {
    padding-left: 7vw;
  }
  .atf-hero-video-section .atf-hero-content .title {
    font-size: 64px;
  }
}
/* footer */

/* =============================================
   FOOTER — SHORT WITH BG IMAGE
   ============================================= */
.atf-footer {
  position: relative;
  background: none !important;
  overflow: hidden;
}

/* Background image layer */
.atf-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1800&q=80');
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}

/* Dark overlay over image */
.atf-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 12, 0.88) 0%,
    rgba(8, 8, 12, 0.92) 100%
  );
  z-index: 1;
}

/* All footer content above overlay */
.atf-footer .footer-inner {
  position: relative;
  z-index: 2;
}

/* Top divider line accent */
.footer-top-bar {
  border-top: 1px solid rgba(139, 32, 32, 0.55);
  padding: 52px 0 36px;
}

/* Brand column */
.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
}
.footer-brand-name span {
  color: var(--thm-bg);
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  line-height: 1.7;
  max-width: 260px;
  margin-bottom: 22px;
}

/* Social icons */
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.footer-socials a:hover {
  background: var(--thm-base);
  border-color: var(--thm-base);
  color: #fff;
}

/* Nav links column */
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-list li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-nav-list li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Contact column */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item i {
  color: var(--thm-bg);
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 0;
}

/* Bottom copyright bar */
.footer-bottom-bar {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-bar p {
  color: rgba(255, 255, 255, 0.32);
  font-size: 12px;
  margin: 0;
}
.footer-bottom-bar p a {
  color: var(--thm-bg);
  text-decoration: none;
}
.footer-bottom-bar p a:hover {
  color: #fff;
}
.footer-bottom-right {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 767px) {
  .footer-top-bar {
    padding: 40px 0 28px;
  }
  .footer-col-title {
    margin-top: 28px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}
/* gallery section home page  */

/* ── Section ── */
  .avi-gallery {
    padding: 46px 0px 10px;
    background: var(--thm-f6, #F9F5F5);
    overflow: hidden;
  }
 
  /* ── Header ── */
  .avi-gallery .sec-label {
    font-family: var(--thm-font, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--thm-base);
    display: block;
    margin-bottom: 10px;
    text-align: center;
    animation: avi-fadeup 0.6s ease both;
  }
 
  .avi-gallery .sec-title {
    font-family: var(--thm-font, 'Poppins', sans-serif);
    color: var(--thm-title, #1A1A1A);
    text-align: center;
    line-height: 1.15;
    margin-bottom: 10px;
    animation: avi-fadeup 0.65s 0.08s ease both;
  }
 
  .avi-gallery .sec-sub {
    font-family: var(--thm-font, 'Poppins', sans-serif);
    font-size: 13.5px;
    color: var(--thm-p, #5C5252);
    text-align: center;
    line-height: 1.65;
    margin-bottom: 36px;
    animation: avi-fadeup 0.65s 0.14s ease both;
  }
 
  /* ── Tab Pills Row ── */
  .avi-tabs-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 12px;
    animation: avi-fadeup 0.65s 0.2s ease both;
  }
 
  .avi-tab-btn {
    font-family: var(--thm-font, 'Poppins', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: var(--thm-p, #5C5252);
    background: transparent;
    border: 1.5px solid #9d9797;
    border-radius: 50px;
    padding: 6px 18px;
    cursor: pointer;
    transition: all 0.26s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    line-height: 1.5;
  }
 
  .avi-tab-btn:hover {
    border-color: var(--thm-base, #8B2020);
    color: var(--thm-base, #8B2020);
  }
 
  .avi-tab-btn.active {
    background: var(--thm-base, #8B2020);
    border-color: var(--thm-base, #8B2020);
    color: #fff;
    box-shadow: 0 8px 24px rgba(139,32,32,.28);
  }
 
  .avi-viewmore-btn {
    font-family: var(--thm-font, 'Poppins', sans-serif);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--thm-title, #1A1A1A);
    background: transparent;
    border: 1.5px solid var(--border-1, #E2D8D8);
    border-radius: 50px;
    padding: 6px 20px;
    cursor: pointer;
    transition: all 0.26s cubic-bezier(.4,0,.2,1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
  }
 
  .avi-viewmore-btn:hover {
    background: var(--thm-black, #0D1117);
    border-color: var(--thm-black, #0D1117);
    color: #fff;
  }
 
  /* ── Panel ── */
  .avi-panel { display: none; }
  .avi-panel.active {
    display: block;
    animation: avi-fadeup 0.44s cubic-bezier(.4,0,.2,1) both;
  }
 
  /* ── Carousel ── */
  .avi-carousel-wrap { overflow: hidden; padding: 12px 0 20px; }
 
  .avi-track {
    display: flex;
    gap: 14px;
    align-items: flex-end;
    padding: 0 28px;
    transition: transform 0.55s cubic-bezier(.4,0,.2,1);
    will-change: transform;
  }
 
  /* ── Cards ── */
  .avi-card {
    flex: 0 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.34s cubic-bezier(.4,0,.2,1), box-shadow 0.34s;
  }
 
  .avi-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.52s ease;
  }
 
  .avi-card:hover img { transform: scale(1.07); }
 
  .avi-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(139,32,32,.24);
  }
 
  /* Size variants */
  .avi-card.avi-sm { width: 170px; height: 220px; }
  .avi-card.avi-md { width: 230px; height: 295px; }
  .avi-card.avi-lg { width: 295px; height: 370px; }
 
  /* ── Card Overlay ── */
  .avi-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13,17,23,0.78) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px 18px;
  }
 
  .avi-card:hover .avi-overlay { opacity: 1; }
 
  .avi-overlay-label {
    font-family: var(--thm-font, 'Poppins', sans-serif);
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    text-transform: uppercase;
  }
 
  /* ── Play Button ── */
  .avi-play {
    position: absolute;
    bottom: 13px;
    right: 13px;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    border: 1.5px solid rgba(255,255,255,0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.24s, border-color 0.24s;
    backdrop-filter: blur(5px);
  }
 
  .avi-card:hover .avi-play {
    background: var(--thm-base, #8B2020);
    border-color: var(--thm-base, #8B2020);
  }
 
  .avi-play svg {
    width: 11px;
    height: 11px;
    fill: #fff;
    margin-left: 2px;
  }
 
  /* ── Nav Arrows ── */
  .avi-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    animation: avi-fadeup 0.65s 0.28s ease both;
  }
 
  .avi-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border-1, #E2D8D8);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.24s cubic-bezier(.4,0,.2,1);
    color: var(--thm-title, #1A1A1A);
  }
 
  .avi-arrow:hover {
    background: var(--thm-base, #8B2020);
    border-color: var(--thm-base, #8B2020);
    color: #fff;
    box-shadow: 0 6px 22px rgba(139,32,32,.3);
  }
 
  .avi-arrow svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
 
  /* ── Expand Corner ── */
  .avi-corner {
    display: flex;
    justify-content: flex-end;
    padding-right: 32px;
    margin-top: 14px;
  }
 
  .avi-expand-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1.5px solid var(--border-1, #E2D8D8);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.24s;
  }
 
  .avi-expand-btn:hover {
    background: var(--thm-base, #8B2020);
    border-color: var(--thm-base, #8B2020);
  }
 
  .avi-expand-btn svg {
    width: 14px;
    height: 14px;
    stroke: var(--thm-p, #5C5252);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.24s;
  }
 
  .avi-expand-btn:hover svg { stroke: #fff; }
 
  /* ── Keyframes ── */
  @keyframes avi-fadeup {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
 
  /* ── Responsive ── */
  @media (max-width: 991px) {
    .avi-card.avi-sm { width: 145px; height: 190px; }
    .avi-card.avi-md { width: 195px; height: 250px; }
    .avi-card.avi-lg { width: 250px; height: 315px; }
  }
 
  @media (max-width: 767px) {
    .avi-gallery { padding: 56px 0 44px; }
    .avi-card.avi-sm { width: 120px; height: 160px; }
    .avi-card.avi-md { width: 165px; height: 215px; }
    .avi-card.avi-lg { width: 210px; height: 268px; }
    .avi-track { gap: 10px; padding: 0 16px; }
  }
 
  @media (max-width: 479px) {
    .avi-card.avi-sm { width: 100px; height: 138px; }
    .avi-card.avi-md { width: 140px; height: 185px; }
    .avi-card.avi-lg { width: 180px; height: 232px; }
    .avi-track { gap: 9px; padding: 0 12px; }
    .avi-corner { padding-right: 16px; }
  }

