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

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

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

@keyframes fillBar {
    from { width: 0; }
    to { width: var(--target-width); }
}

.slide-in-item {
    opacity: 0;
}

.slide-in-item.in-view {
    animation: slideInFromBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.back-btn {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(-4px);
}

.back-btn svg {
    transition: transform 0.3s ease;
}

.back-btn:hover svg {
    transform: translateX(-3px);
}

.page-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
    max-width: 1000px;
}

.hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: 0.1em;
    line-height: 0.9;
    margin: 0 0 1rem;
    animation: slideInFromBottom 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.6;
    margin: 0 0 3rem;
    animation: fadeIn 1s ease-out 0.7s forwards;
    opacity: 0;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: #ffd700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
}

.collaborations-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem 4rem;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 6rem 0;
}

.collab-section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.section-logo.ovo-logo {
    height: 80px;
    filter: brightness(0) invert(1);
}

.section-eyebrow {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.08em;
    margin: 0 0 0.5rem;
    line-height: 1;
}

.section-subtitle {
    font-size: 1rem;
    opacity: 0.5;
    margin-top: 0.75rem;
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.collaborator-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.collaborator-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.collaborator-card.featured {
    border-color: rgba(255, 215, 0, 0.2);
}

.collaborator-card.featured:hover {
    border-color: rgba(255, 215, 0, 0.4);
}

.collab-visual {
    position: relative;
    overflow: hidden;
}

.collab-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collaborator-card:hover .collab-img {
    transform: scale(1.05);
}

.collab-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.collab-badge svg {
    width: 12px;
    height: 12px;
}

.collab-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.3rem 0.6rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.collab-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.collab-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.collab-role {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.collab-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.key-tracks {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tracks-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.tracks-label svg {
    color: #ffd700;
}

.tracks-list {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.5;
}

.joint-albums-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.joint-album-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.4s ease;
}

.joint-album-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-4px);
}

.album-visual {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.album-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.joint-album-card:hover .album-cover {
    transform: scale(1.05);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.joint-album-card:hover .album-overlay {
    opacity: 1;
}

.play-icon {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-icon svg {
    margin-left: 4px;
}

.joint-album-card:hover .play-icon {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.album-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.album-badge.ep {
    background: rgba(255, 255, 255, 0.9);
}

.album-content {
    padding: 1.5rem;
}

.album-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
}

.album-artists {
    display: block;
    color: #ffd700;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.album-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-bottom: 1rem;
}

.meta-dot {
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
}

.album-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0 0 1rem;
}

.album-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-track {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    opacity: 0.8;
}

.highlight-track svg {
    color: #ffd700;
}

.features-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.feature-era {
    margin-bottom: 3rem;
}

.era-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.era-icon {
    color: #ffd700;
}

.era-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: #ffd700;
}

.era-tracks {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-track {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.feature-track:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-track.highlight {
    border-color: rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.03);
}

.track-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.track-artist {
    font-size: 0.85rem;
    opacity: 0.6;
}

.track-year {
    font-size: 0.8rem;
    opacity: 0.4;
    letter-spacing: 0.1em;
}

.track-badge {
    padding: 0.3rem 0.6rem;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.ovo-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), transparent);
    padding: 4rem;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.ovo-artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.ovo-artist-card {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.ovo-artist-card:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.7);
}

.ovo-artist-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.ovo-artist-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.ovo-status {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
}

.ovo-artist-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0;
}

.stats-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-bar-row {
    margin-bottom: 1.5rem;
}

.stat-bar-row:last-child {
    margin-bottom: 0;
}

.stat-artist {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.artist-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.collab-count {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffd700;
}

.stat-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    width: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-fill.animated {
    width: var(--target-width);
}

.stats-banner {
    position: relative;
    margin-top: 4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.banner-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 5rem 4rem;
}

.banner-stat {
    text-align: center;
}

.banner-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #ffd700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.banner-label {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.page-footer {
    margin-top: 6rem;
    padding: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-footer .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem;
}

.footer-brand p {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 0;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.8rem;
    opacity: 0.6;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-legal {
    text-align: right;
}

.footer-legal p {
    font-size: 0.75rem;
    opacity: 0.4;
    margin: 0.3rem 0;
}

@media (max-width: 1200px) {
    .collaborations-container {
        padding: 0 2rem 3rem;
    }

    .collaborators-grid {
        grid-template-columns: 1fr;
    }

    .joint-albums-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ovo-artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .back-btn {
        top: 1rem;
        left: 1rem;
        padding: 0.75rem 1.25rem;
    }

    .back-btn span {
        display: none;
    }

    .page-hero {
        height: 70vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .hero-stats-row {
        flex-direction: column;
        gap: 2rem;
    }

    .collaborations-container {
        padding: 0 1.5rem 2rem;
    }

    .section-divider {
        margin: 4rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .collaborator-card {
        grid-template-columns: 1fr;
    }

    .collab-visual {
        height: 200px;
    }

    .joint-albums-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-track {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .track-year,
    .track-badge {
        justify-self: start;
    }

    .ovo-section {
        padding: 2rem;
    }

    .ovo-artists-grid {
        grid-template-columns: 1fr;
    }

    .banner-content {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2rem;
    }

    .page-footer {
        padding: 3rem 1.5rem;
    }

    .page-footer .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .footer-legal {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .back-btn {
        padding: 0.6rem 1rem;
    }

    .page-hero {
        height: 60vh;
        min-height: 350px;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-stat-number {
        font-size: 2.5rem;
    }

    .collaborations-container {
        padding: 0 1rem 2rem;
    }

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

    .collab-content,
    .album-content,
    .ovo-artist-card,
    .stats-container {
        padding: 1.5rem;
    }

    .era-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .banner-content {
        padding: 2.5rem 1.5rem;
    }

    .banner-number {
        font-size: 2rem;
    }

    .banner-label {
        font-size: 0.7rem;
    }
}

@media (hover: none) and (pointer: coarse) {
    .collaborator-card:hover,
    .joint-album-card:hover,
    .feature-track:hover,
    .ovo-artist-card:hover {
        transform: none;
    }

    .collaborator-card:active,
    .joint-album-card:active,
    .ovo-artist-card:active {
        transform: scale(0.98);
    }

    .album-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .slide-in-item {
        opacity: 1;
    }

    .hero-bg-image {
        animation: none;
    }

    .bar-fill {
        transition: none;
    }
}