body {
    font-family: 'Roboto Condensed';
    color: white;
    margin: 0;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: white;
}

/* ============================================
   BASE - MOBILE FIRST
   ============================================ */

.bar {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, #014a8a00, #075dab, #014a8a00);
    display: flex;
    margin: 30px auto;
}

.container-head {
    height: 110px;
    width: 100%;
}

.content-head {
    width: 100%;
}

.head-title {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-family: 'Oswald';
    text-transform: uppercase;
}

.container {
    display: block;
    width: 100%;
    margin: 50px auto 100px;
}

#output {
    display: inline-flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* ============================================
   CARTE MODE V1
   ============================================ */

.map-card {
    margin: 10px;
    width: 425px;
    height: 100px;
    position: relative;
    box-shadow: 0 0 0 2px black;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.map-banner {
    width: 100%;
    height: 100%;
    display: flex;
    margin: auto;
    overflow: hidden;
}

.map-banner-img {
    width: 101%;
    height: 100%;
    display: flex;
    margin: auto 2px 0 -2px;
}

.map-details {
    width: 100%;
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background-color: rgb(0, 0, 0, 0.4);
}

.map-details-texts {
    display: block;
    width: 100%;
    padding: 5px 0 5px 5px;
    background: linear-gradient(90deg, rgba(3, 3, 3, 1) 80%, rgba(0, 0, 0, 0) 100%);
}

.map-details-type {
    display: flex;
    margin-top: 5px;
    text-align: left;
    text-transform: uppercase;
    font-size: 17px;
    font-family: 'Lilita One';
    font-weight: 200;
    height: 20px;
    text-wrap-mode: nowrap;
}

.map-details-name {
    text-align: left;
    font-family: 'Lilita One';
    font-weight: 200;
    font-size: 13px;
    display: flex;
}

.map-timer-text {
    width: 100%;
    text-align: left;
    font-size: 12px;
    font-family: 'Lilita One';
    color: rgb(231, 231, 231);
}

.map-informations {
    display: flex;
    justify-content: right;
    flex-flow: row wrap;
    width: 100%;
}

.map-mods {
    width: 100%;
    display: flex;
    margin: auto 0 auto auto;
    flex-flow: row wrap;
    justify-content: right;
}

.map-mods-img {
    width: 30px;
    height: 30px;
    margin: 10px;
}

.map-more-informations {
    display: flex;
    margin: auto 5px 5px;
    width: auto;
    height: auto;
    border-radius: 10px !important;
    background-color: #1354D1 !important;
}

.map-more-informations-text {
    display: flex;
    text-align: center;
    text-wrap-mode: nowrap;
    margin: auto;
    padding: 5px 15px;
    font-size: 10px;
    text-transform: uppercase;
}

/* ============================================
   CARTE MODE V2
   ============================================ */

.map-card-v2 {
    margin: 10px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 0 0 2px black;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    background-color: rgb(0 0 0 / 70%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-card-v2:hover {
    /* transform: translateY(-2px); */
    box-shadow: 0 0 0 2px black, 0 8px 20px rgba(0, 0, 0, 0.4);
}

.map-card-v2:active {
    transform: scale(0.98);
}

.map-card-v2-banner {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
}

.map-card-v2-banner-img {
    width: 101%;
    height: 100%;
    object-fit: cover;
    margin: 0 -2px;
}

.map-card-v2-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgb(0 0 0 / 90%) 0%, rgb(0 0 0 / 40%) 50%, transparent 100%);
}

.map-card-v2-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    margin-top: -30px;
    position: relative;
    z-index: 1;
}

.map-card-v2-info {
    flex: 1;
}

.map-card-v2-mode-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: #1354D1;
    border-radius: 6px;
    font-size: 10px;
    font-family: 'Lilita One';
    text-transform: uppercase;
    color: white;
    margin-bottom: 6px;
}

