/* -------------------------------------------------- */
/* GLOBAL CSS */
/* -------------------------------------------------- */

@font-face {
    font-family: 'Minecraftia';
    src: url('../font/Minecraftia-Regular.woff2') format('woff2'),
    url('../font/Minecraftia-Regular.woff') format('woff'),
    url('../font/Minecraftia-Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #00000038;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #212529;
}

body {
    overflow-x: hidden !important;
}

.vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

h2, h3 {
    font-family: 'Minecraftia', serif;
    font-weight: 800 !important;
}

a {
    text-decoration: none;
}

p {
    font-size: 16px;
}


/* -------------------------------------------------- */
/* MENU CSS */
/* -------------------------------------------------- */

#menu-main {
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0px 0px 26px 15px rgba(0, 0, 0, 0.1);
}

#menu-main a {
    color: white !important;
    font-family: 'Minecraftia', serif;
    font-size: 18px;
    filter: drop-shadow(0px 2px 8px black);
}

#menu-main img {
    max-width: 250px;
}

.navbar-light .navbar-toggler {
    color: white !important;
    border-color: transparent !important;
    background-color: #ffffff4a;
    border-radius: 5px;
}

.navbar>.container-fluid {
    padding-left: 0;
}

.collapse:not(.show) {
    display: none !important;
}

.sip {
    margin-bottom: 15px
}

@media screen and (max-width: 450px) {
    .navbar-brand img {
        width: 200px;
    }
}

/* -------------------------------------------------- */
/* BANNER CSS */
/* -------------------------------------------------- */
#banner {
    /*Want to change background image?*/
    /*Upload a new one to the img folder.*/
    /*Make sure you name it 'minecraft.jpg'*/
    background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.4)),
    url("../imgs/bg-italie-city.webp") no-repeat center center;
    background-size: cover;
    font-family: "Open Sans", Helvetica;
    margin: 0;
    position: relative;
    min-height: 100vh;
}
@media screen and (max-width: 450px) {
    #banner {
        min-height: 800px;
    }
}

.banner-bottom {
    position: absolute;
    top: 90%;
    width: 90%;
    left: 0;
    right: 0;
    margin: auto
}

.subtitle {
    font-family: 'Minecraftia', serif;
    color: #cfcfcf;
    font-size: 18px;
}

.title {
    font-family: 'Open Sans', serif;
    font-weight: bold;
    font-size: 25px;
    color: white;
}

a.btn-evil-corp {
    color: #e8e6e3;
    border-radius: 0px;
    font-size: 20px;
    font-family: 'Minecraftia', serif;
    padding-top: 15px;
    padding-bottom: 2px;
    transition: unset;
}
@media screen and (max-width: 450px) {
    a.btn-evil-corp {
        font-size: 16px;
        padding-bottom: 6px;
    }
}

a.btn-evil-corp:hover {
    color: #e8e6e3;
}

a.btn-evil-discord {
    box-shadow: inset 0px -6px 0 #4a56ad,
    inset 0px 6px 0 #6576ef;
    background: #5765DA;
    border: 3px solid #565cad;
}
a.btn-evil-discord:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), #5765DA;
}

a.btn-evil-map {
    box-shadow: inset 0px -6px 0 #449a41,
    inset 0px 6px 0 #68ea64;
    background: #57c254;
    border: 3px solid #50b64d;
}
a.btn-evil-map:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, .1)), #57c254;
}

a.btn-evil-more {
    box-shadow: inset 0px -6px 0 #7e7676,
    inset 0px 6px 0 #cdc1c1;
    background: #a29999;
    border: 3px solid #7a7373;
}
a.btn-evil-more:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, .1)), #a29999;
}

a.btn-evil-modrinth {
    box-shadow: inset 0px -6px 0 #13a050,
    inset 0px 6px 0 #3eff8b;
    background: #1bd96a;
    border: 3px solid #18c560;
}
a.btn-evil-modrinth:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, .1)), #1bd96a;
}

a.btn-evil-kofi {
    box-shadow: inset 0px -6px 0 #cc4a48,
    inset 0px 6px 0 #ff8f8d;
    background: #FF5E5B;
    border: 3px solid #e05452;
}
a.btn-evil-kofi:hover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, .1)), #FF5E5B;
}

/* -------------------------------------------------- */
/* DONATION CSS */
/* -------------------------------------------------- */

#donation {
    background:
        linear-gradient(to bottom, #000 0%, transparent 200px, transparent calc(100% - 200px), #000 100%),
        #0c0c0c;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Deepslate tile texture */
#donation::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 15px, rgba(255,255,255,0.013) 15px, rgba(255,255,255,0.013) 16px),
        repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(255,255,255,0.013) 15px, rgba(255,255,255,0.013) 16px);
    pointer-events: none;
}

