/* CSS VARIABLES / DESIGN SYSTEM */
:root {
    --bg-gradient: linear-gradient(135deg, #FAF8F6 0%, #F3ECE6 100%);
    --card-bg: #FFFFFF;
    --card-border: rgba(184, 144, 71, 0.12);
    --card-border-hover: rgba(184, 144, 71, 0.45);
    
    /* Branding Colors */
    --gold-primary: #B89047;
    --gold-dark: #977332;
    --gold-light: rgba(184, 144, 71, 0.1);
    
    /* Typography Colors */
    --text-primary: #2C2924;
    --text-secondary: #6E665E;
    
    /* Brand specific accents (subtle hover highlights) */
    --instagram-color: #E1306C;
    --facebook-color: #1877F2;
    --threads-color: #000000;
    --twitter-color: #0F1419;
    --tiktok-color: #000000;
    
    /* Shadows & Animation */
    --shadow-soft: 0 4px 20px rgba(44, 41, 36, 0.04);
    --shadow-hover: 0 10px 25px rgba(184, 144, 71, 0.12);
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* BASE RESET */
* {
    margin: 0;
    padding: 0;
    box-box: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #FAF8F6;
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
}

/* DECORATIVE BACKGROUND GLOWS */
.bg-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.bg-glow-1 {
    top: -50px;
    left: -50px;
    background: rgba(184, 144, 71, 0.15);
}

.bg-glow-2 {
    bottom: 50px;
    right: -50px;
    background: rgba(184, 144, 71, 0.1);
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* PROFILE HEADER */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 36px;
    text-align: center;
    width: 100%;
}

.profile-img-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 20px;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #DFCEB4 100%);
    box-shadow: 0 12px 30px rgba(184, 144, 71, 0.2);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-img-wrapper:hover {
    transform: scale(1.03) rotate(1deg);
}

#profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px; /* inner rounded corner */
    display: block;
}

.profile-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.profile-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* LINKS CONTAINER */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

/* LINK BUTTONS */
.link-btn {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 62px;
    padding: 12px 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Sub-elements inside buttons */
.icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #FAF8F6;
    margin-right: 16px;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.link-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
    transition: var(--transition-smooth);
}

.arrow-wrapper {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    transition: var(--transition-smooth);
    transform: translateX(-4px);
}

.arrow-icon {
    width: 18px;
    height: 18px;
}

/* Hover States for all buttons */
.link-btn:hover {
    transform: translateY(-2px);
    border-color: var(--card-border-hover);
    box-shadow: var(--shadow-hover);
}

.link-btn:hover .arrow-wrapper {
    opacity: 0.8;
    transform: translateX(0);
}

/* Active touch state for mobile */
.link-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(184, 144, 71, 0.05);
}

/* Individual Network Hover Accents */

/* Instagram */
.link-btn.instagram:hover {
    background: linear-gradient(to right, #FFFFFF 85%, rgba(225, 48, 108, 0.04) 100%);
}
.link-btn.instagram:hover .icon-wrapper {
    background: rgba(225, 48, 108, 0.1);
    color: var(--instagram-color);
}
.link-btn.instagram:hover .link-text {
    color: var(--instagram-color);
}

/* Facebook */
.link-btn.facebook:hover {
    background: linear-gradient(to right, #FFFFFF 85%, rgba(24, 119, 242, 0.04) 100%);
}
.link-btn.facebook:hover .icon-wrapper {
    background: rgba(24, 119, 242, 0.1);
    color: var(--facebook-color);
}
.link-btn.facebook:hover .link-text {
    color: var(--facebook-color);
}

/* Threads */
.link-btn.threads:hover {
    background: linear-gradient(to right, #FFFFFF 85%, rgba(0, 0, 0, 0.04) 100%);
}
.link-btn.threads:hover .icon-wrapper {
    background: rgba(0, 0, 0, 0.05);
    color: var(--threads-color);
}
.link-btn.threads:hover .link-text {
    color: var(--threads-color);
}

/* Twitter */
.link-btn.twitter:hover {
    background: linear-gradient(to right, #FFFFFF 85%, rgba(15, 20, 25, 0.04) 100%);
}
.link-btn.twitter:hover .icon-wrapper {
    background: rgba(15, 20, 25, 0.05);
    color: var(--twitter-color);
}
.link-btn.twitter:hover .link-text {
    color: var(--twitter-color);
}

/* TikTok */
.link-btn.tiktok:hover {
    background: linear-gradient(to right, #FFFFFF 85%, rgba(0, 0, 0, 0.04) 100%);
}
.link-btn.tiktok:hover .icon-wrapper {
    background: rgba(0, 0, 0, 0.05);
    color: var(--tiktok-color);
}
.link-btn.tiktok:hover .link-text {
    color: var(--tiktok-color);
}


/* FOOTER */
.footer {
    width: 100%;
    text-align: center;
    padding: 16px 0;
    margin-top: auto;
}

.footer p {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS */
@media (max-width: 480px) {
    body {
        padding: 24px 16px;
    }
    
    .profile-header {
        margin-bottom: 28px;
    }
    
    .profile-img-wrapper {
        width: 115px;
        height: 115px;
        margin-bottom: 16px;
    }
    
    .profile-name {
        font-size: 22px;
    }
    
    .links-container {
        gap: 12px;
    }
    
    .link-btn {
        min-height: 56px;
        padding: 10px 16px;
        border-radius: 14px;
    }
    
    .icon-wrapper {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        margin-right: 12px;
    }
    
    .social-icon {
        width: 18px;
        height: 18px;
    }
    
    .link-text {
        font-size: 14px;
    }
}
