/* Linktree / Landing Page Styles */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --bg-gradient: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --glass-bg: rgba(20, 20, 20, 0.8);
    --glass-border: 1px solid rgba(212, 175, 55, 0.3);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    --text-primary: #ffffff;
    --text-secondary: #D4AF37;
    /* Gold */
    --gold-accent: #D4AF37;
    --btn-radius: 50px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: #000000;
    /* Fallback */
    background: var(--bg-gradient);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* Allow scrolling */
    padding: 2rem 1rem;
}

.linktree-container {
    width: 100%;
    max-width: 600px;
    /* Mobile first, but constrained on desktop */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-bottom: 2rem;
}

/* Header Icons */
.header-actions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    padding: 0 1rem;
}

.icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.profile-pic {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.profile-section h1 {
    font-family: var(--font-body);
    /* Based on image, looks sans-serif bold */
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.profile-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Links List */
.links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: var(--glass-border);
    /* Gold border */
    border-radius: var(--btn-radius);
    padding: 0.35rem 0.5rem;
    /* Tight padding for the pill shape */
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    /* Glass effect */
    background: rgba(20, 20, 20, 0.6);
    position: relative;
    overflow: hidden;
}

.link-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    /* Gold tint */
    border-color: var(--gold-accent);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.link-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.link-img-container {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;

    /* Determine colors based on icon types? 
       Reference shows diverse icon styles. 
       We'll default to white bg with colored icon or vice versa.
    */
    background: #fff;
    color: #333;
}

/* Specific colors for icons to match reference vibes */
.icon-whatsapp {
    color: #25D366;
}

.icon-map {
    color: #EA4335;
}

.icon-rate {
    color: #333;
}

.icon-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.link-text {
    font-weight: 500;
    font-size: 0.95rem;
    white-space: normal;
    /* Allow wrap if text is long */
    text-align: left;
    line-height: 1.2;
}

.menu-dots {
    color: rgba(255, 255, 255, 0.6);
    padding: 0 1rem;
    font-size: 0.8rem;
}

/* FOOTER / SOCIALS */
.social-row {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-row a {
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: 0.3s;
}

.social-row a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ── Responsive tweaks for very small phones ── */
@media (max-width: 400px) {
    body { padding: 1.5rem 0.75rem; }

    .profile-pic { width: 80px; height: 80px; }
    .profile-section h1 { font-size: 1.25rem; }

    .link-btn { padding: 0.3rem 0.4rem; }
    .link-text { font-size: 0.85rem; }
    .link-img-container, .link-icon-circle { width: 38px; height: 38px; font-size: 1rem; }
}