@font-face {
    font-family: Minecraft; 
    src: url(minecraft-ten-font/MinecraftTen-VGORe.ttf); 
}

:root {
    --header-height: clamp(72px, 10vw, 140px);
    --header-padding-y: clamp(6px, 1vw, 14px);
    --header-padding-x: clamp(10px, 2vw, 24px);
    --title-size: clamp(0.95rem, 2.75vw, 2rem);
    --button-size: clamp(0.62rem, 1.55vw, 1rem);
    --page-bottom-space: 0px;
    --gallery-overlay-opacity: 0.75;
    --gallery-overlay-color: 34, 34, 34;
}

html,
body {
    overflow-x: hidden;
    overflow-y: auto;
}

body{
    margin: 0;
    text-align: center;
    font-family: Minecraft;
    background-color:#121212;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: var(--header-height);
    padding: var(--header-padding-y) var(--header-padding-x);
    background-color: #0d1720;
    border-bottom: 2px solid #1c4f78;
}

.header-left {
    display: flex;
    align-items: center;
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    color: rgb(0, 110, 255);
    font-size: calc(var(--title-size) * 1.5);
    line-height: 1;
    transform: translateY(-2.5px);
    letter-spacing: 0.4px;
}

.header-actions {
    display: flex;
    margin-left: auto;
    margin-right: 0;
    gap: clamp(6px, 1.2vw, 12px);
}

.header-btn {
    font-family: inherit;
    font-size: calc(var(--button-size) * 1.25);
    line-height: 1;
    white-space: nowrap;
    color: #ffffff;
    background-color: #104e96;
    border: 2px solid #082f69;
    padding: calc(clamp(6px, 0.9vw, 10px) * 1.25) calc(clamp(8px, 1.5vw, 14px) * 1.25);
    cursor: pointer;
}

.header-btn:hover {
    background-color: #2581dd;
}

.banner-img {
    display: block;
    width: 100%;
    margin-top: var(--header-height);
}

.collapsible-gallery {
    width: 100%;
    margin: 14px 0 18px 0;
    box-sizing: border-box;
    text-align: left;
    border: 2px solid #1c4f78;
    background-color: #0d1720;
}

.collapsible-gallery summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em;
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    font-size: clamp(1.2rem, 2.8vw, 1.9rem);
    text-align: center;
    color: #7ad8ff;
    user-select: none;
}

.collapsible-gallery summary::-webkit-details-marker {
    display: none;
}

.collapsible-gallery summary::before {
    content: "";
    width: 0.55em;
    height: 0.55em;
    border-right: 0.18em solid currentColor;
    border-bottom: 0.18em solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.35s ease;
    flex: 0 0 auto;
}

.collapsible-gallery[open] summary::before {
    transform: rotate(45deg);
}


.collapsible-gallery > .gallery-content {
    display: block !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    padding: 0 0 0 0;
    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        transform 0.45s ease,
        padding 0.45s ease;
}

.collapsible-gallery[open] > .gallery-content {
    max-height: 2400px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 0 14px 0;
}

.bottom-spacer {
    display: block;
    width: 100%;
    height: var(--page-bottom-space);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 14px 0 14px;
}

.gallery-slot {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #3e6f96;
    background: linear-gradient(145deg, #102130, #162b3d);
}

.gallery-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    overflow: hidden;
    background-color: rgba(var(--gallery-overlay-color), var(--gallery-overlay-opacity));
    transition: width 0.5s ease;
}

.gallery-slot:hover .gallery-overlay {
    width: 100%;
}

.gallery-overlay-text {
    white-space: nowrap;
    color: #ffffff;
    font-size: clamp(0.8rem, 1.7vw, 1.15rem);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 72px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .header-actions {
        gap: 6px;
    }
}

.form-input {
    display: block;
    margin: 0 auto;
    width: clamp(330px, 67.5vw, 780px);
    height: clamp(60px, 7.5vw, 96px);
    font-size: clamp(23px, 2.7vw, 39px);
    color: #a7e3fd;
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    background-color: #1b1b1b;
    border: solid 1px #164450;
    box-sizing: border-box;
}

.form-input-reason {
    height: clamp(270px, 33vw, 480px);
    text-align: left;
    vertical-align: top;
    padding: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    resize: vertical;
}

.form-submit-btn {
    display: block;
    margin: 0 auto;
    background-color: #104e96;
    color: #7ad8ff;
    font-family: Minecraft;
    height: clamp(48px, 6vw, 88px);
    width: clamp(160px, 20vw, 280px);
    font-size: clamp(16px, 2vw, 26px);
    border: 2px solid #082f69;
    cursor: pointer;
}

.form-submit-btn:hover {
    background-color: #2581dd;
}


