@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

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

html, body {
    height: 100%;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background-image: url('../assets/bg_short.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ── Page wrapper ── */
.page {
    width: 100%;
    max-width: 30rem; /* 480px */
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

/* ── Logo section ── */
.logo-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 1rem; /* 16px */
    padding-bottom: 0;
}

.logo-section img {
    width: 90%;
    max-width: 26.25rem; /* 420px */
    height: auto;
    display: block;
    filter: drop-shadow(0 0.5rem 1.5rem rgba(0, 0, 0, 0.25));
}

/* ── Gold divider ── */
.gold-bar {
    width: calc(100% - 1.25rem); /* 20px */
    max-width: 42rem; /* 672px */
    height: 0.375rem; /* 6px */
    background: linear-gradient(90deg, #c8860a 0%, #f5d44a 40%, #e8a820 70%, #c8860a 100%);
    margin-top: 0;
    flex-shrink: 0;
}

/* ── Stone / links panel ── */
.links-panel {
    width: calc(100% - 1.25rem); /* 20px */
    max-width: 42rem; /* 672px */
    margin-bottom: 1.25rem; /* 20px */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.75rem 1.25rem 2rem; /* 28px 20px 32px */
    gap: 0.875rem; /* 14px */
    overflow: hidden;
}

.links-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../assets/stones.webp');
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.links-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #71B0DF 0%, #3F549C 50%, #151E4A 100%);
    opacity: 0.75;
    z-index: 0;
}

.links-panel > * {
    position: relative;
    z-index: 1;
}

/* ── Link buttons ── */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.25rem; /* 16px 20px */
    background: rgba(255, 255, 255, 0.88);
    border-radius: 0.625rem; /* 10px */
    cursor: pointer;
    text-decoration: none;
    color: #3C456B;
    border: 1px solid;
    border-image-source: linear-gradient(127.46deg, rgba(230, 230, 230, 0.8) 10.1%, rgba(230, 230, 230, 0.59) 15.64%, rgba(230, 230, 230, 0.41) 20.39%, rgba(230, 230, 230, 0.26) 25.93%, rgba(230, 230, 230, 0.15) 31.47%, rgba(230, 230, 230, 0.06) 37.81%, rgba(230, 230, 230, 0.02) 43.35%, rgba(230, 230, 230, 0) 49.68%, rgba(230, 230, 230, 0.01) 57.6%, rgba(230, 230, 230, 0.06) 63.14%, rgba(230, 230, 230, 0.13) 68.68%, rgba(230, 230, 230, 0.23) 73.43%, rgba(230, 230, 230, 0.36) 78.18%, rgba(230, 230, 230, 0.52) 82.93%, rgba(230, 230, 230, 0.71) 87.68%, rgba(230, 230, 230, 0.8) 89.26%);
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 900;
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.18); /* 0 2px 8px */
    gap: 0.5rem; /* 8px */
}

.link-btn:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-0.0625rem); /* -1px */
    box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.25); /* 0 4px 14px */
}

.link-btn:active {
    transform: translateY(0);
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.18); /* 0 2px 6px */
}

/* ── Imprint / Privacy inside panel ── */
.panel-footer {
    width: 100%;
    text-align: center;
    padding-top: 0.25rem; /* 4px */
}

.panel-footer a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.72rem;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: normal;
    letter-spacing: 0;

}

.panel-footer a:hover {
    color: rgba(255, 255, 255, 1);
    text-decoration: underline;
}

.panel-footer .sep {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.25rem; /* 4px */
}

/* ════════════════════════════════════════
   TABLET  (≥ 480px / 30rem)
   ════════════════════════════════════════ */
@media (min-width: 30rem) {
    .page {
        max-width: 37.5rem; /* 600px */
    }

    .logo-section img {
        width: 85%;
        max-width: 31.25rem; /* 500px */
    }

    .link-btn {
        font-size: 0.88rem;
        padding: 1.125rem 1.5rem; /* 18px 24px */
    }

    .links-panel {
        gap: 1rem; /* 16px */
        padding: 1.75rem 1.25rem; /* 28px 20px */
    }
}

/* ════════════════════════════════════════
   DESKTOP  (≥ 900px / 56.25rem)
   ════════════════════════════════════════ */
@media (min-width: 56.25rem) {
    .page {
        max-width: 43.75rem; /* 700px */
    }

    .logo-section {
        padding-top: 1.5rem; /* 24px */
    }

    .logo-section img {
        width: 78%;
        max-width: 35rem; /* 560px */
    }

    .gold-bar {
        height: 0.4375rem; /* 7px */
    }

    .link-btn {
        font-size: 0.92rem;
        padding: 1.125rem 1.75rem; /* 18px 28px */
        border-radius: 0.75rem; /* 12px */
    }

    .links-panel {
        gap: 1rem; /* 16px */
        padding: 1.75rem 3rem; /* 28px 48px */
    }
}
