/* ============================================================================
   REM-BASED VIEWPORT SYSTEM
   ============================================================================
   
   Mobile:  32rem canvas  = 320-639px viewport (10px base at 320px)
   Tablet:  64rem canvas  = 640-1279px viewport (10px base at 640px)
   Desktop: 128rem canvas = 1280px+ viewport (10px base at 1280px)
   
   Everything automatically scales proportionally to viewport!
   Write once (e.g., width: 10rem), works perfectly everywhere.
   
   ============================================================================ */

/* Mobile: 32rem canvas - Perfect for 320-639px screens */
@media (max-width: 639px) {
    html {
        font-size: 3.125vw;
        /* 10px at 320px, scales to 20px at 640px */
    }
}

/* Tablet: 64rem canvas - Perfect for 640-1279px screens */
@media (min-width: 640px) and (max-width: 1279px) {
    html {
        font-size: 1.5625vw;
        /* 10px at 640px, scales to 20px at 1280px */
    }
}

/* Desktop: 128rem canvas - Perfect for 1280px+ screens */
@media (min-width: 1280px) {
    html {
        font-size: 0.78125vw;
        /* 10px at 1280px, scales to 30px at 3840px */
    }
}

/* Optional: Cap max size for ultra-wide displays */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
        /* 2x scale at 2K */
    }
}

@media (min-width: 3840px) {
    html {
        font-size: 30px;
        /* 3x scale at 4K */
    }
}

/* ============================================================================
   GLOBAL STYLES
   ============================================================================
*/
* {
    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, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.98);
    border-bottom: 0.2rem solid #FFA500;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.8);
    gap: 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.logo-icon {
    height: 4rem;
    width: auto;
    filter: drop-shadow(0 0.2rem 1rem rgba(255, 165, 0, 0.5));
}

.logo-text {
    display: block;
    width: 9rem;
    height: 4.5rem;
    background: url('img/rockers-logo.png') center/contain no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    filter: drop-shadow(0 0.2rem 1rem rgba(255, 23, 68, 0.5));
    background-position: left;
}

.header-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.tagline {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.stats {
    color: #666;
    font-size: 0.85rem;
    white-space: nowrap;
}

.expo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.15), rgba(255, 165, 0, 0.05));
    border: 2px solid rgba(255, 165, 0, 0.4);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.3);
}

.expo-link:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.25), rgba(255, 165, 0, 0.15));
    border-color: rgba(255, 165, 0, 0.6);
    transform: translateY(-0.1rem);
    box-shadow: 0 0.3rem 0.8rem rgba(0, 0, 0, 0.4);
}

.expo-logo {
    height: 3rem;
    width: auto;
    filter: drop-shadow(0 0 0.5rem rgba(255, 165, 0, 0.3));
}

.expo-cta {
    color: #FFA500;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.header a[target="_blank"] {
    color: #888;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header a[target="_blank"]:hover {
    color: #FFA500;
}

.container {
    flex: 1;
    padding: 4rem;
    overflow-y: auto;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.album-card {
    background: rgba(20, 20, 20, 0.8);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 165, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.album-card:hover {
    border-color: #FFA500;
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 165, 0, 0.4),
        0 0 20px rgba(255, 23, 68, 0.3);
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    object-fit: cover;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
}

.album-info {
    padding: 1rem;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.9));
}

.album-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.album-artist {
    color: #FFA500;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.album-year {
    color: #666;
    font-size: 0.9rem;
}

.player-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(20, 20, 20, 0.6);
    border-radius: 4px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    flex-shrink: 0;
    min-width: 300px;
}

.player-icon {
    font-size: 1.5rem;
    color: #FFA500;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.player-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-subtitle {
    font-size: 0.75rem;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.empty-state h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #999;
}

.empty-message {
    margin-top: 1rem;
    color: #666;
}

.link {
    color: #FFA500;
    text-decoration: none;
    font-weight: 600;
}

.link:hover {
    color: #FF1744;
    text-decoration: underline;
}

/* ============================================================================
   RESPONSIVE LAYOUT - 32rem Canvas (Mobile: 320-639px)
   ============================================================================ */
@media (max-width: 639px) {
    .header {
        padding: 1rem;
        gap: 1rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-icon {
        height: 3rem;
    }

    .logo-text {
        width: 10rem;
        height: 3rem;
    }

    .header-info {
        order: 3;
        width: 100%;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .tagline {
        font-size: 0.7rem;
        letter-spacing: 0.1rem;
    }

    .stats {
        font-size: 0.75rem;
    }

    .player-mini {
        min-width: auto;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .player-icon {
        font-size: 1.25rem;
    }

    .player-title,
    .player-subtitle {
        font-size: 0.7rem;
    }

    .container {
        padding: 0.5rem;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
        gap: 0.75rem;
    }
}

/* ============================================================================
   RESPONSIVE LAYOUT - 64rem Canvas (Tablet: 640-1279px)
   ============================================================================ */
@media (min-width: 640px) and (max-width: 1279px) {
    .header {
        padding: 1rem 1.25rem;
        gap: 1.5rem;
    }

    .logo-icon {
        height: 3.5rem;
    }

    .logo-text {
        width: 12rem;
        height: 3.5rem;
    }

    .header-info {
        gap: 1.5rem;
    }

    .tagline {
        font-size: 0.75rem;
        letter-spacing: 0.15rem;
    }

    .stats {
        font-size: 0.8rem;
    }

    .player-mini {
        min-width: 20rem;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
        gap: 0.875rem;
    }
}


/* from the old side */
.row {
    border-bottom: 1px solid rgba(0, 0, 0, 0.9);
}

.logoset {
    padding-top: 2rem;
    padding-left: 2rem;
    background: rgb(35, 39, 49);
    color: #fff;
}

.logoset a {
    color: #fabd2c;
}

.logoset>.w1o3 {
    width: calc((100% - 7rem) / 3);
    margin-right: 2rem;
    display: inline-block;
}

.msfsfh {
    height: 30rem;
}

.msfsfh .logo {
    background-color: #61299f;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("./img/MS_Startups_Celebration_Badge_Dark.png");
    height: 18.4rem;
    margin-bottom: 2.6rem;
    border-radius: 2rem;
}

.redbrick {
    height: 30rem;
}

.redbrick .logo {
    background: #f2400f;
    background-image: url(./img/redbrick-logo-nega.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    height: 18.4rem;
    margin-bottom: 2.6rem;
    border-radius: 2rem;
}

.pirkyr {
    height: 30rem;
}

.pirkyr .logo {
    background: #e6e6e6;
    background-image: url(./img/yblogo.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    height: 18.4rem;
    margin-bottom: 2.6rem;
    border-radius: 2rem;
}

.headline {
    background: rgb(35, 39, 49);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.headline h4 {
    font-family: 'Barlow';
    font-weight: normal;
    padding: 4rem;
    position: relative;
    z-index: 1;
}

.headline h4 .rockers_im {
    display: block;
    width: 32rem;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8rem 100%);
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    background-image: url('img/rockers_im.jpg');
}

#footer {
    background: #141b21;
    color: #fff;
}

#footer .dv-network-dropdown {
    width: auto;
}