:root {
    --color-primary: #663399;
    --color-secondary: #9B45B2;
    --color-text: #ffffff;

    --storagefile-btn-bg: #245771;
    --storagefile-btn-bg-hover: #2b637f;
    --storagefile-btn-separator: rgba(255, 255, 255, 0.10);
    --storagefile-btn-shadow: rgba(0, 0, 0, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: var(--color-text);
    width: 100%;
    min-height: 100svh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(-45deg, var(--color-primary), var(--color-secondary), #3b1c5a, #d475f0);
    background-size: 400% 400%;
    animation: meshGradient 15s ease infinite;
}

@keyframes meshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.center-logo {
    max-width: 90vw;
    max-height: 250px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.site-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1.25rem 3rem;
    z-index: 20;
}

.button-group {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0;
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.5);
}

.storagefile-btn-1,
.storagefile-btn-2 {
    display: inline-block;
    padding: 5px 10px;
    min-height: 0;
    color: #ffffff;
    text-decoration: none;
    font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border: 0;
    border-radius: 0;
    text-shadow: none;
    text-transform: lowercase;
    margin: 0;
}

.storagefile-btn-1 {
    background: #5259a6bd;
}

.storagefile-btn-2 {
    background: #5d3a63;
}

.storagefile-btn-1:hover,
.storagefile-btn-1:focus-visible,
.storagefile-btn-2:hover,
.storagefile-btn-2:focus-visible {
    color: #ffffff;
    outline: none;
    filter: brightness(1.06);
}

.storagefile-btn-1:active,
.storagefile-btn-2:active {
    transform: translateY(1px);
    box-shadow: none;
}
.infos
 {
    background: rgba(63, 132, 131, 0.7);
    display: inline-block;
    padding: 5px 10px;
    min-height: 0;
    color: #ffffff;
    text-decoration: none;
    font-family: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border: 0;
    border-radius: 0;
    text-shadow: none;
    text-transform: lowercase;
    margin: 0;
}
}

@media (max-width: 640px) {
    body {
        min-height: 100svh;
        height: 100dvh;
        overflow: hidden;
    }

    .site-main {
        padding: 1.5rem 1rem calc(6rem + env(safe-area-inset-bottom));
    }

    .site-footer {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        bottom: calc(0.9rem + env(safe-area-inset-bottom));
        padding: 0;
        width: auto;
    }

    .button-group {
        flex-wrap: wrap;
        gap: 4px;
        -webkit-box-shadow: none;
        box-shadow: none;
        max-width: calc(100vw - 1rem);
    }

    .storagefile-btn-1,
    .storagefile-btn-2 {
        -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.4);
        margin-bottom: 0;
    }
}