:root {
    --cb-beige: #ddc4b6;
    --cb-cream: #f7f2ec;
    --cb-rose: #c18785;
    --cb-pink: #efbfbd;
    --cb-mint: #8fc6b9;
    --cb-dark: #302827;
    --cb-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: "Futura", "Montserrat", "Segoe UI", sans-serif;
    color: var(--cb-dark);
    background:
        radial-gradient(circle at 15% 10%, rgba(239, 191, 189, 0.42), transparent 32%),
        radial-gradient(circle at 85% 90%, rgba(143, 198, 185, 0.24), transparent 34%),
        linear-gradient(145deg, #fffaf7 0%, var(--cb-cream) 48%, #f9eee9 100%);
    overflow-x: hidden;
}

.linktree-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 16px;
}

.linktree-card {
    width: 100%;
    max-width: 455px;
    position: relative;
    padding: 42px 28px 30px;
    border-radius: 42px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.74), rgba(247,242,236,0.86));
    border: 1px solid rgba(193, 135, 133, 0.18);
    box-shadow:
        0 30px 80px rgba(193, 135, 133, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.85);
    backdrop-filter: blur(22px);
    overflow: hidden;
    animation: cardIn .8s ease both;
}

.linktree-card::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 34px;
    border: 1px solid rgba(193, 135, 133, 0.10);
    pointer-events: none;
}

.linktree-card::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    top: -150px;
    right: -140px;
    background: radial-gradient(circle, rgba(239,191,189,0.34), transparent 68%);
    filter: blur(18px);
    z-index: 0;
}

.brand-logo-box,
.profile-photo-box,
.brand-header,
.links-container,
.footer-text {
    position: relative;
    z-index: 2;
}

.brand-logo-box {
    text-align: center;
    margin-bottom: 14px;
}

.brand-logo {
    max-width: 108px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(193, 135, 133, 0.16));
}

.profile-photo-box {
    width: 118px;
    height: 118px;
    margin: 0 auto 24px;
    padding: 5px;
    border-radius: 50%;
    background:
        linear-gradient(145deg, rgba(239,191,189,0.95), rgba(247,242,236,0.95), rgba(143,198,185,0.60));
    box-shadow:
        0 18px 34px rgba(193, 135, 133, 0.18),
        0 0 0 8px rgba(255,255,255,0.30);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.86);
}

.brand-header {
    text-align: center;
}

.brand-header h1 {
    font-family: "Bodoni MT", "Didot", Georgia, serif;
    font-style: italic;
    font-weight: 500;
    font-size: 3.25rem;
    line-height: 1;
    color: var(--cb-rose);
    letter-spacing: 1px;
    margin-bottom: 14px;
    text-shadow: 0 8px 22px rgba(193, 135, 133, 0.12);
}

.brand-header p {
    max-width: 330px;
    margin: 0 auto 34px;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(48, 40, 39, 0.66);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-button {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--cb-dark);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.82), rgba(255,250,247,0.68));
    border: 1px solid rgba(193, 135, 133, 0.13);
    box-shadow:
        0 14px 32px rgba(193, 135, 133, 0.10),
        inset 0 1px 0 rgba(255,255,255,0.95);
    transition: all .30s ease;
    position: relative;
    overflow: hidden;
}

.link-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.55) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .55s ease;
}

.link-button:hover::before {
    transform: translateX(120%);
}

.link-button:hover {
    transform: translateY(-5px);
    color: #ffffff;
    background:
        linear-gradient(135deg, #c18785 0%, #efbfbd 100%);
    border-color: rgba(255,255,255,0.35);
    box-shadow:
        0 22px 44px rgba(193, 135, 133, 0.30);
}

.link-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: var(--cb-rose);
    background:
        linear-gradient(145deg, rgba(239,191,189,0.34), rgba(247,242,236,0.78));
    font-size: 1.5rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
    transition: all .30s ease;
}

.link-button:hover .link-icon {
    color: #ffffff;
    background: rgba(255,255,255,0.18);
}

.link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-text strong {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.link-text small {
    font-size: .9rem;
    line-height: 1.45;
    color: rgba(48,40,39,0.62);
    transition: all .30s ease;
}

.link-button:hover .link-text small {
    color: rgba(255,255,255,0.86);
}

.link-arrow {
    font-size: 1.25rem;
    color: rgba(48,40,39,0.42);
    transition: all .30s ease;
}

.link-button:hover .link-arrow {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-text {
    margin-top: 30px;
    text-align: center;
    font-size: .82rem;
    color: rgba(48,40,39,0.42);
    letter-spacing: 1.6px;
}

.footer-text::before {
    content: "♡";
    display: block;
    color: var(--cb-rose);
    font-size: 1.2rem;
    margin-bottom: 8px;
    opacity: .75;
}

@keyframes cardIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .linktree-wrapper {
        padding: 28px 12px;
    }

    .linktree-card {
        padding: 34px 20px 24px;
        border-radius: 34px;
    }

    .brand-header h1 {
        font-size: 2.85rem;
    }

    .brand-header p {
        font-size: .96rem;
        margin-bottom: 30px;
    }

    .profile-photo-box {
        width: 108px;
        height: 108px;
    }

    .brand-logo {
        max-width: 96px;
    }

    .link-button {
        min-height: 78px;
        border-radius: 24px;
        padding: 15px;
    }

    .link-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
}