#donation h3 {
    text-shadow: none;
}

.donation-card {
    background: #0c0c14;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.donation-card:hover {
    transform: translateY(-8px);
}

.donation-card--miner {
    border-color: rgba(165, 170, 185, 0.22);
}
.donation-card--miner:hover {
    box-shadow: 0 18px 50px rgba(140, 145, 165, 0.16);
}

.donation-card--architect {
    border-color: rgba(215, 125, 28, 0.3);
}
.donation-card--architect:hover {
    box-shadow: 0 18px 50px rgba(215, 125, 28, 0.22);
}

.donation-card--dragon {
    border-color: rgba(160, 90, 255, 0.28);
    box-shadow: 0 0 18px rgba(128, 52, 220, 0.1);
}
.donation-card--dragon:hover {
    transform: translateY(-10px);
    box-shadow: 0 14px 40px rgba(128, 52, 220, 0.18);
}

.donation-card--dragon::before {
    display: none;
}

.donation-card__header {
    padding: 28px 16px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-card__header--miner {
    background: linear-gradient(170deg, #2a2a36 0%, #16161e 100%);
    border-bottom: 2px solid rgba(175, 180, 200, 0.28);
}
.donation-card__header--miner::after {
    content: '';
    position: absolute;
    top: 0; left: -40%;
    width: 55%; height: 100%;
    background: linear-gradient(108deg, transparent, rgba(255,255,255,0.04), transparent);
    pointer-events: none;
}

.donation-card__header--architect {
    background: linear-gradient(170deg, #4e2206 0%, #1a0b02 100%);
    border-bottom: 2px solid rgba(255, 138, 38, 0.42);
}
.donation-card__header--architect::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; top: 0;
    background: radial-gradient(ellipse at 50% 140%, rgba(255, 118, 18, 0.18) 0%, transparent 65%);
    pointer-events: none;
}

.donation-card__header--dragon {
    background: linear-gradient(170deg, #381060 0%, #100826 100%);
    border-bottom: 2px solid rgba(176, 106, 255, 0.52);
}

@keyframes headerShimmer {
    0% { transform: translateX(-100%) skewX(-12deg); }
    100% { transform: translateX(320%) skewX(-12deg); }
}

.donation-card__header--dragon::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 32%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 136, 255, 0.06), transparent);
    animation: headerShimmer 5s ease-in-out infinite;
    pointer-events: none;
}

.donation-tier-icon {
    font-size: 42px;
    display: block;
    margin-bottom: 10px;
    filter: drop-shadow(0 3px 12px rgba(0,0,0,0.65));
    position: relative;
    z-index: 1;
}

.donation-tier-name {
    font-family: 'Minecraftia', serif;
    color: #fff;
    margin: 0;
    font-size: 17px;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1;
}

