:root {
    --main-bg-color: #1b0a45; 
    --card-bg-blur: rgba(255, 255, 255, 0.08); 
}

body {
    background-color: var(--main-bg-color);
    color: white;
}

main {
    padding: 20px;
    position: relative;
}
.hero{
    padding-top: 1vh;
    height: 100vh;
    padding-left: -3vw;
    background-image: url("../images/background-index.jpg");
    background-size: cover;
    background-position: center;
}
.concerts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.concert-card {
    position: relative;
    width: 300px;
    height: 360px;
    border-radius: 18px;
    /* autorise le dépassement visuel de l'image */
    overflow: visible;
    background-color: var(--card-bg-blur);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; 
    z-index: 4;
    transform: translateY(-12px);
}

.card-background {
    position: absolute;
    /* remonter l'image au-dessus du carré et la réduire un peu */
    top: -12%;
    left: 50%;
    transform: translateX(-50%) scale(0.94);
    width: 112%;
    height: 68%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.78);
    z-index: 6;
    border-radius: 12px;
}

.card-content {
    position: relative;
    z-index: 60;
    padding: 20px;
    text-align: left;

    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.artist-name {
    font-size: 1.6em;
    margin: 0 0 5px 0;
    font-weight: bold;
    text-shadow: 1px 1px 3px #000;
}

.concert-date, .concert-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.concert-details-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.price-tag { /* removed - kept to avoid breaking other references temporarily */
    display: none;
}

.buy-icon {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pillule {
  width: 12vw;
  margin-top: 9vw;
  height:4vw;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 40px;
  z-index: 1;
  margin-left: 36vw;
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.164);
}

.play img {
    width: 5vw;
    height: 4vw;
    margin-left: 0.5vw;
}

.pause img {
    width: 5vw;
    height: 4vw;
    margin-left: 1vw;
}

.theodora {
    background-color: rgba(224, 0, 157, 0.774);
    height: 85vh;
    width: 100vw;
}
.theodora-img {
    border-radius: 80px;
    height: 33vw;
    margin-left: 7vw;
    margin-top: 5vw;   
}
.texture-background-theodora {
    height: 85vh;
    width: 100vw;
    position: absolute;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.3;
}

.box-info-theodora{
    color: white;
    margin-left: 15vw;
    margin-top: -27vw;
    position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 2vw;
    padding-bottom: 10vh;
    width: 45vw;
}
.title-theodora{
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: rgba(255, 0, 242, 0.151) 0.1em 0.1em 0.2em;
    margin-left: 4vw;
}
.top-info-theodora{
    font-size: 1.5em;
    text-shadow: rgb(211, 4, 211) 0.1em 0.1em 0.2em;  display: flex;
    margin-top: 10px;
    font-size: 0.6em;
    align-items: center;
    margin-left: 1vw;
}
.top-info-theodora p{
    font-size: 2em;
    margin-left: 5vw;
}
.top-info-theodora img{
    margin-left: 2vw;
    height: 2vw;
}
.droite-theodora{
    display: flex;
    align-items: center;
    margin-left: 1vw;
}
.text-theodora{
    font-size: 1vw;
    margin-left: 5vw;
    width: 30vw;
}












.Florent {
    background-color: #160d49a1;
    height: 85vh;
    width: 100vw;
}
.florent-img {
    border-radius: 80px;
    height: 33vw;
    margin-left: 7vw;
    margin-top: 5vw;   
}
.texture-background-florent {
    height: 85vh;
    width: 100vw;
    position: absolute;
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.5;
}

.box-info-florent{
    color: white;
    margin-left: 15vw;
    margin-top: -27vw;
    position: absolute;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
    border-radius: 100px;
    padding: 2vw;
    padding-bottom: 10vh;
    width: 45vw;
}
.title-florent{
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: rgba(0, 0, 0, 0.147) 0.1em 0.1em 0.2em;
    margin-left: 4vw;
}
.top-info-florent{
    font-size: 1.5em;
    text-shadow: rgba(49, 4, 211, 0.466) 0.1em 0.1em 0.2em;  display: flex;
    margin-top: 10px;
    font-size: 0.6em;
    align-items: center;
    margin-left: 1vw;
}
.top-info-florent p{
    font-size: 2em;
    margin-left: 2vw;
}
.top-info-florent img{
    margin-left: 2vw;
    height: 2vw;
}
.droite-florent{
    display: flex;
    align-items: center;
    margin-left: 1vw;
}
.text-florent{
    font-size: 1vw;
    margin-left: 5vw;
    width: 30vw;
}
.carre-transparent {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: calc(100% - 60px);
    max-width: 1400px;
    margin: 28px auto;
    padding: 40px;
    min-height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.45);
    color: white;
}

.concert-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.concert-card.highlight-latest{
    transform: translateY(-10px);
    z-index: 10;
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}


