/* Atmoslol Theme - Blue Sky & Clouds */

.atmoslol-page {
    --accent: #38bdf8;
    --accent-hover: #7dd3fc;
    --accent-glow: rgba(56, 189, 248, 0.3);
    --bg-primary: #0c1929;
    --bg-secondary: #0f2137;
    --bg-tertiary: #142845;
    --bg-card: #0d1e33;
    --border: #1e3a5f;
    --border-light: #2a4a6f;
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}

/* Animated Clouds Background */
.clouds-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom, #1e3a5f 0%, #0c1929 100%);
    overflow: hidden;
    z-index: 0;
}

.clouds-bg::before,
.clouds-bg::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 45%);
    animation: cloudDrift 60s linear infinite;
}

.clouds-bg::after {
    animation-delay: -30s;
    opacity: 0.7;
}

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Styling */
.atmoslol-hero {
    background: #0c1929;
}

.atmoslol-hero .video-bg video {
    filter: blur(2px);
    opacity: 0.6;
}

.atmoslol-hero .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(12, 25, 41, 0.2) 0%,
        rgba(12, 25, 41, 0.7) 100%);
    z-index: 1;
}

.atmoslol-hero .container {
    position: relative;
    z-index: 2;
}

.atmoslol-banner {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 20px rgba(56, 189, 248, 0.3));
}

.atmoslol-page .project-hero-title {
    display: none;
}

/* Section titles */
.atmoslol-page .section-title {
    font-family: 'Poppins', sans-serif;
}

.atmoslol-page .section-title::after {
    background: var(--gradient-primary);
}

/* Tech stack tags */
.atmoslol-page .project-tech-stack span {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #7dd3fc;
}

/* Architecture cards */
.atmoslol-page .arch-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.atmoslol-page .arch-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}

.atmoslol-page .arch-card h3 {
    color: var(--accent-hover);
    font-family: 'Poppins', sans-serif;
}

/* Code preview */
.atmoslol-page .code-preview {
    border: 1px solid var(--border);
    background: var(--bg-card);
}

/* Badges */
.atmoslol-page .badge {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: var(--accent-hover);
}

/* Story stats */
.atmoslol-page .story-stat-number {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gallery Carousel */
.atmoslol-page .gallery-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.atmoslol-page .carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    overflow: hidden;
}

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

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

.atmoslol-page .carousel-img {
    max-width: 100%;
    max-height: 430px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.atmoslol-page .slide-caption {
    color: var(--accent-hover);
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-top: 16px;
    text-align: center;
}

.atmoslol-page .carousel-btn {
    background: var(--bg-card);
    border: 2px solid var(--border);
    color: var(--accent);
    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;
}

.atmoslol-page .carousel-btn:hover {
    border-color: var(--accent);
    background: rgba(56, 189, 248, 0.1);
}

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

.atmoslol-page .carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.atmoslol-page .carousel-dot.active {
    background: var(--accent);
}

/* Video container */
.atmoslol-page .video-container {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.atmoslol-page .video-section h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--accent-hover);
}

/* Alt background with anime clouds */
.atmoslol-page .alt-bg {
    background:
        linear-gradient(to bottom, rgba(12, 25, 41, 0.85) 0%, rgba(15, 33, 55, 0.9) 100%),
        url('../assets/images/atmos/anime-style-clouds.jpg') center/cover no-repeat;
}

/* Footer */
.atmoslol-page .back-link:hover {
    color: var(--accent-hover);
}

/* Scroll hint */
.atmoslol-page .scroll-hint span {
    color: rgba(56, 189, 248, 0.6);
}

.atmoslol-page .scroll-arrow {
    border-color: rgba(56, 189, 248, 0.6);
}

@media (max-width: 768px) {
    .atmoslol-title {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
    }
}
