/* Shared theme for Mini project pages */
.mini-hero {
    min-height: 70vh;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(59, 130, 246, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 85%, rgba(96, 165, 250, 0.08) 0%, transparent 55%),
        var(--bg-primary);
}
.mini-hero-media { display: flex; justify-content: center; margin-bottom: 20px; }
.mini-hero-icon { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.6)); }
.mini-hero-media .mini-placeholder { width: 120px; height: 120px; font-size: 3.4rem; }
.mini-title { letter-spacing: 0.02em; }
.mini-no-stats { grid-template-columns: 1fr !important; }
.story-text code, .story-highlight code { font-family: 'Fira Code', monospace; font-size: 0.9em; color: var(--accent); }
.story-text a, .story-highlight a { color: var(--accent); }
.gallery-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.carousel-container {
    position: relative;
    width: 100%;
    flex: 1;
    min-width: 0;
}

.carousel-slide {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.carousel-slide.active {
    display: flex;
}

.slide-img {
    max-width: 100%;
    max-height: 72vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(124, 92, 255, 0.35);
    background: #0c0d12;
    box-shadow: 0 0 30px rgba(124, 92, 255, 0.1);
}

.slide-caption {
    font-family: 'Poppins', sans-serif;
    color: #b3a1ff;
    font-size: 1rem;
    margin-top: 16px;
    text-align: center;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid rgba(124, 92, 255, 0.35);
    color: #b3a1ff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    border-color: #7c5cff;
    background: rgba(124, 92, 255, 0.12);
    box-shadow: 0 0 15px rgba(124, 92, 255, 0.25);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #7c5cff;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dot.active {
    background: #7c5cff;
    box-shadow: 0 0 10px rgba(124, 92, 255, 0.5);
}

@media (max-width: 768px) {
    .gallery-carousel {
        gap: 10px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }
}

.slide-img { max-height: 70vh; object-fit: contain; }
