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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #e5f0fb 0, #f7f8fb 40%, #eef1f7 100%);
    color: #111827;
    min-height: 100vh;
}

/* ---------------------------------------------
   PAGE LAYOUT
---------------------------------------------- */

.links-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

/* Card */
.links-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1.5rem;
    padding: 2.25rem 1.9rem 1.8rem;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(15, 23, 42, 0.02);
    backdrop-filter: blur(14px);
    text-align: center;
}

/* ---------------------------------------------
   LOGO & HEADER
---------------------------------------------- */

.links-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.links-logo {
    max-width: 96px;
    max-height: 96px;
    width: auto;
    height: auto;
    border-radius: 0.75rem;
    object-fit: contain;
}

.links-header {
    margin-bottom: 1.5rem;
}

.links-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
}

.links-subtitle {
    font-size: 0.92rem;
    color: #6b7280;
}

/* ---------------------------------------------
   LINK BUTTONS
---------------------------------------------- */

.links-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.links-btn {
    display: block;
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.12s ease-out,
        box-shadow 0.12s ease-out,
        background-color 0.12s ease-out,
        border-color 0.12s ease-out;
}

/* Primary button */
.links-btn.primary {
    background-color: #055296;
    color: #ffffff;
    border-color: #055296;
    box-shadow: 0 14px 30px rgba(5, 82, 150, 0.28);
}

/* Secondary button */
.links-btn.secondary {
    background-color: #ffffff;
    color: #055296;
    border-color: #cbd5e1;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

/* Hover / active */
.links-btn:hover {
    transform: translateY(-1px) scale(1.015);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.links-btn:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

/* Focus */
.links-btn:focus-visible {
    outline: 2px solid #055296;
    outline-offset: 2px;
}

/* ---------------------------------------------
   SECONDARY LINKS / NOTE
---------------------------------------------- */

.links-secondary-group {
    margin-bottom: 1.4rem;
}

.links-text-link {
    font-size: 0.88rem;
    color: #055296;
    text-decoration: underline;
}

.links-text-link:hover {
    color: #033767;
}

.links-note {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: #9ca3af;
}

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

.links-footer {
    border-top: 1px solid #e5e7eb;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ---------------------------------------------
   RESPONSIVE
---------------------------------------------- */

@media (max-width: 480px) {
    .links-card {
        padding: 2rem 1.4rem 1.6rem;
        border-radius: 1.25rem;
    }

    .links-title {
        font-size: 1.45rem;
    }

    .links-subtitle {
        font-size: 0.9rem;
    }
}