.minecraft-hero {
    padding: 2rem;
    /* margin-bottom: 2rem; */
    background: linear-gradient(135deg, #fff7d6, #ffffff);
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    text-align: left;
}

.minecraft-label {
    display: table;
    margin: 0 auto 1.5rem;
    padding: .45rem 1rem;
    background: #f6d970;
    color: #8a1f1f;
    font-weight: 700;
    border-radius: 999px;
}

.minecraft-intro {
    max-width: 900px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.minecraft-hero-image-wide {
    margin: 0 auto 1.5rem;
}

.minecraft-hero-image-wide img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.minecraft-buttons-center {
    justify-content: center;
    align-items: center;
    flex-direction: row;
}


.minecraft-hero h1 {
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.6rem;
    color: #8a1f1f;
}


.minecraft-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.minecraft-label {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.8rem;
    background: #f6d970;
    color: #8a1f1f;
    font-weight: 700;
    border-radius: 999px;
}

.minecraft-hero p {
    font-size: 1.08rem;
    line-height: 1.7;
}

.minecraft-hero-image img {
    width: 100%;
    display: block;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.minecraft-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.minecraft-btn {
    display: inline-block;
    padding: 0.8rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.minecraft-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.minecraft-btn.primary {
    background: #8a1f1f;
    color: #fff;
}

.minecraft-btn.secondary {
    background: #f6d970;
    color: #4a2a00;
}

.minecraft-section {
    /* margin-bottom: 2.5rem; */
    padding: 2.2rem;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}

.minecraft-section h2 {
    margin-bottom: 1.4rem;
    color: #000000;
    font-size: 1.5rem;
    text-shadow: 0px 1px 2px #5d5d5d;
}

.minecraft-section-intro {
    margin-bottom: 1.2rem;
}

.minecraft-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
}

.minecraft-card {
    padding: 1.3rem;
    background: #fff9e8;
    border-bottom: 5px solid #f6d970;
    text-align: center;
    border-radius: 14px;
}

.minecraft-card h3 {
    margin-bottom: 0.5rem;
    color: #8a1f1f;
}

.minecraft-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 18px;
    background: #222;
}

.minecraft-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.minecraft-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.minecraft-gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.2s ease;
}

.minecraft-gallery img:hover {
    transform: scale(1.03);
}

.minecraft-download {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    background: #fff7d6;
    border-left: 6px solid #8a1f1f;
}

.minecraft-guide ol {
    padding-left: 1.4rem;
    line-height: 1.8;
}

.minecraft-download-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.download-info-item {
    display: flex;
    align-items: center;
    gap: .7rem;

    padding: .8rem 1rem;

    background: #fff;
    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.download-info-item i {
    color: #8a1f1f;
    font-size: 1.2rem;
}




/*** Minecraft Galery ***/
.minecraft-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.minecraft-gallery-item {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
}

.minecraft-gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    transition: transform .2s ease, filter .2s ease;
}

.minecraft-gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.9);
}

.minecraft-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, .94);
}

.minecraft-lightbox.is-open {
    display: flex;
}

.minecraft-lightbox-content {
    max-width: min(1600px, 90vw);
    max-height: 85vh;
    margin: 0;
    text-align: center;
}

.minecraft-lightbox-content img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,.45);
}

.minecraft-lightbox-content figcaption {
    margin-top: .8rem;
    color: #fff;
    font-size: 1rem;
}

.minecraft-lightbox-close,
.minecraft-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,.16);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.minecraft-lightbox-close:hover,
.minecraft-lightbox-nav:hover {
    background: rgba(255,255,255,.28);
    transform: scale(1.05);
}

.minecraft-lightbox-close {
    top: 1.2rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.4rem;
}

.minecraft-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 72px;
    border-radius: 14px;
    font-size: 1.8rem;
}

.minecraft-lightbox-prev {
    left: 1.2rem;
}

.minecraft-lightbox-next {
    right: 1.2rem;
}

@media (max-width: 900px) {
    .minecraft-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 560px) {
    .minecraft-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .minecraft-lightbox {
        padding: 1rem;
    }

    .minecraft-lightbox-nav {
        width: 42px;
        height: 58px;
        font-size: 1.4rem;
    }
}






@media (max-width: 900px) {
    .minecraft-buttons-center {
        flex-direction: column;
    }

    .minecraft-hero {
        padding: 1.3rem;
    }

    .minecraft-hero-image-wide img {
        max-height: 340px;
    }


    .minecraft-hero-content {
        grid-template-columns: 1fr;
    }

    .minecraft-hero h1 {
        font-size: 2rem;
    }

    .minecraft-cards,
    .minecraft-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .minecraft-download {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .minecraft-hero h1 {
        font-size: 1.9rem;
    }

    .minecraft-cards,
    .minecraft-gallery {
        grid-template-columns: 1fr;
    }

    .minecraft-section {
        padding: 1.3rem;
    }
}