:root {
    --white: #ffffff;
    --gray: #e5e7eb;
    --navy: #0f172a;
    --gold: #eab308;

    --text: #0f172a;
    --muted: #64748b;

    --radius: 16px;
    --max-width: 560px;

    --shadow:
        0 10px 30px rgba(15, 23, 42, 0.08);

    --transition:
        180ms ease;
}


/* RESET */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--white);
}

body {
    min-height: 100vh;
    min-height: 100svh;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    color: var(--text);

    /*
     * Fundo responsivo:
     * - mobile usa a arte vertical
     * - desktop usa a arte landscape
     *
     * As imagens ficam na mesma pasta deste CSS.
     */
    background-color: #0f172a;
    background-image:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.04),
            rgba(15, 23, 42, 0.10)
        ),
        url("assets/uploads/linkhub/amabares-bg-vertical.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.page {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: var(--max-width);

    padding:
        32px 18px
        calc(28px + env(safe-area-inset-bottom));

    display: flex;
    flex-direction: column;
    align-items: center;

    /*
     * Camada translúcida: deixa a fotografia aparecer sem comprometer
     * a leitura dos botões.
     */
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.62),
        rgba(15, 23, 42, 0.48)
    );
    backdrop-filter: blur(12px) saturate(115%);
    -webkit-backdrop-filter: blur(12px) saturate(115%);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.brand {
    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    margin-bottom: 28px;
}

.logo-wrapper {
    width: 112px;
    height: 112px;

    display: flex;
    align-items: center;
    justify-content: center;


    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: 50%;

    box-shadow: var(--shadow);

    padding: 16px;

    margin-bottom: 18px;

     background:
        linear-gradient(
            rgba(255, 255, 255, 0.62),
            rgba(255, 255, 255, 0.48)
        ) padding-box,

        linear-gradient(
            45deg,
            rgba(234, 179, 8, 0.58),
            rgba(255, 255, 255, 0.9),
            rgba(234, 179, 8, 0.58)
        ) border-box;
}

.logo {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.brand-name {
    font-size: 22px;
    font-weight: 700;

    letter-spacing: -0.02em;

    color: var(--white);
}

.brand-name::after {
    content: "";
    display: block;

    width: 42px;
    height: 2px;

    margin: 10px auto 11px;

    background: var(--gold);
    border-radius: 999px;
}

.tagline {
    max-width: 330px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
    line-height: 1.5;
}

.links {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.link-button {
    position: relative;

    width: 100%;
    min-height: 62px;

    display: flex;
    align-items: center;

    padding: 10px 18px;

    background: var(--white);

    border: 1px solid var(--gray);
    border-radius: var(--radius);

    color: var(--navy);

    box-shadow:
        0 4px 14px rgba(15, 23, 42, 0.045);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);

    overflow: hidden;
}

.link-button::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: var(--gold);

    transform: scaleY(0);

    transform-origin: center;

    transition: transform var(--transition);
}

.link-button:hover {
    transform: translateY(-2px);

    border-color: rgba(234, 179, 8, 0.55);

    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.10);
}

.link-button:hover::before {
    transform: scaleY(1);
}

.link-button:active {
    transform: scale(0.985);
}

.link-icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--gray);

    color: var(--navy);

    border: 1px solid rgba(234, 179, 8, 0.58);
}

.link-icon svg {
    width: 21px;
    height: 21px;


    stroke-linecap: round;
    stroke-linejoin: round;
}

