:root {
    --bg-page:    #54070F;
    --accent:     #D61C3E;
    --text:       white;
    --text-hover: #FCA7A7;
}

@font-face {
    font-family: "Dongle";
    src: url("fonts/Dongle-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Momo Signature";
    src: url("fonts/MomoSignature-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: black;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cg fill='%23FCA7A7' fill-opacity='0.14'%3E%3Cpath transform='translate(5 5) scale(0.6)' d='M12 21C5 15 2 11 2 7.5 2 5 4 3 6.5 3 9 3 11 4.5 12 6.5 13 4.5 15 3 17.5 3 20 3 22 5 22 7.5 22 11 19 15 12 21Z'/%3E%3Cpath transform='translate(27 27) scale(0.6)' d='M12 21C5 15 2 11 2 7.5 2 5 4 3 6.5 3 9 3 11 4.5 12 6.5 13 4.5 15 3 17.5 3 20 3 22 5 22 7.5 22 11 19 15 12 21Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 44px 44px;
}

a,
a:visited {
    color: var(--text);
    text-decoration: none;
}

a:hover {
    color: var(--text-hover);
}

a:active {
    color: var(--text);
}

.momo-signature-regular {
    font-family: "Momo Signature", cursive;
    font-weight: 400;
    font-style: normal;
}


header {
    max-width: 280px;
    margin: 20px auto 10px;
    padding: 20px 20px 0;
    box-sizing: border-box;
}

h1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--text);
}

.heart-svg {
    display: block;
    width: min(160px, 40vw);
    height: auto;
    margin: 0 auto;
}


.quick-links {
    max-width: 600px;
    margin: 20px auto;
    padding: 16px 20px 20px;
    box-sizing: border-box;
    font-family: "Dongle", Arial, sans-serif;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    min-height: 64px;
    padding: 8px 8px 8px 36px;
    border: 2px solid var(--text-hover);
    border-radius: 12px;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 36px;
    line-height: 1;
    text-align: left;
    transition: background-color 0.2s, color 0.2s;
}

.quick-link:hover {
    background-color: var(--text-hover);
    color: black;
}

.quick-link img {
    height: 28px;
    width: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

.quick-link-label {
    position: relative;
    top: 2px;
}

.quick-link .emoji {
    position: relative;
    top: 4px;
    font-size: 0.6em;
    vertical-align: middle;
}


#age-dialog {
    width: min(90%, 420px);
    padding: 24px;
    background-color: black;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cg fill='%23ffffff' fill-opacity='0.09'%3E%3Cpath transform='translate(4 4) scale(0.5)' d='M12 21C5 15 2 11 2 7.5 2 5 4 3 6.5 3 9 3 11 4.5 12 6.5 13 4.5 15 3 17.5 3 20 3 22 5 22 7.5 22 11 19 15 12 21Z'/%3E%3Cpath transform='translate(22 22) scale(0.5)' d='M12 21C5 15 2 11 2 7.5 2 5 4 3 6.5 3 9 3 11 4.5 12 6.5 13 4.5 15 3 17.5 3 20 3 22 5 22 7.5 22 11 19 15 12 21Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 36px 36px;
    color: var(--text);
    border: 2px solid var(--text-hover);
    border-radius: 20px;
    text-align: center;
    font-family: "Dongle", Arial, sans-serif;
    font-size: 26px;
    line-height: 1;
}

#age-dialog::backdrop {
    background: rgba(0, 0, 0, 0.85);
}

#age-dialog h2 {
    margin: 0 0 10px;
    font-size: 40px;
}

#age-dialog p {
    margin: 0 0 12px;
}

#age-destination {
    color: var(--text-hover);
}

.age-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.age-buttons button {
    padding: 8px 18px;
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text-hover);
    border-radius: 10px;
    font-family: inherit;
    font-size: 26px;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.age-buttons button:hover {
    background: var(--text);
    color: black;
}

#age-confirm {
    background: var(--accent);
}

#age-cancel {
    background: var(--text-hover);
    color: black;
}

#age-cancel:hover {
    color: var(--bg-page);
}