html {
    overflow-x: hidden;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('fonts/brsonoma-regular-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('fonts/brsonoma-regularitalic-webfont.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('fonts/brsonoma-bold-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('fonts/brsonoma-bolditalic-webfont.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('fonts/brsonoma-black-webfont.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'BR Sonoma';
    src: url('fonts/brsonoma-blackitalic-webfont.woff2') format('woff2');
    font-weight: 900;
    font-style: italic;
}

body {
    margin: 0;
    background: #000000;
    color: #ffffff;
    font-family: 'BR Sonoma', 'Arial', sans-serif;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Scroll Top Button */
.scroll-top-btn {
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    padding: 6px 14px;
    border-radius: 20px;
    background: #7E24F5;
    color: #fff;
    border: none;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.home-link {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 12px;
    /* Big */
    font-weight: 700;
    /* Bold */
    color: #fff;
    /* White */
    text-decoration: none;
    text-transform: uppercase;
    font-style: italic;
    /* Match theme */
    z-index: 100;
    letter-spacing: 1px;
}

/* HEADER (SCROLL NATUREL) */
#top {
    /* Reduced height from 70vh to auto with padding to fit content tightly */
    min-height: 20vh;
    padding: 180px 0 0 0;
    /* Removed bottom padding to pull artists up */
    /* Further increased to clear logo visual */
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000000;
    /* Pure black, no gradient */
    text-align: center;
    border-bottom: none;
    z-index: 10;
    margin-bottom: -40px;
    /* Increased negative margin to pull zone further up */
}

#layout-spacer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 20;
    cursor: default;
}

.corner-logo {
    position: absolute;
    top: 0;
    left: 0;
    /* Moved to left */
    width: 250px;
    /* Increased size for background effect */
    height: auto;
    z-index: 1;
    /* Behind text */
    pointer-events: none;
    opacity: 1;
    /* Keep opaque or adjust if needed */
}

.title-wrapper {
    position: relative;
    z-index: 10;
    /* Above logo */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align text */
    text-align: left;
    padding-left: 20px;
    /* Added margin for mobile */
    width: 100%;
    /* Ensure it spans */
    box-sizing: border-box;
    /* Include padding in width */
}

.logo-img {
    width: 150px;
    margin-bottom: 20px;
    pointer-events: none;
}

/* If we don't have a logo image, use text/icon fallback */
.icon-fallback {
    font-size: 50px;
    margin-bottom: 20px;
}

h1 {
    font-size: 60px;
    margin: 0;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    font-weight: 900;
    font-style: italic;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    position: relative;
}

.header-surtitle {
    color: #2ecf6e;
    /* Less neon green */
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding-left: 2px;
}

#top {
    /* Existing top styles might need adjustment to align left if they are centered */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Currently centered? Screenshot looks centered-ish but text is left aligned relative to itself? */
    /* If the user wants it exactly like screenshot, it looks like valid HTML text. */
}

.magic-i {
    position: relative;
    display: inline-block;
    letter-spacing: 0;
    margin-right: 0;
    /* Removed margin that was pushing the 'A' away */
}

.magic-i::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    /* Smaller */
    height: 3px;
    background-color: #ffffff;
    /* White and smaller */
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magic-i.active::after {
    opacity: 0.6;
    /* More discreet opacity when active */
}

.sub {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
    min-height: 15px;
    pointer-events: none;
}

/* LISTE */
.zone {
    background: #000000;
    padding-bottom: 50px;
    padding-top: 0;
    /* Minimized top padding */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.artist-card {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #222;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    /* Force full width (Single Column) */
    max-width: 100%;
    /* Ensure no overflow */
}

.touch-zone-a {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    z-index: 50;
    cursor: default;
}

.touch-zone-b {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 50;
    cursor: default;
}

.poster-frame {
    width: 280px;
    height: 380px;
    background: #111;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 4px solid #333;
    margin-bottom: 25px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #222;
    pointer-events: none;
}

.fallback-title {
    display: none;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    line-height: 1.5;
    background: #222;
    color: #fff;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.rank {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 2px;
    transition: all 0.3s;
}

h2 {
    margin: 0;
    font-size: 24px;
    text-align: center;
    max-width: 300px;
    color: #fff;
    font-weight: 800;
    line-height: 1.3;
    pointer-events: none;
    text-transform: uppercase;
}

.sign {
    color: #2ecf6e;
    /* Matched to .header-surtitle green */
    margin-top: 10px;
    font-size: 16px;
    opacity: 0.8;
    /* Slight transparency (20%) */
    font-style: italic;
    font-style: italic;
    /* Italics */
    transition: color 0.1s;
    min-height: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}