/* ne pas toucher */
.Card-artiste {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 2vw;
    width: 18vw;
    height: 40vh;
    align-items: center;
    margin-top: 4vh;
}
.Card-artiste a {
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    text-decoration: none;
    color: white;
    height: 100%; 
    box-sizing: border-box; 
    padding-bottom: 15px; 
}

.Card-artiste-content{
    padding: 1vw;
    text-align: center;
    z-index: 100;
    
}
.Artiste-image{
    margin-top: -7vw;
    padding: 1vw;
    justify-content: center;
    border-radius: 50px;
    width: 13vw;
    height: 13vw;
    z-index: 100;
}
.Card-artistes-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5vw;
    margin: 15vh 5vw;
    position: relative;
    z-index: 99;
}
.Date-creation{
    font-size: 1em;
    margin-top: 15px;
    z-index: 100;
}
.Artiste-nom{
    height: 4vh;
    font-size: 1.5em;
    font-weight: bold;
    margin-top: -1vh;
    margin-bottom: 9vh;
    z-index: 100;
}
.en-savoir-plus {
    display: flex;
    margin-top: -10vw;
    font-size: 1em;
    border-radius: 8px;
    text-align: center;
    width: 15vw;
    justify-content: center;
    margin-left: 1.5vw;
    z-index: 100;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    transition: all 0.3s ease;
}

.en-savoir-plus:hover {
    background-color: white;
    color: black;
    cursor: pointer;
}

.background-tickets {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.bg-ticket {
    position: absolute;
    width: 70vw;
    opacity: 0.8;
}

.ticket-1 {
    top: 5%;
    left: -5%;
    transform: rotate(-12deg);
}

.ticket-2 {
    top: 20%;
    right: -8%;
    transform: rotate(15deg);
}

.ticket-3 {
    top: 40%;
    left: 10%;
    transform: rotate(8deg);
}

.ticket-4 {
    top: 60%;
    right: 5%;
    transform: rotate(-10deg);
}

.ticket-5 {
    top: 75%;
    left: -2%;
    transform: rotate(18deg);
}

.ticket-6 {
    top: 90%;
    right: 12%;
    transform: rotate(-6deg);
}

.background-tickets.single-card-view .bg-ticket {
    display: none;
}

.background-tickets.single-card-view .ticket-1 {
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 60vw;
}


/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .pillule {
        position: absolute;
        top: calc(20vh + 55vw + 24px);
        left: calc(50% - 60px);
        width: 120px;
        height: 52px;
        margin: 0;
        justify-content: space-around;
        align-items: center;
    }

    .play img,
    .pause img {
        width: 44px;
        height: 36px;
        margin: 0;
    }

    .theodora,
    .Florent {
        position: relative;
        height: auto;
        padding: 32px 16px 40px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .texture-background-theodora,
    .texture-background-florent {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .theodora-img,
    .florent-img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        border-radius: 32px;
    }

    .box-info-theodora,
    .box-info-florent {
        position: static;
        box-sizing: border-box;
        width: auto;
        margin: -20px 12px 0;
        padding: 20px 20px 28px;
        border-radius: 28px;
    }

    .top-info-theodora,
    .top-info-florent {
        flex-direction: column;
        align-items: flex-start;
        margin: 0;
        font-size: 14px;
    }

    .title-theodora,
    .title-florent {
        font-size: 28px;
        margin: 0 0 8px;
    }

    .droite-theodora,
    .droite-florent {
        flex-wrap: wrap;
        margin-left: 0;
    }

    .top-info-theodora p,
    .top-info-florent p {
        font-size: 15px;
        margin: 0 6px 0 0;
    }

    .top-info-theodora img,
    .top-info-florent img {
        height: 16px;
        margin: 0 14px 0 0;
    }

    .text-theodora,
    .text-florent {
        font-size: 15px;
        line-height: 1.5;
        width: auto;
        margin: 12px 0 0;
    }

    .Card-artistes-container {
        gap: 48px 12px;
        margin: 64px 0 32px;
    }

    .Card-artiste {
        width: calc(50% - 6px);
        height: auto;
        border-radius: 20px;
        margin-top: 0;
    }

    .Card-artiste a { padding-bottom: 14px; }

    .Card-artiste-content { padding: 0 8px; }

    .Artiste-image {
        width: 72%;
        height: auto;
        aspect-ratio: 1;
        margin-top: -28px;
        padding: 0;
        border-radius: 24px;
        object-fit: cover;
    }

    .Artiste-nom {
        height: auto;
        font-size: 16px;
        margin: 8px 0 0;
    }

    .Date-creation {
        font-size: 13px;
        margin: 4px 0 0;
    }

    .en-savoir-plus {
        width: 80%;
        margin: 12px auto 0;
        padding: 6px 0;
        font-size: 12px;
    }
}
