* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    color: #fff;
    overflow: hidden;
    height: 100vh;
    position: fixed;
    width: 100%;
}

.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(ellipse at center, #1e3c72 0%, #0f0c29 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.intro-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.intro-content {
    text-align: center;
    position: relative;
}

.intro-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF6347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: introTitleGlow 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes introTitleGlow {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
    }
}

.intro-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    color: rgba(255, 255, 255, 0.9);
}

.intro-date {
    font-size: clamp(1rem, 2vw, 1.5rem);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1s forwards;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.intro-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 30px;
    border-radius: 2px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.5s forwards;
}

.intro-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    width: 0%;
    animation: introProgressFill 3s ease-out 2s forwards;
}

@keyframes introProgressFill {
    to { width: 100%; }
}

.intro-skip {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-out 2.5s forwards;
}

.intro-skip:hover {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

header {
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.main-title {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    margin-bottom: 20px;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.progress-bar {
    width: 100%;
    max-width: 600px;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 3px;
}

.slideshow-container {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides-wrapper {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    touch-action: pan-y pinch-zoom;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    z-index: 2;
}

.slide.prev {
    opacity: 0;
    transform: translateX(-100%) scale(0.8);
    z-index: 1;
}

.slide.next {
    opacity: 0;
    transform: translateX(100%) scale(0.8);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.slide-content {
    display: none;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}




@media (max-width: 768px) {
    .intro-progress {
        width: 200px;
    }
    
    .intro-title {
        font-size: 2rem;
    }
    
    .intro-subtitle {
        font-size: 1.2rem;
    }
    
    .intro-date {
        font-size: 1rem;
    }
    
    header {
        padding: 15px 10px;
    }
    
    .main-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .slideshow-container {
        padding: 10px 5px;
        flex: 1;
    }

    .slides-wrapper {
        height: calc(100vh - 180px);
        max-height: 60vh;
        border-radius: 15px;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
    }

    .nav-btn svg {
        width: 20px;
        height: 20px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }

    .slide-content {
        display: none;
    }

}

@media (min-width: 1400px) {
    .slides-wrapper {
        height: 80vh;
        max-height: 900px;
    }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #4ecdc4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fullscreen .slideshow-container {
    max-width: 100%;
    padding: 0;
}

.fullscreen .slides-wrapper {
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
}

.fullscreen header {
    display: none;
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.slide-in-right {
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}