/* The Boy Who Raved Series Page Styles */

/* Hero Section */
.raved-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(102, 126, 234, 0.2) 0%, var(--dark-bg) 70%);
    text-align: center;
    padding: 120px 20px 60px;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 0, 102, 0.03) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 255, 255, 0.03) 50%, transparent 70%);
    animation: heroBackgroundShift 15s ease infinite;
}

@keyframes heroBackgroundShift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(2deg); }
}

.series-badge {
    display: inline-block;
    background: var(--gradient-1);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    animation: pulse 2s ease infinite;
}

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

.series-title {
    font-size: 5rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #f5576c 50%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.series-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.series-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Series Progress */
.series-progress {
    max-width: 500px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
}

.progress-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Album Navigation */
.album-nav-section {
    padding: 60px 0;
    background: var(--dark-bg);
}

.album-selector {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.album-nav-btn {
    padding: 15px 30px;
    background: var(--card-bg);
    border: 2px solid transparent;
    border-radius: 15px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.album-nav-btn:hover:not(.disabled) {
    background: var(--gradient-1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.album-nav-btn.active {
    border-color: var(--primary-color);
    background: rgba(255, 0, 102, 0.1);
}

.album-nav-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.coming-soon-tag {
    display: block;
    font-size: 0.7rem;
    color: var(--secondary-color);
    margin-top: 3px;
}

/* Album Detail Section */
.album-detail {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(102, 126, 234, 0.03) 50%, var(--dark-bg) 100%);
}

.album-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.album-art-large {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.album-art-large img {
    width: 100%;
    height: auto;
    display: block;
}

.album-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1rem;
}

.album-header-info {
    padding-top: 20px;
}

.album-title {
    font-size: 3rem;
    margin-bottom: 10px;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.album-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-style: italic;
}

.album-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.meta-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.9rem;
}

.album-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.album-actions {
    display: flex;
    gap: 15px;
}

/* Tracklist */
.tracklist {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
}

.tracklist-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

.track-item {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    gap: 20px;
    align-items: start;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: pointer;
}

.track-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.track-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-secondary);
    padding-top: 5px;
}

.track-info {
    flex: 1;
}

.track-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
}

.track-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.track-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.track-genre,
.track-bpm,
.track-key {
    padding: 5px 12px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.track-bpm {
    background: rgba(245, 87, 108, 0.2);
}

.track-key {
    background: rgba(0, 255, 255, 0.2);
}

.track-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5);
}

/* Coming Soon Section */
.coming-soon-section {
    padding: 100px 0;
    background: var(--dark-bg);
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.coming-soon-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.coming-soon-card:hover {
    transform: translateY(-10px);
}

.coming-art {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(245, 87, 108, 0.3) 100%);
    border-radius: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.coming-number {
    position: absolute;
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.coming-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
    z-index: 2;
}

.coming-soon-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.coming-subtitle {
    color: var(--text-secondary);
    font-style: italic;
}

/* Series Info Section */
.series-info-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(245, 87, 108, 0.05) 50%, var(--dark-bg) 100%);
}

.series-info-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.info-column {
    padding: 30px;
    background: var(--card-bg);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.info-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.info-column h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.info-column p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .album-header {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .album-art-large {
        max-width: 400px;
        margin: 0 auto;
    }

    .track-item {
        grid-template-columns: 40px 1fr 50px;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .series-title {
        font-size: 3rem;
    }

    .series-subtitle {
        font-size: 1.2rem;
    }

    .album-selector {
        gap: 10px;
    }

    .album-nav-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .album-title {
        font-size: 2rem;
    }

    .album-subtitle {
        font-size: 1.2rem;
    }

    .tracklist {
        padding: 25px;
    }

    .track-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .track-number {
        display: inline-block;
        margin-right: 10px;
    }

    .track-play-btn {
        width: 100%;
        border-radius: 10px;
    }

    .coming-soon-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .series-title {
        font-size: 2rem;
    }

    .album-nav-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .album-meta {
        gap: 10px;
    }

    .meta-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .track-name {
        font-size: 1rem;
    }

    .track-description {
        font-size: 0.85rem;
    }
}

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

.album-detail {
    animation: fadeInUp 0.6s ease forwards;
}

.track-item {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
}

.track-item:nth-child(1) { animation-delay: 0.05s; }
.track-item:nth-child(2) { animation-delay: 0.1s; }
.track-item:nth-child(3) { animation-delay: 0.15s; }
.track-item:nth-child(4) { animation-delay: 0.2s; }
.track-item:nth-child(5) { animation-delay: 0.25s; }
.track-item:nth-child(6) { animation-delay: 0.3s; }
.track-item:nth-child(7) { animation-delay: 0.35s; }
.track-item:nth-child(8) { animation-delay: 0.4s; }
.track-item:nth-child(9) { animation-delay: 0.45s; }
.track-item:nth-child(10) { animation-delay: 0.5s; }
.track-item:nth-child(11) { animation-delay: 0.55s; }