.link-icon img {
    width: 28px;
    height: 28px;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.link-content {
    flex: 1;

    min-width: 0;

    margin-left: 14px;
}

.link-title {
    display: block;

    font-size: 15px;
    font-weight: 650;

    line-height: 1.25;
}

.link-description {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.3;
}

.link-arrow {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #94a3b8;

    transition:
        color var(--transition),
        transform var(--transition);
}

.link-arrow svg {
    width: 17px;
    height: 17px;

    stroke: currentColor;

    stroke-width: 2;

    fill: none;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.link-button:hover .link-arrow {
    color: var(--gold);
    transform: translateX(2px);
}


/* botão principal */

.link-button.primary {
    background: var(--navy);
    border-color: var(--navy);

    color: var(--white);

    box-shadow:
        0 8px 22px rgba(15, 23, 42, 0.16);
}

.link-button.primary .link-icon {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.12);

    color: var(--gold);
}

.link-button.primary .link-description {
    color: #cbd5e1;
}

.link-button.primary .link-arrow {
    color: #cbd5e1;
}

.link-button.primary:hover {
    background: #172033;
    border-color: #172033;
}


/* separador */

.divider {
    width: 100%;

    display: flex;
    align-items: center;
    gap: 12px;

    margin: 25px 0 15px;

    color: #94a3b8;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.divider::before,
.divider::after {
    content: "";

    height: 1px;

    flex: 1;

    background: var(--gray);
}


/* rodape */

.footer {
    margin-top: 30px;

    text-align: center;

    color: #94a3b8;

    font-size: 11px;
    line-height: 1.6;
}

.footer strong {
    color: var(--muted);
    font-weight: 650;
}

.gold-dot {
    display: inline-block;

    width: 4px;
    height: 4px;

    margin: 0 5px;

    vertical-align: middle;

    border-radius: 50%;

    background: var(--gold);
}

.gotechbr {
    color: var(--white);
    text-decoration: underline;
    
}

.gotechbr:hover {
    color: var(--muted);
}

/* Desktop */

@media (min-width: 600px) {

    body {
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 30px 20px;

        background-image:
            linear-gradient(
                180deg,
                rgba(15, 23, 42, 0.03),
                rgba(15, 23, 42, 0.10)
            ),
            url("assets/uploads/linkhub/amabares-bg-landscape.jpg");
        background-position: center center;
        background-size: cover;
    }

    .page {
        min-height: auto;
    }

    .container {
        padding: 42px 24px;

        background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.62),
            rgba(15, 23, 42, 0.46)
        );

        border: 1px solid rgba(100, 116, 139, 0.72);

        border-radius: 24px;

        box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.28);

        backdrop-filter: blur(12px) saturate(115%);
        -webkit-backdrop-filter: blur(12px) saturate(115%);
    }

    .brand {
        margin-bottom: 30px;
    }

    .logo-wrapper {
        width: 120px;
        height: 120px;

        background:
        linear-gradient(
            rgba(255, 255, 255, 0.62),
            rgba(255, 255, 255, 0.48)
        ) padding-box,

        linear-gradient(
            45deg,
            rgba(234, 179, 8, 0.58),
            rgba(255, 255, 255, 0.9),
            rgba(234, 179, 8, 0.58)
        ) border-box;
    }

    .link-button {
        min-height: 66px;
    }
}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

.link-button:focus-visible {
    outline: 3px solid rgba(234, 179, 8, 0.35);
    outline-offset: 3px;
}

/* Em telas pequenas, evita o efeito de background-attachment: fixed,
   que pode causar travamentos em alguns navegadores móveis. */
@media (max-width: 599px) {
    body {
        background-attachment: scroll;
    }
}

/* Mantém a arte de fundo, mas respeita usuários que reduzem movimento. */
@media (prefers-reduced-motion: reduce) {
    body {
        background-attachment: scroll;
    }
}


/* Glass premium: reflexo suave na borda do painel */
.container {
    position: relative;
    overflow: hidden;
}

.container::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.022),
            transparent 28%,
            transparent 72%,
            rgba(15, 23, 42, 0.06)
        );
}

/* Garante que o conteúdo fique acima do reflexo */
.container > * {
    position: relative;
    z-index: 1;
}

/* Em mobile, deixa o fundo aparecer mais */
@media (max-width: 599px) {
    .container {
        background: linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.58),
            rgba(15, 23, 42, 0.42)
        );
        backdrop-filter: blur(10px) saturate(115%);
        -webkit-backdrop-filter: blur(10px) saturate(115%);
    }
}

/* Nota ao lado da assinatura: só aparece no desktop (mesma intenção do hidden/sm:inline original) */
.footer-note {
    display: none;
    color: var(--muted);
}

@media (min-width: 600px) {
    .footer-note {
        display: inline;
    }
}