.map-card-v2-name {
    font-size: 18px;
    font-family: 'Lilita One';
    font-weight: 200;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.map-card-v2 .map-timer-text {
    color: #4CD60B;
    margin: 0;
    width: auto;
}

.map-card-v2-timer-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-card-v2-timer-icon {
    color: #4CD60B;
    flex-shrink: 0;
}

.map-card-v2-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-card-v2-mods {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.map-card-v2-mods img {
    width: 28px;
    height: 28px;
}

.map-card-v2-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(19, 84, 209, 0.3);
    border-radius: 8px;
    color: white;
    transition: background-color 0.2s ease;
}

.map-card-v2:hover .map-card-v2-arrow {
    background-color: #1354D1;
}

/* ============================================
   REVIEW - MOBILE
   ============================================ */

.map-review {
    display: none;
    width: 100%;
    margin: 30px auto 100px;
}

.map-review-loading {
    display: flex;
    margin: auto;
    width: 80px;
}

.map-review-bigContainer {
    width: 100%;
}

.map-review-content {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
}

.close-map-review {
    width: 120px;
    display: flex;
    align-items: center;
    margin: 25px 0 25px 10px;
    box-shadow: 0 0 0 1px transparent !important;
    background-color: transparent !important;
}

.close-map-review img {
    width: 40px;
}

.close-map-review-text {
    display: flex;
    margin: auto;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    color: white !important;
}

.map-review-filters-brawlers {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 10px;
}

.map-review-filter-brawlers {
    display: flex;
    align-items: center;
    border-radius: 10px !important;
    height: 40px;
    width: 250px;
    background-color: #1354D1 !important;
}

.map-review-filter-brawlers p {
    padding: 5px 0 5px 10px;
    width: 100%;
}

.map-review-filter-brawlers img {
    display: flex;
    margin: auto 10px auto auto;
    width: 20px;
}

.map-review-brawlers {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin: 30px auto 0 auto;
}

.map-review-brawler {
    display: flex;
    flex-flow: row wrap;
    width: 110px;
    min-height: 185px;
    margin: 10px auto;
    background-color: rgb(14 19 29);
    border-radius: 15px;
    outline: 1px solid black;
    overflow: hidden;
}

.map-review-brawler-icon {
    width: 100%;
    position: relative;
}

.map-review-brawler-img {
    width: 100%;
}

.map-review-brawler-name {
    position: absolute;
    left: 5px;
    right: 0;
    bottom: 5px;
    height: 20px;
    margin: 0;
    font-size: 15px;
    font-family: 'Lilita One';
    text-transform: uppercase;
    text-shadow: 0 2.5px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    text-align: left;
}

.map-review-brawler-details {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    padding: 0 5px;
}

.map-review-brawler-rate,
.map-review-brawler-usage {
    width: 100%;
    display: flex;
    justify-content: left;
    align-items: center;
    height: 30px;
    margin: 0;
}

.map-review-brawler-usage-title,
.map-review-brawler-rate-title {
    font-family: 'Lilita One';
    font-weight: 200;
    font-size: 12px;
    text-align: left;
    color: rgb(255 255 255 / 70%);
    display: flex;
}

.map-review-brawler-usage-value,
.map-review-brawler-rate-value {
    font-size: 12px;
    font-family: 'Lilita One';
    margin: auto 0 auto auto;
    color: #00c000;
}

.map-review-brawler-usage-slider,
.map-review-brawler-rate-slider {
    width: 100%;
    height: 10px;
    display: flex;
    flex-flow: row wrap;
    justify-content: left;
    align-items: center;
    border-radius: 15px;
}

.map-review-brawler-usage-slider {
    background-color: #4CD60B;
}

.map-review-brawler-rate-slider {
    background-color: #0B80D6;
}

.map-review-brawler-usage-slide,
.map-review-brawler-rate-slide {
    display: flex;
    margin: auto 2px;
    height: 70%;
    border-radius: 15px;
}

.map-review-brawler-usage-slide {
    background-color: #00000080;
}

.map-review-brawler-rate-slide {
    background-color: #00000080;
}

/* ============================================
   NOUVEL EN-TÊTE MAP - MOBILE
   ============================================ */

.map-header-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 10px 24px;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-header-top {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgb(0 0 0 / 70%);
    box-shadow: 0 0 0 2px black;
}

.map-header-banner-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.map-header-banner-img {
    width: 101%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0 -2px;
}

.map-header-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgb(0 0 0 / 90%), transparent);
}

