

.album-carousel-container {
    position: relative;
    top: -180px;
    /*left: 150px;*/
    height: 630px;
    padding: 50px 0;
    /*background: radial-gradient(ellipse at center, #111 0%, #000 100%);*/

    /* match separator alignment */
    width: auto;
    margin: 0 auto;
    border-radius: 12px; /* optional */
    align-items: center;
}


        .album-carousel-wrapper {
            position: relative;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            perspective: 1200px;
        }

        .album-carousel-track {
            display: flex;
            align-items: center;
            gap: 0px;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            transform-style: preserve-3d;
            align-items: center;
        }

        .album-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.1);
        }

        .album-card.side {
            width: 250px;
            height: 350px;
            transform: scale(0.8) rotateY(25deg);
            opacity: 0.6;
        }

        .album-card.center {
            width: 250px;
            height: 350px;
            transform: scale(1) rotateY(0deg);
            opacity: 1;
            z-index: 10;
        }

        .album-card:hover {
            transform: scale(1.05) rotateY(0deg) !important;
            opacity: 1 !important;
            box-shadow: 0 30px 60px rgba(0,0,0,0.7);
        }

        .album-image, .album-image video {
            width: 100%;
            height: 70%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .album-card:hover .album-image {
            transform: scale(1.1);
        }

        .album-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px;
            background: linear-gradient(transparent, rgba(0,0,0,0.9));
        }

        .album-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #fff;
        }

        .album-count {
            font-size: 14px;
            color: #999;
        }

        .album-carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border: 1px solid #13B3AC;
            background: rgba(255,255,255,0.2);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            color: #13B3AC;
            font-size: 20px;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
            z-index: 20;
        }

        .album-carousel-nav:hover {
            background: rgba(255,255,255,0.2);
            transform: translateY(-50%) scale(1.1);
            border: 1px solid #13B3AC;
            color: black;
        }

        .nav-prev {
            left: 30px;
        }

        .nav-next {
            right: 30px;
        }

        .auto-play-toggle {
            position: relative;
            bottom: 110px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255,255,255,0.1);
            border: 1px solid #13B3AC;
            padding: 10px 20px;
            border-radius: 25px;
            color: #13B3AC;
            cursor: pointer;
            font-size: 14px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .auto-play-toggle:hover {
            background: white;
        }

        .auto-play-toggle.active {
            background: white;
            border-color: #13B3AC;
            font-color: white;
        }

        /* Photo Modal */
        .photo-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            display: none;
            z-index: 1000;
            backdrop-filter: blur(20px);
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90%;
            max-height: 90%;
            background: #1a1a1a;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.8);
        }

        .modal-header {
            padding: 20px;
            border-bottom: 1px solid #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .close-modal {
            background: none;
            border: none;
            color: #fff;
            font-size: 24px;
            cursor: pointer;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .close-modal:hover {
            background: rgba(255,255,255,0.1);
        }

        .photo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
            padding: 20px;
            max-height: 60vh;
            overflow-y: auto;
        }

        .photo-item {
            position: relative;
            aspect-ratio: 1;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .photo-item:hover {
            transform: scale(1.05);
        }

        .photo-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .photo-actions {
            position: absolute;
            bottom: 10px;
            right: 10px;
            display: flex;
            gap: 10px;
        }

        .action-btn {
            background: rgba(0,0,0,0.7);
            border: none;
            color: #fff;
            padding: 8px;
            border-radius: 50%;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .action-btn:hover {
            background: rgba(0,0,0,0.9);
            transform: scale(1.1);
        }

        .action-btn.liked {
            color: #ff3b30;
        }

        /* Indicators */
        .album-carousel-indicators {
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
        }

        .album-indicator {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .album-indicator.active {
            background: #007AFF;
            transform: scale(1.2);
        }


        .large-photo-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
}

.large-photo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

#largePhotoContent img,
#largePhotoContent video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close-large {
  position: absolute;
  top: 20px; right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 2100;        /* above everything inside modal */
  pointer-events: auto; /* ensure it can receive clicks */
}

.close-large:hover {
    background: rgba(255,255,255,0.1);
}
.nav-btn {
  background: none;
  border: none;
  font-size: 50px;
  color: white;
  cursor: pointer;
  padding: 20px;
  user-select: none;
}

