/* Zipgo Learn Theme - Deep Space Cyan */

.zipgolearn-page {
    --accent: #22d9f2;
    --accent-hover: #5ce4f7;
    --accent-glow: rgba(34, 217, 242, 0.3);
    --bg-primary: #05070d;
    --bg-secondary: #080b14;
    --bg-tertiary: #0c101c;
    --bg-card: #080b14;
    --border: #1c2536;
    --border-light: #2a3a52;
    --gradient-primary: linear-gradient(135deg, #22d9f2 0%, #7c6cf2 100%);
}

/* Constellation background */
.terminal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(1px 1px at 12% 28%, rgba(34, 217, 242, 0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 34% 72%, rgba(124, 108, 242, 0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 58% 18%, rgba(34, 217, 242, 0.4) 50%, transparent 51%),
        radial-gradient(1px 1px at 78% 62%, rgba(124, 108, 242, 0.4) 50%, transparent 51%),
        radial-gradient(1px 1px at 90% 34%, rgba(34, 217, 242, 0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 22% 88%, rgba(34, 217, 242, 0.35) 50%, transparent 51%);
    z-index: 0;
    animation: starPulse 6s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hero Styling */
.zipgolearn-hero {
    background:
        radial-gradient(ellipse at 30% 30%, rgba(34, 217, 242, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 70%, rgba(124, 108, 242, 0.09) 0%, transparent 55%),
        #05070d;
}

.zipgolearn-hero .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(5, 7, 13, 0.2) 0%,
        rgba(5, 7, 13, 0.8) 100%);
    z-index: 1;
}

.zipgolearn-hero .container {
    z-index: 2;
}

.zipgolearn-hero-logo {
    width: 130px;
    height: 130px;
    margin-bottom: 1.5rem;
    border-radius: 50%;
    filter: drop-shadow(0 0 30px rgba(34, 217, 242, 0.55));
    animation: orbFloat 4s ease-in-out infinite;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.zipgolearn-title {
    font-family: 'Orbitron', 'Inter', sans-serif !important;
    font-size: clamp(2.2rem, 7vw, 4.2rem) !important;
    letter-spacing: 0.18em;
    color: #22d9f2;
    text-shadow:
        0 0 10px rgba(34, 217, 242, 0.8),
        0 0 20px rgba(34, 217, 242, 0.5),
        0 0 40px rgba(124, 108, 242, 0.4);
    background: none !important;
    -webkit-text-fill-color: #22d9f2 !important;
}

/* Override tech stack tags */
.zipgolearn-page .project-tech-stack span {
    background: rgba(34, 217, 242, 0.08);
    border: 1px solid rgba(34, 217, 242, 0.3);
    color: #22d9f2;
    font-family: 'Fira Code', monospace;
}

/* Override section titles */
.zipgolearn-page .section-title {
    font-family: 'Orbitron', 'Inter', sans-serif;
    letter-spacing: 0.08em;
}

.zipgolearn-page .section-title::after {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(34, 217, 242, 0.5);
}

/* Architecture cards */
.zipgolearn-page .arch-card {
    background: rgba(8, 11, 20, 0.8);
    border: 1px solid rgba(34, 217, 242, 0.2);
    backdrop-filter: blur(10px);
}

.zipgolearn-page .arch-card:hover {
    border-color: #22d9f2;
    box-shadow:
        0 0 20px rgba(34, 217, 242, 0.15),
        inset 0 0 20px rgba(34, 217, 242, 0.04);
}

.zipgolearn-page .arch-card h3 {
    color: #22d9f2;
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
}

/* Code preview - terminal window */
.zipgolearn-page .code-preview {
    border: 1px solid rgba(34, 217, 242, 0.3);
    background: rgba(4, 6, 11, 0.95);
    box-shadow:
        0 0 20px rgba(34, 217, 242, 0.1),
        inset 0 0 30px rgba(34, 217, 242, 0.02);
}

.zipgolearn-page .code-preview code {
    color: #22d9f2;
    text-shadow: 0 0 4px rgba(34, 217, 242, 0.4);
}

/* Badges */
.zipgolearn-page .badge {
    background: rgba(34, 217, 242, 0.08);
    border: 1px solid rgba(34, 217, 242, 0.3);
    color: #22d9f2;
    font-family: 'Fira Code', monospace;
}

/* Story stats */
.zipgolearn-page .story-stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(34, 217, 242, 0.4));
    font-family: 'Orbitron', 'Inter', sans-serif;
}

/* Gallery Carousel */
.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(34, 217, 242, 0.3);
    background: #080b14;
    box-shadow: 0 0 30px rgba(34, 217, 242, 0.08);
}

.slide-caption {
    font-family: 'Fira Code', monospace;
    color: #22d9f2;
    font-size: 1rem;
    margin-top: 16px;
    text-align: center;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid rgba(34, 217, 242, 0.3);
    color: #22d9f2;
    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: #22d9f2;
    background: rgba(34, 217, 242, 0.1);
    box-shadow: 0 0 15px rgba(34, 217, 242, 0.2);
}

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

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

.carousel-dot.active {
    background: #22d9f2;
    box-shadow: 0 0 10px rgba(34, 217, 242, 0.5);
}

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

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

/* Alt background */
.zipgolearn-page .alt-bg {
    background: #080b14;
}

/* Footer */
.zipgolearn-page .back-link:hover {
    color: #22d9f2;
    text-shadow: 0 0 10px rgba(34, 217, 242, 0.5);
}

/* Scroll hint */
.zipgolearn-page .scroll-hint span {
    color: rgba(34, 217, 242, 0.6);
    font-family: 'Fira Code', monospace;
    letter-spacing: 0.2em;
}

.zipgolearn-page .scroll-arrow {
    border-color: rgba(34, 217, 242, 0.6);
}

@media (max-width: 768px) {
    .zipgolearn-title {
        letter-spacing: 0.1em;
    }

    .zipgolearn-hero-logo {
        width: 100px;
        height: 100px;
    }
}
