﻿.navi_ul_fond::before {
    display: none;
}

.pctvar_placement {
    display: flex;
    width: 71vw;
    min-width: fit-content;
    justify-content: center;
}

#game_list_container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11vw, 1fr));
    gap: 1.25vw;
    width: 43vw;
    padding: 0.5vw 0;
    margin-top: 2vw;
    /*workinprogress height*/
}

.game-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
    /*border: 1px solid rgba(255, 255, 255, 0.08);*/
    border: 1px solid rgb(0 0 0 / 22%); border-radius: 1vw;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 1vw rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor:pointer;
}

    .game-card:hover {
        transform: translateY(-0.5vw) scale(1.02);
        background: rgba(180, 60, 120, 0.08);
        border-color: rgba(200, 80, 140, 1);
        box-shadow: 0 1vw 3vw rgba(0, 0, 0, 0.3), 0 0 2vw rgba(180, 60, 120, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

.game-thumbnail {

    height: 15vh;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.game-card:hover .game-thumbnail {
    transform: scale(1.05);
}

.game-title {
    font-family: 'dyna_s_font';
    font-size: max(12px, 0.78vw);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.833vw 0.833vw 0.938vw;
    text-align: center;
    line-height: 1.35;
    letter-spacing: 0.016vw;
    transition: color 0.3s ease;
    position: relative;
}

.game-card:hover .game-title {
    color: rgba(255, 255, 255, 0.95);
}

.detail-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width:44.5vw;
    /*background: linear-gradient(160deg, #2a103ee6 0%, #0a0510e6 100%);*/ /*les e6 a la fin des hexcode c'est du transparent 0.9*/
    /*background: linear-gradient(160deg, #00d8ff 0%, #00002e 100%);*/
    background: repeating-linear-gradient( to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 2px, transparent 4px ), 
        linear-gradient(160deg, #00d8ff 0%, #00002e 100%);
    clip-path: url(#panel-clip);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
    overflow-y: auto;
}

.detail-panel.active {
    transform: translateX(0);
}

.panel-close {
    position: absolute;
    top: 1.2vw;
    right: 1.2vw;
    width: 2vw;
    height: 2vw;
    border: 1px solid rgb(218, 180, 29);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #a8e0c8;
    font-size: max(10px,1vw);
    cursor: pointer;
    z-index: 3;
}

.panel-close:hover {
    background: rgba(200, 80, 140, 0.2);
    border-color: #c04080;
    color: #fff;
}

#open_plot_button {
    position: absolute;
    top: 1.4vw;
    left: 4.5vw;
    width: 2.5vw;
    height: 2.5vw;
    border: 1px solid rgb(218, 180, 29);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #a8e0c8;
    cursor: pointer;
    z-index: 3;
    font-size: max(10px, 1.5vw);
}

    #open_plot_button:hover {
        background: rgba(200, 80, 140, 0.2);
        border-color: #4158d3;
        color: #4864c1;
    }

/* --- Partie Img du panel --- */
.bl-img-section {
    position: relative;
    width: 100%;
    min-height: 33.333vh;
    overflow: hidden;
    margin-top: 6vh;
}

.bl-img-placeholder {
    display: flex;
    background: linear-gradient(135deg, #1a0a2a, #2a1040);
    color: rgba(255,255,255,0.2);
    font-family: 'dyna_s_font';
    font-size: max(10px, 1vw);
    margin-left: auto;
    margin-right: 0.5vw;
    border-radius: 7.5vw;
    width: 29.167vw;
}

.bl-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.6vw 1.5vw 1.5vw;
    background: linear-gradient(transparent, rgba(10,5,16,0.95));
    pointer-events: none;
}

.bl-img-title {
    font-family: 'dyna_s_font';
    font-size: max(10px, 1.35vw);
    color: #f0e6ff;
    text-shadow: 0 0.1vw 0.5vw rgba(0,0,0,0.6);
    width: 21vw;
    margin: auto;
    word-break: break-all;
    padding-left: 14.7vw;
    text-align: center;
}

.bl_description {
    padding: 0.78vw 1.56vw 3.13vw;
    margin-left: 12vw;
}

.show_plot {
    font-family: 'dyna_s_font';
    font-size: max(10px, 0.73vw);
    color: #9492e7;
    text-decoration: underline;
    cursor: pointer;
}

#bluesnote {
    font-family: 'dyna_s_font';
    font-size: max(12px, 1vw);
    color: #c8a0e0;
    margin: 1vw 0 0 15vw;
}

.bl_description p {
    font-size: max(12px, 0.75vw);
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin: 0;
}

.panel-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5vw;
    margin-top: 1vw;
    padding-top: 1vw;
    border-top: 0.19vh solid rgb(49 174 216 / 70%);
}

.link-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.9vh 1vw;
    border-radius: 8px;
    font-family: 'dyna_s_font';
    font-size: max(12px, 0.68vw);
    text-decoration: none;
}

    .link-btn.dlsite {
        background: rgba(200,60,80,0.5);
        color: #f08090;
    }

        .link-btn.dlsite:hover {
            background: rgba(200,60,80,0.8);
            color: #ffa0b0;
        }

    .link-btn.download {
        background: rgba(60,160,100,0.5);
        color: #80d0a0;
    }

        .link-btn.download:hover {
            background: rgba(60,160,100,0.8);
            color: #a0f0c0;
        }

    .link-btn.kofi {
        background: rgba(80,140,200,0.5);
        color: #90b0e0;
    }

        .link-btn.kofi:hover {
            background: rgba(80,140,200,0.8);
            color: #b0d0ff;
        }


/* --- Partie plot --- */
.plot-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

    .plot-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.plot-panel {
    position: fixed;
    top: 0;
    right: 29.5vw;
    width: 43vw;
    height: 100vh;
    background:
    /*repeating-linear-gradient( to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1) 1px, transparent 2px, transparent 4px ), */
    linear-gradient(160deg, #10acc8 0%, #00002e 100%);
    border-right: 1px solid rgba(180, 80, 140, 0.2);
    border-left: 1px solid rgba(180, 80, 140, 0.25);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 999;
    overflow-y: auto;
    visibility: hidden;
}

    .plot-panel.active {
        transform: translateX(0);
        visibility: visible;
    }

.plot-inner {
    padding: 5.86vw 3.13vw 2vw 2vw;
    width: 34.48vw;
    max-height: 52.5vh;
    overflow: auto;
}

.plot-heading {
    font-family: 'dyna_s_font';
    font-size: max(12px, 1.15vw);
    color: #c8a0e0;
    margin: 0 0 1.48vh;
    -webkit-text-stroke: 1px black;
    text-stroke: 1px black;
}

.plot-inner p {
    font-size: max(12px, 0.73vw);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0;
}

.plot-panel .panel-close {
    top: 1.67vh;
    left: 1vw;
    right: auto;
}

/*-- input de recherche --*/
.game-search-input {
    display: block;
    width: 100%;
    max-width: 25vw;
    margin: 1.5vw auto 0;
    padding: 0.6vw 1vw;
    font-family: 'dyna_s_font';
    font-size: max(12px, 0.83vw);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgb(91 77 175 / 30%);
    border-radius: 0.5vw;
    box-sizing: border-box;
    backdrop-filter: blur(4px);
}

    .game-search-input::placeholder {
        color: rgba(255, 255, 255, 0.8);
    }
    .game-search-input:focus {
        border: 1px solid rgb(91 77 175 / 30%) !important;
    }

