body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #111;
    overflow-x: hidden;
  }
  
  .animated-bg {
    position: fixed;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, #1a1a1a 20%, #000000 100%);
    animation: pulse 10s ease-in-out infinite;
    z-index: -1;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
  }
  
  /* Container */
  .gallery-container {
    padding: 40px 20px;
    color: #fff;
    text-align: center;
  }
  
  .gallery-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  
  /* Flex scroll gallery */
  .gallery-flex {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }
  
  /* Hide scrollbar on WebKit */
  .gallery-flex::-webkit-scrollbar {
    display: none;
  }
  
  /* Card */
  .gallery-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #1f1f1f;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
  }
  
  .gallery-card:hover {
    transform: scale(1.02);
  }
  
  .gallery-card img,
  .gallery-card iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border: none;
  }
  
  .card-caption {
    background: #292929;
    padding: 12px;
    font-weight: 500;
    font-size: 15px;
  }
  
  .back-arrow {
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 14px;
    border-radius: 50%;
    z-index: 1000;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  
  .back-arrow:hover {
    background: #fff;
    color: #d514e9; /* Your theme highlight color */
  }
  