.donation-card--miner .donation-tier-name { color: #bec3d2; }
.donation-card--architect .donation-tier-name {
    color: #ffb462;
}
.donation-card--dragon .donation-tier-name {
    color: #c890ff;
}


.donation-perks {
    list-style: none;
    padding: 18px 20px;
    margin: 0;
    text-align: left;
    position: relative;
    z-index: 1;
}

.donation-perks li {
    padding: 8px 0;
    color: #b8b8c8;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.donation-perks li:last-child {
    border-bottom: none;
}

.donation-card--architect .donation-perks li { color: #c8c0b0; }
.donation-card--dragon .donation-perks li { color: #ccc4d8; }

.donation-badge-note {
    color: #66667a;
    font-size: 13px;
    margin-top: 20px;
    letter-spacing: 0.02em;
}

.donation-top-title {
    font-family: 'Minecraftia', serif;
    color: #ffd700;
    font-size: 17px;
    text-align: center;
    letter-spacing: 0.12em;
}

.donation-top-donors {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.donation-donor {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 52px 14px 18px;
    border-radius: 7px;
    border: 1px solid rgba(255,255,255,0.06);
    min-width: 300px;
    position: relative;
    overflow: hidden;
    transition: background 0.25s;
}

.donation-donor::after {
    font-family: 'Minecraftia', serif;
    font-size: 40px;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    line-height: 1;
}

.donation-donor:first-child {
    background: rgba(112, 55, 180, 0.045);
    border-color: rgba(160, 90, 255, 0.22);
}
.donation-donor:first-child::after {
    content: '01';
    color: rgba(160, 90, 255, 0.08);
}

.donation-donor:nth-child(2) {
    background: rgba(215, 125, 28, 0.04);
    border-color: rgba(215, 125, 28, 0.2);
}
.donation-donor:nth-child(2)::after {
    content: '02';
    color: rgba(215, 125, 28, 0.08);
}

.donation-donor__tier {
    font-size: 24px;
    flex-shrink: 0;
}

.donation-donor__name {
    font-family: 'Minecraftia', serif;
    color: #e0e0e8;
    font-size: 14px;
    padding-top: 14px;
    line-height: 1;
    flex: 1;
    text-align: left;
}

.donation-donor:first-child .donation-donor__name {
    color: #c890ff;
}

.donation-donor:nth-child(2) .donation-donor__name {
    color: #ffb462;
}

.donation-donor__info {
    color: #52526a;
    font-size: 12px;
    font-style: italic;
    padding-right: 4px;
}

.logo img {
    width: 600px;
    -webkit-animation-name: logo;
    animation-name: logo;
    -webkit-animation-duration: 5s;
    animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}
@media screen and (max-width: 500px) {
    .logo img {
        width: 350px;
    }
}
@media screen and (max-width: 400px) {
    .logo img {
        width: 300px;
    }
}

.dateYear, .dateDays {
    font-size: 32px;
}
@media screen and (max-width: 450px) {
    .dateYear, .dateDays {
        font-size: 28px;
    }
}

.playercount {
    display: inline-block;
    padding: 8px 14px;
    background-color: rgb(0 0 0 / 43%);
    font-size: 18px;
    color: white;
    margin-bottom: 25px;
    backdrop-filter: blur(3px);
    border-radius: 50px;
}

.playercount p {
    margin-bottom: 0;
}
.playercount > p > span {
    font-weight: bold;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.ip {
    cursor: pointer;
}
.extrapad {
    padding: 0;
}

a.cta-vision i {
    transition: all ease-in-out 0.3s;
}
a.cta-vision i:hover {
    transform: scale(1.3);
    -ms-transform: scale(1.3);
}

/* -------------------------------------------------- */
/* VISION CSS */
/* -------------------------------------------------- */
#vision {
    background: linear-gradient(
            rgba(255, 255, 255, 1),
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 0.7)
    ), url("../imgs/bg-paysage-neige-brouillard.webp") no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    padding: 80px 0 80px 0;
}

#vision .card {
    border: none;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    border-radius: 15px !important;
    gap: 20px;
    height: 100%;
    transition: transform ease-in-out 0.3s;
    cursor: pointer
}

#vision .card-title {
    font-family: 'Minecraftia', serif;
    font-size: 20px;
    font-weight: 600;
}

#vision .card-img-top,
#vision .card-img {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    min-height: 200px;
    object-fit: cover;
}

#vision .card:hover {
    transform: scale(1.05);
}

/* -------------------------------------------------- */
/* DATAPACK CSS (ACCUEIL) */
/* -------------------------------------------------- */

#datapack {
    min-height: 50vh;
    background-color: #0c0c0c;
    padding: 80px 0 40px 0;
}

#datapack .row>* {
    padding-top: 20px;
    padding-bottom: 20px;
}

.mySwiperDatapack,
.mySwiperIndexDatapack {
    width: 100%;
    height: 100%;
    min-height: 250px;
    margin-left: auto;
    margin-right: auto;
}

.mySwiperDatapack img,
.mySwiperIndexDatapack img {
    border-radius: 0px;
    height: 200px;
    object-fit: contain;
    width: 100%;
}

.mySwiperDatapack .swiper-pagination-bullet-active,
.mySwiperIndexDatapack .swiper-pagination-bullet-active {
    background: white;
}

.mySwiperDatapack .swiper-pagination-bullet,
.mySwiperIndexDatapack .swiper-pagination-bullet {
    border-radius: unset;
}

.mySwiperDatapack .swiper-horizontal>.swiper-pagination-bullets,
.mySwiperDatapack .swiper-pagination-bullets.swiper-pagination-horizontal,
.mySwiperDatapack .swiper-pagination-custom,
.mySwiperDatapack .swiper-pagination-fraction,
.mySwiperIndexDatapack .swiper-horizontal>.swiper-pagination-bullets,
.mySwiperIndexDatapack .swiper-pagination-bullets.swiper-pagination-horizontal,
.mySwiperIndexDatapack .swiper-pagination-custom,
.mySwiperIndexDatapack .swiper-pagination-fraction {
    bottom: -6px;
}

/* -------------------------------------------------- */
/* HOW TO JOIN CSS */
/* -------------------------------------------------- */

#howto {
    min-height: 50vh;
    background-color: #0c0c0c;
    padding: 40px 0 80px 0;
}

