/* ============================================
   Thais Abreu Boutique - Link Bio Stylesheet
   Palette: Nude / Bege / Marrom / Cinza Escuro
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --nude:         #c9b09a;
    --nude-light:   #ddd0c2;
    --nude-lighter: #efe6dc;
    --beige:        #d4c4b0;
    --brown:        #5c4033;
    --brown-dark:   #3b2a1f;
    --brown-medium: #7a5c4a;
    --charcoal:     #2e2e2e;
    --cream:        #f5efe8;
    --gold:         #b8965a;
    --gold-light:   #d4af6f;
    --white:        #fff;
    --white-soft:   rgba(255, 255, 255, 0.92);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Outfit', -apple-system, sans-serif;

    --shadow-card: 0 4px 24px rgba(59, 42, 31, 0.12),
                   0 1px 4px rgba(59, 42, 31, 0.08);
    --shadow-hover: 0 8px 40px rgba(59, 42, 31, 0.2),
                    0 2px 8px rgba(59, 42, 31, 0.1);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--brown-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow-x: hidden;
}

/* --- Background --- */
.bg-image {
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url('background.jpg') center center / cover no-repeat;
    filter: blur(4px) brightness(0.85);
    transform: scale(1.05); /* prevent blur edges */
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(201, 176, 154, 0.55) 0%,
        rgba(92, 64, 51, 0.50) 50%,
        rgba(59, 42, 31, 0.65) 100%
    );
    backdrop-filter: blur(2px);
}

/* --- Floating Particles --- */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.35), transparent 70%);
    animation: float-particle linear infinite;
    pointer-events: none;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* --- Container --- */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    padding: 40px 20px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* --- Profile Section --- */
.profile-section {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo */
.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.logo-ring {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--gold-light);
    animation: ring-pulse 3s ease-in-out infinite;
}

@keyframes ring-pulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.04); 
    }
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(59, 42, 31, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(59, 42, 31, 0.4);
}

/* Brand Name */
.brand-name {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 1px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.brand-subtitle {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 5px;
    color: var(--gold-light);
    margin-top: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Bio */
.bio-text {
    font-size: 1rem;
    color: var(--cream);
    margin-top: 16px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.bio-location {
    font-size: 0.9rem;
    color: var(--nude-light);
    margin-top: 4px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.bio-description {
    font-size: 0.85rem;
    color: rgba(245, 239, 232, 0.8);
    margin-top: 4px;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* --- Links Section --- */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Link Card */
.link-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.08) 100%
    );
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    text-decoration: none;
    color: var(--cream);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(59, 42, 31, 0.15);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
}

.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(212, 175, 111, 0.0) 0%,
        rgba(212, 175, 111, 0.15) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 16px;
}

/* Stagger animations */
.link-card:nth-child(1) { animation-delay: 0.15s; }
.link-card:nth-child(2) { animation-delay: 0.25s; }
.link-card:nth-child(3) { animation-delay: 0.35s; }
.link-card:nth-child(4) { animation-delay: 0.45s; }
.link-card:nth-child(5) { animation-delay: 0.55s; }
.link-card:nth-child(6) { animation-delay: 0.65s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 32px rgba(59, 42, 31, 0.25);
    border-color: rgba(212, 175, 111, 0.4);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );
}

.link-card:hover::before {
    opacity: 1;
}

.link-card:active {
    transform: translateY(-1px) scale(0.99);
}

/* Link Icon */
.link-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(184, 150, 90, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.link-card:hover .link-icon {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(184, 150, 90, 0.45);
}

/* Link Content */
.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.link-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.2px;
}

.link-desc {
    font-size: 0.75rem;
    font-weight: 300;
    color: rgba(245, 239, 232, 0.65);
}

/* Link Arrow */
.link-arrow {
    flex-shrink: 0;
    color: rgba(245, 239, 232, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.link-card:hover .link-arrow {
    color: var(--gold-light);
    transform: translateX(3px);
}

/* --- Map Embed Section --- */
.map-section {
    width: 100%;
    margin-top: 24px;
    animation: fadeInUp 0.6s ease-out 0.65s both;
}

.map-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 14px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.map-title svg {
    color: var(--gold-light);
    flex-shrink: 0;
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 24px rgba(59, 42, 31, 0.2);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    border-radius: 15px;
}

.map-address {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(245, 239, 232, 0.65);
    text-align: center;
    margin-top: 10px;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* --- Footer --- */
.footer {
    margin-top: 28px;
    text-align: center;
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.footer-address {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(245, 239, 232, 0.5);
    letter-spacing: 0.5px;
}

/* --- Responsive --- */
@media (max-width: 480px) {
    .container {
        padding: 32px 16px 28px;
    }

    .brand-name {
        font-size: 1.9rem;
    }

    .link-card {
        padding: 14px 14px;
        gap: 12px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
    }

    .link-title {
        font-size: 0.88rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding-top: 60px;
    }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--nude);
    border-radius: 4px;
}

/* --- Selection --- */
::selection {
    background: var(--gold-light);
    color: var(--brown-dark);
}
