/* ===========================================================
   Joellie Nail Spa — link page
   Palette: warm terracotta-brown backdrop, cream buttons,
   sky-and-hill emblem.
=========================================================== */

:root {
    --brown: #93714f;
    --brown-dark: #7c5d3f;
    --cream: #f4edd3;
    --cream-shadow: #d9cba3;
    --ink: #2c2620;
    --sky-top: #bfe0f0;
    --sky-bottom: #eef7fb;
    --hill-back: #a9c96a;
    --hill-front: #7fa020;
    --white: #ffffff;
    --gilded: #d4a569;
    --asme: #efebe2;
    --gold: #996515
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--gilded);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Jost', sans-serif;
    overflow-x: hidden;
}

.card {
    position: relative;
    width: 250%;
    max-width: 480px;
    min-height: 100vh;
    padding: 56px 32px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- Brand: logo ---------- */

.brand {
    position: relative;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

/* Logo + divider wrapper — divider sits behind the logo image */

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: -50px;
    margin-bottom: -60px;
}

.image-container {
    position: relative;
    z-index: 2;
    height: 300px;
    width: 300px;
    border-radius: 200px;
    overflow: hidden;
    margin-bottom: 40px;
}

.image-container img {
    height: 100%;
}

/* ---------- Divider line with sparkle accents ---------- */

.divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 0;
    border-top: 1.5px solid rgba(244, 237, 211, 0.85);
    z-index: 1;
    pointer-events: none;
}

.spark--divider-left,
.spark--divider-right {
    position: absolute;
    top: 50%;
    font-size: 28px;
    color: var(--cream);
}

.spark--divider-left {
    left: calc(50% - 190px);
    transform: translate(-50%, -50%);
}

.spark--divider-right {
    left: calc(50% + 190px);
    transform: translate(-50%, -50%);
}

/* ---------- Link buttons ---------- */

.links {
    width: 100%;
    max-width: 340px;
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.link-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-btn {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--asme);
    color: var(--ink);
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1.5px;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 0 var(--cream-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}

.link-btn:active {
    transform: translateY(0);
}

.link-btn:focus-visible {
    outline: 3px solid var(--white);
    outline-offset: 2px;
}

.spark {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cream);
    font-size: 20px;
    line-height: 1;
}

.spark--left {
    left: -30px;
}

.spark--right {
    right: -30px;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 420px) {
    .card {
        padding: 44px 22px 64px;
    }

    .image-container {
        width: 200px;
        height: 200px;
    }

    .spark--divider-left {
        left: calc(50% - 150px);
    }

    .spark--divider-right {
        left: calc(50% + 150px);
    }

    .spark--divider-left,
    .spark--divider-right {
        font-size: 24px;
    }

    .links {
        margin-top: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .link-btn {
        transition: none;
    }
}