#howto .row>* {
    padding-top: 20px;
    padding-bottom: 20px;
}

.howjoin__form {
    width: 100%;
    padding: 32px;
    background: url(../imgs/bg-minecraft.webp) no-repeat center / cover;
    border-radius: 10px;
    font-family: "Minecraftia", sans-serif;
}

.mc-input {
    height: 36px;
    width: 100%;
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: #000000;
    border: 3px solid #808080;
    border-radius: 12px;
    padding: 26px 6px 15px 6px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0;
}

.mc-input p {
    margin: 0;
}

/* -------------------------------------------------- */
/* GALLERY CSS */
/* -------------------------------------------------- */
#gallery {
    background: linear-gradient(180deg, rgba(12,12,12,1) 0%, rgba(0,0,0,1) 100%);
    background-size: cover;
}

.mySwiperGallery {
    width: 100%;
    height: 100%;
}

.mySwiperGallery img {
    border-radius: 15px;
    height: 700px;
    object-fit: cover;
    width: 100%;
}
@media screen and (max-width: 900px) {
    .mySwiperGallery img {
        height: 500px;
    }
}
@media screen and (max-width: 500px) {
    .mySwiperGallery img {
        height: 300px;
    }
}


/* -------------------------------------------------- */
/* DATAPACK CSS (PAGE) */
/* -------------------------------------------------- */

#datapacks {
    background: linear-gradient(180deg, #1a1e21 0%, #000000 100%);
    padding: 270px 0 100px 0;
    color: white;
}
#crafting {
    background: linear-gradient(
            rgba(255, 255, 255, 0.7),
            rgba(255, 255, 255, 0.95),
            rgba(255, 255, 255, 1)
    ), url("../imgs/img-jungle-temple.webp") no-repeat center center;
    background-size: cover;
    padding: 100px 0px;
    color: black;
}

#datapacks .row {
    padding: 20px 0;
    text-align: center;
}
#crafting .row {
    padding: 30px 0;
    text-align: center;
}
#datapacks .row>* {
    padding: calc(var(--bs-gutter-x)* .7);
}

#datapacks .card {
    border: none;
    box-shadow: 0px 8px 10px 2px rgba(227,217,218,0.3);
    border-radius: 15px !important;
    gap: 20px;
    height: 100%;
    transition: transform ease-in-out 0.3s;
    cursor: pointer;
    padding: 20px 0px;

    background: #e3d9da;
    color: #383637;
}
#datapacks .card:hover {
    transform: scale(1.05);
}

#datapacks .card-title {
    font-family: 'Minecraftia', serif;
    font-size: 20px;
    font-weight: 600;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#datapacks .card-img-top,
#datapacks .card-img {
    border-top-left-radius: 15px !important;
    border-top-right-radius: 15px !important;
    object-fit: contain;
    width: 170px;
    margin: auto;
}

#datapacks .badge {
    padding: 12px 10px 5px 10px;
    font-size: 14px;
    font-weight: 700;
    color: #e3d9da;
    border-radius: 5px;
    background: #3f3f3f;
}

#crafting .card-img-top,
#crafting .card-img {
    object-fit: contain;
    height: 80%;
    width: 100%;
    border-radius: 15px;
}

#crafting .mySwiperDatapack {
    height: 250px;
}

#crafting .mySwiperDatapack .swiper-horizontal>.swiper-pagination-bullets,
#crafting .mySwiperDatapack .swiper-pagination-bullets.swiper-pagination-horizontal,
#crafting .mySwiperDatapack .swiper-pagination-custom,
#crafting .mySwiperDatapack .swiper-pagination-fraction {
    bottom: -6px;
}

/* -------------------------------------------------- */
/* FOOTER CSS */
/* -------------------------------------------------- */

footer.container-fluid {
    background-color: black;
    color: white;
    font-family: 'Minecraftia', serif;
    padding-top: 80px;
}

footer a {
    text-decoration: unset !important;
}
footer .footer-links p {
    transition: transform ease-in-out 0.3s;
}
footer .footer-links p:hover {
    text-decoration: unset !important;
    color: #57c254;
    transform: translateX(15px);
}

footer .madewith {
    padding-top: 80px;
    font-size: 14px;
}
footer .madewith a {
    color: #57c254;
}

.madewith img {
    margin-bottom: 30px;
}

@media screen and (max-width: 500px) {
    footer img {
        width: 300px;
    }
}

/* -------------------------------------------------- */
/* ANIMATION CSS */
/* -------------------------------------------------- */

@-webkit-keyframes logo {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.07);
        transform: scale(1.07);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes logo {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
    50% {
        -webkit-transform: scale(1.07);
        transform: scale(1.07);
    }
    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}