.map-header-info {
    padding: 0 15px 15px;
    margin-top: -35px;
    position: relative;
    z-index: 1;
}

.map-header-mode-tag {
    display: inline-block;
    padding: 5px 12px;
    background-color: #1354D1;
    border-radius: 8px;
    font-size: 11px;
    font-family: 'Lilita One';
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    margin-bottom: 8px;
    box-shadow: 0 0 0 1px black;
}

.map-header-title {
    font-size: 24px;
    font-family: 'Lilita One';
    font-weight: 200;
    color: white;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    text-shadow: 0 2.5px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    line-height: 1.2;
}

.map-header-description {
    font-size: 13px;
    font-family: 'Roboto Condensed';
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

.map-header-timing {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 0 0 2px black;
}

.map-header-dates {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-header-date-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-header-date-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(76, 214, 11, 0.2);
    border-radius: 10px;
    color: #4CD60B;
    flex-shrink: 0;
}

.map-header-date-icon-end {
    background-color: rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
}

.map-header-date-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-header-date-label {
    font-size: 10px;
    font-family: 'Lilita One';
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-header-date-value {
    font-size: 14px;
    font-family: 'Lilita One';
    color: white;
}

.map-header-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(19, 84, 209, 0.3), rgba(19, 84, 209, 0.15));
    border-radius: 10px;
    border: 1px solid rgba(19, 84, 209, 0.5);
}

.map-header-countdown-label {
    font-size: 13px;
    font-family: 'Lilita One';
    color: rgba(255, 255, 255, 0.8);
}

.map-header-countdown-value {
    font-size: 13px;
    font-family: 'Oswald';
    font-weight: 700;
    color: #4CD60B;
    letter-spacing: 2px;
}

.map-header-countdown-value.countdown-finished {
    color: #ff4d4d;
}

.map-header-map-section {
    display: flex;
    justify-content: center;
}

.map-header-map-container {
    position: relative;
    width: 100%;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 15px;
    padding: 12px;
    box-shadow: 0 0 0 2px black;
}

.map-header-map-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* ============================================
   RESPONSIVE - TABLETTE (600px+)
   ============================================ */

@media (min-width: 600px) {
    .map-header-new {
        margin: 0 20px 24px;
    }

    .map-header-dates {
        flex-direction: row;
        justify-content: space-around;
    }

    .map-header-date-item {
        flex: 1;
        justify-content: center;
    }

    .map-header-title {
        font-size: 28px;
    }

    .map-card-v2 {
        max-width: 450px;
    }
}

/* ============================================
   RESPONSIVE - PETIT PC (768px+)
   ============================================ */

