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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

/* Loading */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    text-decoration: none;
    display: block;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.5);
}

/* Music Player */
.music-player {
    margin-top: 30px;
    margin-bottom: 20px;
}

.player-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.play-btn.playing {
    background: rgba(255, 105, 180, 0.3);
    border-color: rgba(255, 105, 180, 0.5);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
}

.play-btn svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.play-btn:hover svg {
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.play-btn .pause-icon {
    display: none;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.progress-container {
    flex: 1;
    max-width: 280px;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.progress-bar:hover {
    background: rgba(255, 255, 255, 0.12);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 105, 180, 0.6), rgba(255, 20, 147, 0.8));
    border-radius: 2px;
    transition: width 0.1s linear;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 105, 180, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.progress-bar:hover .progress-fill::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Swiper */
.swiper {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
    height: 100%;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 0.5s ease;
}

.swiper-slide:hover .slide-bg {
    transform: scale(1.0);
}

.slide-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15%;
    padding-right: 5%;
    padding-top: 40px;
    padding-bottom: 40px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent 70%);
}

.text-container {
    margin-bottom: 40px;
}

.text-container h3 {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
    text-align: left;
}

.text-container .quote {
    font-size: 1.8rem;
    margin-top: 30px;
    padding: 20px 0 20px 30px;
    font-style: italic;
    border-left: 3px solid #ff69b4;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease 0.2s;
    text-align: left;
}

.swiper-slide-active .text-container h3 {
    opacity: 1;
    transform: translateX(0);
}

.swiper-slide-active .text-container .quote {
    opacity: 1;
    transform: translateX(0);
}

/* Slide Navigation */
.slide-navigation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
}

.pagination-dots {
    display: flex;
    gap: 10px;
}

.pagination-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dots .dot.active {
    background: #ff69b4;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Swiper */
    .swiper {
        height: 100vh;
        height: 100dvh;
    }
    
    /* Slide Content */
    .slide-content {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
    
    .text-container h3 {
        font-size: 1.5rem;
    }
    
    .text-container .quote {
        font-size: 1.2rem;
        padding: 15px 0 15px 20px;
    }
    
    /* Music Player */
    .music-player {
        margin-top: 20px;
        margin-bottom: 15px;
    }
    
    .play-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .play-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .progress-container {
        max-width: 200px;
    }
    
    .progress-bar {
        height: 5px;
    }
    
    /* Pagination Dots */
    .pagination-dots {
        gap: 12px;
    }
    
    .pagination-dots .dot {
        width: 14px;
        height: 14px;
        min-width: 14px;
        min-height: 14px;
    }
    
    /* Header */
    #header {
        padding: 10px 0;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .text-container h3 {
        font-size: 1.2rem;
    }
    
    .text-container .quote {
        font-size: 1rem;
    }
    
    .play-btn {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }
    
    .play-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .progress-container {
        max-width: 180px;
    }
    
    .pagination-dots .dot {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
    }
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-button-prev {
    left: 30px;
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    color: #fff;
}

.swiper-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #ff69b4;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .slide-content h3 {
        font-size: 1.8rem;
    }

    .slide-content .quote {
        font-size: 1.3rem;
        padding: 15px 25px;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

    .swiper-button-prev {
        left: 15px;
    }

    .swiper-button-next {
        right: 15px;
    }
}
