/* ========================================
   VARDAN JEWELLERS – HOMEPAGE VIDEOS GALLERY
   2-Column Layout: Left Sidebar Tabs + Right Video Grid
   Fully Mobile Responsive & Frame Centered
   ======================================== */

   .videos-section {
    background: linear-gradient(180deg, #faf7f2 0%, #f4ede2 100%);
    padding: 90px 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  
  .videos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 35px;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* ========================================
     2-COLUMN GRID (LEFT TABS 320PX, RIGHT GRID 1FR)
     ======================================== */
  
  .videos-layout-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* ----------------------------------------
     LEFT SIDEBAR: SECTION TITLE & VERTICAL TABS
     ---------------------------------------- */
  
  .videos-sidebar {
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.3);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 12px 35px rgba(74, 16, 29, 0.05);
    box-sizing: border-box;
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .videos-sidebar-header {
    margin-bottom: 24px;
  }
  
  .videos-label {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--color-gold, #c5a880);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
  }
  
  .videos-title {
    font-family: var(--font-serif, "Cormorant Garamond", serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-primary, #4a101d);
    margin: 0 0 10px 0;
    line-height: 1.15;
  }
  
  .videos-divider-left {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #c5a880, transparent);
    margin-bottom: 12px;
  }
  
  .videos-subtitle-left {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.82rem;
    color: var(--color-text-muted, #666);
    line-height: 1.5;
    margin: 0;
  }
  
  /* Vertical Category Tab Menu */
  .videos-tab-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .vtab-item {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    background: #faf7f2;
    border: 1px solid rgba(197, 168, 128, 0.25);
    color: var(--color-primary, #4a101d);
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-sizing: border-box;
  }
  
  .vtab-item:hover {
    background: #f4ede2;
    border-color: rgba(197, 168, 128, 0.45);
    transform: translateX(4px);
  }
  
  .vtab-item.active {
    background: var(--color-primary, #4a101d);
    color: #ffffff;
    border-color: var(--color-primary, #4a101d);
    box-shadow: 0 8px 22px rgba(74, 16, 29, 0.2);
  }
  
  .vtab-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(197, 168, 128, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-primary, #4a101d);
    flex-shrink: 0;
    transition: all 0.3s ease;
  }
  
  .vtab-item.active .vtab-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #f5d77f;
  }
  
  .vtab-icon.ig-icon {
    background: linear-gradient(135deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
    color: #ffffff;
  }
  
  .vtab-label {
    flex-grow: 1;
  }
  
  .vtab-badge {
    background: rgba(197, 168, 128, 0.2);
    color: var(--color-primary, #4a101d);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .vtab-item.active .vtab-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }
  
  /* ----------------------------------------
     RIGHT CONTENT: ACTIVE CATEGORY & VIDEO GRID
     ---------------------------------------- */
  
  .videos-content-area {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  
  .videos-content-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
  }
  
  .videos-category-title {
    font-family: var(--font-serif, "Cormorant Garamond", serif);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--color-primary, #4a101d);
    margin: 0 0 4px 0;
    line-height: 1.2;
  }
  
  .videos-category-subtitle {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.85rem;
    color: #777;
    margin: 0;
  }
  
  /* Video Grid Cards */
  .videos-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .vgrid-card {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #140d11;
    border: 1px solid rgba(197, 168, 128, 0.25);
    box-shadow: 0 10px 30px rgba(74, 16, 29, 0.08);
    transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
  }
  
  .vgrid-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 18px 40px rgba(74, 16, 29, 0.18);
  }
  
  .vgrid-card.landscape-card {
    aspect-ratio: 16 / 10;
  }
  
  .vgrid-card.portrait-card {
    aspect-ratio: 9 / 13;
  }
  
  .vgrid-poster {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* Embedded live Instagram frame & direct video styling (PERFECTLY CENTERED) */
  .vgrid-embed-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 145%;
    transform: translate(-50%, -50%);
    border: none;
    z-index: 0;
    pointer-events: none;
    background: #000000;
  }
  
  .vgrid-embed-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
  }
  
  .vgrid-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(20, 13, 17, 0.35) 0%,
      rgba(20, 13, 17, 0.2) 40%,
      rgba(15, 8, 11, 0.94) 100%
    );
    z-index: 1;
    pointer-events: none;
  }
  
  .vgrid-tag {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 50px;
    color: #ffffff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  
  .badge-reel {
    background: linear-gradient(135deg, rgba(220, 39, 67, 0.85), rgba(188, 24, 136, 0.85));
  }
  
  .badge-award {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.9), rgba(133, 100, 4, 0.9));
  }
  
  .badge-short {
    background: linear-gradient(135deg, rgba(0, 119, 197, 0.85), rgba(74, 16, 29, 0.85));
  }
  
  .badge-other {
    background: rgba(40, 30, 35, 0.85);
  }
  
  /* Pulsing Gold Play Button */
  .vgrid-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  .vgrid-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.6);
    animation: vgridPulse 2s infinite;
    pointer-events: none;
  }
  
  @keyframes vgridPulse {
    0% {
      transform: scale(0.95);
      opacity: 0.8;
    }
    100% {
      transform: scale(1.45);
      opacity: 0;
    }
  }
  
  .vgrid-card:hover .vgrid-play-btn {
    transform: translate(-50%, -50%) scale(1.08);
    background: linear-gradient(135deg, #f5d77f 0%, #d4af37 100%);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
  }
  
  .vgrid-play-btn i {
    margin-left: 3px;
  }
  
  /* Bottom Card Info */
  .vgrid-info {
    position: relative;
    z-index: 2;
    margin-top: auto;
  }
  
  .vgrid-title {
    font-family: var(--font-serif, "Cormorant Garamond", serif);
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
  
  .vgrid-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
  }
  
  .vgrid-date {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
  }
  
  .vgrid-watch-text {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-gold, #c5a880);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: transform 0.3s ease, color 0.3s ease;
  }
  
  .vgrid-card:hover .vgrid-watch-text {
    color: #f5d77f;
    transform: translateX(4px);
  }
  
  /* Empty State */
  .videos-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed var(--border-medium, #c5a880);
    border-radius: 16px;
    background: #ffffff;
    color: #777;
  }
  
  /* ========================================
     LIGHTBOX MODAL PLAYER
     ======================================== */
  
  .video-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(12, 6, 9, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  
  .video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .video-modal-container {
    position: relative;
    width: 100%;
    max-width: 920px;
    background: #140b10;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
  }
  
  .video-modal-overlay.active .video-modal-container {
    transform: scale(1);
  }
  
  .video-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .video-modal-close:hover {
    background: var(--color-primary, #4a101d);
    color: #f5d77f;
    transform: rotate(90deg);
  }
  
  .video-modal-body {
    width: 100%;
    background: #000000;
  }
  
  .video-modal-player-wrapper.landscape-player {
    padding-top: 56.25%;
    position: relative;
  }
  
  .video-modal-player-wrapper.portrait-player {
    padding-top: 130%;
    max-width: 420px;
    margin: 0 auto;
    position: relative;
  }
  
  .video-modal-player-wrapper iframe,
  .video-modal-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
  
  .video-modal-info {
    padding: 22px 28px;
    background: #140b10;
    border-top: 1px solid rgba(197, 168, 128, 0.15);
  }
  
  .video-modal-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
  }
  
  .video-modal-badge {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 50px;
    color: #ffffff;
  }
  
  .video-modal-date {
    font-family: var(--font-sans, "Inter", sans-serif);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
  }
  
  .video-modal-title {
    font-family: var(--font-serif, "Cormorant Garamond", serif);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
  }
  
  /* ========================================
     RESPONSIVE DESIGN BREAKPOINTS
     ======================================== */
  
  @media (max-width: 992px) {
    .videos-layout-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }
    .videos-sidebar {
      position: static;
      padding: 20px 16px;
      border-radius: 16px;
      width: 100%;
      box-sizing: border-box;
    }
    .videos-tab-menu {
      flex-direction: row;
      overflow-x: auto;
      padding-bottom: 8px;
      width: 100%;
      box-sizing: border-box;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .videos-tab-menu::-webkit-scrollbar {
      display: none;
    }
    .vtab-item {
      flex: 0 0 auto;
      min-width: 150px;
      padding: 10px 14px;
      font-size: 0.82rem;
    }
    .vtab-item:hover {
      transform: none;
    }
    .videos-grid-container {
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 18px;
    }
  }
  
  @media (max-width: 576px) {
    .videos-section {
      padding: 50px 0;
    }
    .videos-container {
      padding: 0 16px;
    }
    .videos-title {
      font-size: 1.8rem;
    }
    .videos-grid-container {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .vgrid-card.portrait-card {
      aspect-ratio: 9 / 13;
      max-height: 480px;
    }
    .vgrid-card.landscape-card {
      aspect-ratio: 16 / 10;
    }
    .vgrid-embed-iframe {
      width: 115%;
      height: 150%;
    }
  }
  