@media (min-width: 768px) {
    .map-header-top {
        display: flex;
        flex-direction: row;
    }

    .map-header-banner-container {
        width: 250px;
        height: auto;
        min-height: 160px;
        flex-shrink: 0;
    }

    .map-header-banner-overlay {
        width: 100px;
        height: 100%;
        top: 0;
        left: auto;
        right: 0;
        background: linear-gradient(to left, rgb(0 0 0 / 90%), transparent);
    }

    .map-header-info {
        margin-top: 0;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .map-header-timing {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
    }

    .map-header-dates {
        gap: 30px;
    }

    .map-header-countdown {
        flex-shrink: 0;
        padding: 12px 20px;
    }

    .map-header-map-container {
        max-width: 450px;
    }
}

/* ============================================
   RESPONSIVE - GRAND PC (1200px+)
   ============================================ */

@media (min-width: 1200px) {

    /* Container et output */
    #output {
        margin: 50px 0 auto;
        gap: 20px;
    }

    /* ============================================
       CARTE MODE V2 - PC
       ============================================ */

    .map-card-v2 {
        max-width: 500px;
        margin: 10px;
        border-radius: 20px;
    }

    .map-card-v2-banner {
        height: 100px;
    }

    .map-card-v2-content {
        padding: 15px 20px;
        margin-top: -35px;
    }

    .map-card-v2-mode-tag {
        font-size: 11px;
        padding: 5px 12px;
    }

    .map-card-v2-name {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .map-card-v2 .map-timer-text {
        font-size: 13px;
    }

    .map-card-v2-timer-container {
        gap: 8px;
    }

    .map-card-v2-timer-icon {
        width: 16px;
        height: 16px;
    }

    .map-card-v2-mods img {
        width: 32px;
        height: 32px;
    }

    .map-card-v2-arrow {
        width: 38px;
        height: 38px;
    }

    .map-card-v2-arrow svg {
        width: 22px;
        height: 22px;
    }

    /* ============================================
       EN-TÊTE MAP - PC
       ============================================ */

    .map-header-new {
        display: grid;
        grid-template-columns: 1fr 400px;
        grid-template-rows: auto auto;
        grid-template-areas:
            "top map"
            "timing map";
        max-width: 1400px;
        margin: 0 auto 30px;
        padding: 0 40px;
        gap: 25px;
    }

    .map-header-top {
        grid-area: top;
    }

    .map-header-timing {
        justify-content: space-evenly;
        grid-area: timing;
        flex-direction: column;
        gap: 15px;
    }

    .map-header-map-section {
        grid-area: map;
        grid-row: 1 / 3;
    }

    .map-header-banner-container {
        width: 300px;
        min-height: 180px;
    }

    .map-header-info {
        padding: 25px 30px;
    }

    .map-header-mode-tag {
        font-size: 12px;
        padding: 6px 14px;
    }

    .map-header-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .map-header-description {
        font-size: 14px;
        line-height: 1.6;
    }

    .map-header-dates {
        flex-direction: row;
        justify-content: flex-start;
        gap: 40px;
    }

    .map-header-date-item {
        justify-content: flex-start;
    }

    .map-header-date-icon {
        width: 42px;
        height: 42px;
    }

    .map-header-date-label {
        font-size: 11px;
    }

    .map-header-date-value {
        font-size: 15px;
        text-wrap-mode: nowrap;
    }

    .map-header-countdown {
        width: 100%;
        padding: 15px 25px;
    }

    .map-header-countdown-label {
        font-size: 14px;
    }

    .map-header-countdown-value {
        font-size: 16px;
    }

    .map-header-map-container {
        width: 100%;
        padding: 15px;
        position: sticky;
        top: 20px;
    }

    .map-header-map-img {
        margin: auto;
        height: 100%;
    }

    /* ============================================
       REVIEW - PC
       ============================================ */

    .map-review {
        width: 100%;
        margin-top: 70px;
    }

    .map-review-bigContainer {
        width: 70%;
        display: flex;
        margin: auto;
    }

    .map-review-content {
        display: block;
        width: 100%;
    }

    .close-map-review {
        display: flex;
        margin: 20px 0 30px 40px;
        width: 150px;
        height: 30px;
    }

    .close-map-review-text {
        font-size: 15px;
    }

    .map-review-filters-brawlers {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 40px;
    }

    .map-review-filter-brawlers {
        width: 280px;
        height: 45px;
    }

    .map-review-brawlers {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        margin: 30px auto 0 auto;
    }

    .map-review-brawler {
        width: 130px;
        min-height: 200px;
        margin: 10px;
    }

    .map-review-brawler-icon {
        border-radius: 15px;
        box-shadow: 0 0 0 2px black;
    }

    .map-review-brawler-name {
        font-size: 14px;
    }

    .map-review-brawler-details {
        margin: 5px auto 0 auto;
        background-color: #0e131d;
        border-radius: 10px;
        padding: 0 5px;
    }

    .map-review-brawler-rate,
    .map-review-brawler-usage {
        display: block;
    }

    .map-review-brawler-usage-title,
    .map-review-brawler-rate-title {
        margin: 5px auto;
        color: rgb(231 231 231 / 90%);
    }
}