/*
 * PROJECT: Att Mahfuj - White Royal Edition (Luxury Upgrade)
 * FILE: style.css
 * DESCRIPTION: Premium Gold Grid Theme, Hind Siliguri Typography & Royal UI
 */

/* =========================================
   1. FONTS & VARIABLES (Luxury Setup)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600&family=Playfair+Display:wght@700;800&display=swap');

:root {
    /* Royal Gold Color Palette */
    --bg-body: #fdfbf0; /* Light Golden Cream */
    --bg-card: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --gold-main: #cfa640;
    --gold-dark: #b38f2d;
    --gold-light: #f9f4e3;
    --gold-grid: rgba(207, 166, 64, 0.07); /* Subtle Grid Line Color */
    
    --shadow-premium: 0 15px 35px rgba(207, 166, 64, 0.12);
    --border-royal: 1px solid rgba(207, 166, 64, 0.2);
    --font-bengali: 'Hind Siliguri', sans-serif;
    --font-main: 'Outfit', sans-serif;
}

/* =========================================
   2. GLOBAL STYLES & GRID BACKGROUND
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    /* Digital Architect Grid Pattern */
    background-image: 
        linear-gradient(var(--gold-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--gold-grid) 1px, transparent 1px);
    background-size: 25px 25px; /* Small Grid Box Size */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================
   3. NAVIGATION (Royal Bar)
   ========================================= */
.navbar {
    padding: 18px 25px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(207, 166, 64, 0.15);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-greet {
    font-size: 10px;
    color: var(--gold-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 15px 100px;
}

/* =========================================
   4. HERO & PROFILE CARD
   ========================================= */
.hero-section {
    width: 100%;
    height: 200px;
    margin-top: 20px;
    background: linear-gradient(135deg, #fdf8e6 0%, #f3e9c8 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    border: var(--border-royal);
}

#canvas-holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.profile-card {
    background: var(--bg-card);
    margin: -70px 10px 0;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-premium);
    border: var(--border-royal);
}

.img-wrap {
    width: 130px;
    height: 130px;
    margin: -95px auto 15px;
    position: relative;
}

.p-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(207, 166, 64, 0.2);
}

.status-dot {
    width: 18px;
    height: 18px;
    background: #2ed573;
    border: 3px solid #fff;
    border-radius: 50%;
    position: absolute;
    bottom: 8px;
    right: 8px;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.5);
}

.name {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 5px;
}
/* Verified Icon Styling */
.verified-icon {
    width: 24px;       /* 84px থেকে কমিয়ে ছোট করা হলো */
    height: 24px;
    margin-left: 6px;  /* নামের থেকে একটু দূরত্ব */
    vertical-align: middle; /* টেক্সটের মাঝ বরাবর বসবে */
    margin-bottom: 4px; /* সামান্য এডজাস্টমেন্ট */
    animation: verifyPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ভেরিফাইড আইকনের জন্য ছোট্ট পপ অ্যানিমেশন */
@keyframes verifyPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.role {
    color: var(--gold-main);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* =========================================
   5. ACTION BUTTONS (Dopamine UI)
   ========================================= */
.actions-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.btn-act {
    padding: 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #f1f1f1;
    background: #fff;
    color: var(--text-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-act i { font-size: 18px; margin-bottom: 2px; }

.btn-act:hover {
    border-color: var(--gold-main);
    background: var(--gold-light);
    color: var(--gold-main);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(207, 166, 64, 0.1);
}

.btn-gold {
    background: linear-gradient(135deg, #d4a017, #f39c12) !important;
    color: #fff !important;
    border: none !important;
}
.btn-gold i { color: #fff !important; }

/* =========================================
   6. ABOUT ME (Hind Siliguri Upgrade)
   ========================================= */
.white-panel {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    margin: 25px 10px;
    box-shadow: var(--shadow-premium);
    border: var(--border-royal);
}

.h-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.h-title i { color: var(--gold-main); font-size: 18px; }

.about-content {
    font-family: var(--font-bengali);
    font-size: 16px;
    line-height: 1.8; /* Better Line Spacing */
    color: #333;
    text-align: justify;
    white-space: pre-line; /* This enables Line Breaks from Database */
}

/* =========================================
   7. DIGITAL EMPIRE (List Styles)
   ========================================= */
.list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 12px;
}

.list-row:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}

.lr-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 15px;
    font-weight: 500;
}

.icon-circle {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.arrow { font-size: 12px; color: #ccc; }

/* =========================================
   8. MODALS & POPUPS (Golden UI & Lightbox Fixed)
   ========================================= */
.modal-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* Darker background for focus */
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center; /* Horizontally Center */
    align-items: center;     /* Vertically Center */
    padding: 20px;
}

.modal-overlay.active { 
    display: flex !important; /* Force Flexbox for Centering */
}

/* Lightbox Specific Wrapper */
.lightbox-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

/* Lightbox Image - Mobile Optimized */
#lightbox-img {
    max-width: 90vw;  /* স্ক্রিনের ৯০% এর বেশি চওড়া হবে না */
    max-height: 80vh; /* স্ক্রিনের ৮০% এর বেশি লম্বা হবে না */
    width: auto;
    height: auto;
    object-fit: contain; /* রেশিও ঠিক রেখে জুম হবে */
    border-radius: 12px;
    border: 2px solid rgba(207, 166, 64, 0.5); /* Royal Border */
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    display: block;
}

/* Close Button Design */
.close-lightbox {
    margin-top: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

.close-lightbox:hover {
    background: var(--gold-main);
    border-color: var(--gold-main);
    transform: rotate(90deg);
}

/* Golden Link Popup Style */
.gold-popup {
    background: #fff;
    width: 100%;
    max-width: 320px;
    padding: 30px 20px;
    border-radius: 24px;
    text-align: center;
    border: 2px solid var(--gold-main);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: popupAnim 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

@keyframes popupAnim {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.gp-icon {
    width: 60px; height: 60px;
    background: var(--gold-light);
    color: var(--gold-main);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex; justify-content: center; align-items: center;
    font-size: 24px;
}

.gp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.gp-btn {
    padding: 12px;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.3s;
}

.btn-open { background: var(--gold-main); color: #fff; }
.btn-copy { background: #f1f1f1; color: var(--text-dark); }

.gp-close {
    margin-top: 15px;
    font-size: 12px;
    color: #999;
    cursor: pointer;
    text-decoration: underline;
}

/* =========================================
   9. AI CHATBOX & OTHERS
   ========================================= */
#ai-chat-widget {
    position: fixed; bottom: 25px; right: 25px; z-index: 1000;
}

/* =========================================
   STYLE.CSS UPDATE - AI ROBOT ANIMATION
   ========================================= */

/* 1. রোবট আইকনের বাউন্স এবং ইলাস্টিক অ্যানিমেশন */
@keyframes rubberBallRobot {
    0% { transform: scale3d(1, 1, 1) translateY(0); }
    30% { transform: scale3d(1.25, 0.75, 1) translateY(0); } /* চাপ খেয়ে চ্যাপ্টা হওয়া (Squash) */
    40% { transform: scale3d(0.75, 1.25, 1) translateY(-15px); } /* লাফ দিয়ে লম্বা হওয়া (Stretch) */
    50% { transform: scale3d(1.15, 0.85, 1) translateY(0); } /* ল্যান্ড করে আবার চ্যাপ্টা হওয়া */
    65% { transform: scale3d(0.95, 1.05, 1) translateY(-5px); } /* ছোট বাউন্স */
    75% { transform: scale3d(1.05, 0.95, 1) translateY(0); } /* ল্যান্ড */
    100% { transform: scale3d(1, 1, 1) translateY(0); } /* স্থিতিশীল */
}

/* বাটন কন্টেইনার (আগের ফ্লোটিং ইফেক্ট সরিয়ে ফেলা হয়েছে বা হালকা করা হয়েছে) */
.chat-toggle-btn {
    width: 55px; height: 55px;
    background: var(--gold-main);
    border-radius: 50%; /* পুরোপুরি গোল বলের মতো */
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 20px rgba(207, 166, 64, 0.4);
    color: #fff; font-size: 24px; cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

/* আইকনের ভিতরের রোবট - প্রতি সেকেন্ডে বাউন্স করবে */
.chat-toggle-btn i {
    display: inline-block;
    animation: rubberBallRobot 1s infinite ease-in-out;
    transform-origin: bottom center; /* নিচ থেকে বাউন্স হবে */
}

/* যখন চ্যাট ওপেন থাকবে (অ্যানিমেশন বন্ধ) */
.chat-toggle-btn.is-chatting {
    transform: scale(0.9); /* চ্যাট ওপেন হলে বাটন একটু ছোট হবে */
    background: #1a1a1a; /* কালার পরিবর্তন (অপশনাল) */
}

.chat-toggle-btn.is-chatting i {
    animation: none; /* রোবট থমকে যাবে */
    transform: scale(1) translateY(0);
}

/* Lightbox Fix */
#lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 16px;
    border: 3px solid #fff;
}

/* Responsive */
@media (max-width: 480px) {
    .name { font-size: 24px; }
    .white-panel { padding: 20px 15px; }
}


/* =========================================
   10. CONTACT FORM & FILE UPLOAD (Premium)
   ========================================= */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    font-family: var(--font-bengali); /* Bengali support in form */
    font-size: 15px;
    transition: 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--gold-main);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(207, 166, 64, 0.05);
}

.msg-box-wrapper {
    position: relative;
    width: 100%;
}

/* Attach Icon inside Textarea */
.attach-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--gold-light);
    color: var(--gold-main);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.attach-btn:hover {
    background: var(--gold-main);
    color: #fff;
}

/* Real-time File Preview List */
#upload-preview-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 5px;
}

.file-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gold-main);
    width: 0%;
    transition: width 0.3s;
}

.btn-send {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #1a1a1a, #333);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-send:hover {
    background: var(--gold-main);
    transform: translateY(-2px);
}

/* =========================================
   11. AI CHATBOX INTERIOR (Royal UI)
   ========================================= */
.chat-box {
    position: absolute; bottom: 75px; right: 0;
    width: 340px; height: 500px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(207, 166, 64, 0.2);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.chat-header {
    background: #1a1a1a;
    padding: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ch-info { display: flex; align-items: center; gap: 12px; }
.ch-avatar { 
    width: 35px; height: 35px; background: var(--gold-main); 
    border-radius: 10px; display: flex; justify-content: center; 
    align-items: center; font-weight: bold; font-size: 14px;
}

.ch-name { font-weight: 600; font-size: 14px; }
.ch-status { font-size: 10px; color: #2ed573; }

.chat-body {
    flex: 1; padding: 20px; overflow-y: auto;
    background: #fdfdfd; display: flex; flex-direction: column; gap: 12px;
}

.msg {
    max-width: 85%; padding: 12px 16px; border-radius: 16px;
    font-size: 14px; line-height: 1.5; font-family: var(--font-bengali);
}

.ai-msg {
    background: #f1f1f1; color: #333; align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-msg {
    background: var(--gold-main); color: #fff; align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Sticky Questions (Chips) */
.sticky-chips {
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border-top: 1px solid #eee;
    display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none;
}

.chip {
    padding: 8px 15px; background: var(--gold-light);
    color: var(--gold-main); border: 1px solid var(--gold-main);
    border-radius: 20px; font-size: 11px; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: 0.3s;
}

.chip:hover { background: var(--gold-main); color: #fff; }

.chat-footer {
    padding: 15px; background: #fff; border-top: 1px solid #eee;
    display: flex; gap: 10px;
}

.chat-footer input {
    flex: 1; border: none; background: #f5f5f5;
    padding: 12px 15px; border-radius: 12px; font-size: 14px;
}

.chat-footer button {
    width: 45px; height: 45px; background: #1a1a1a;
    color: #fff; border: none; border-radius: 12px; cursor: pointer;
}

/* Typing Indicator */
.typing { font-size: 11px; color: #999; margin-left: 5px; font-family: var(--font-main); }

/* =========================================
   ADDITIONAL LUXURY FIXES (TRILLION DOLLAR EDITION)
   ========================================= */

/* 1. AI FLOATING & BOUNCING MOVEMENT (লাফালাফি মুভমেন্ট) */
.chat-toggle-btn {
    animation: royalFloat 3s ease-in-out infinite, royalAttention 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(207, 166, 64, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* আলতো করে উপরে-নিচে ভাসা */
@keyframes royalFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* প্রতি ৬ সেকেন্ড পর পর ইউজারের দৃষ্টি আকর্ষণ করতে লাফানো */
@keyframes royalAttention {
    0%, 80%, 100% { transform: scale(1); }
    85% { transform: scale(1.1) rotate(5deg); }
    90% { transform: scale(1.1) rotate(-5deg); }
    95% { transform: scale(1.2); }
}

.chat-toggle-btn:hover {
    animation-play-state: paused; /* হোভার করলে মুভমেন্ট থামবে */
    transform: scale(1.1) rotate(360deg);
    background: var(--gold-dark);
}

/* 2. ABOUT ME SECTION SPACING & SHOW MORE FIX */
.about-content-wrapper {
    position: relative;
    margin-top: -10px; /* অতিরিক্ত টপ স্পেস কমানো */
}

.about-content {
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* যখন টেক্সট কমানো থাকবে */
.about-content.minimized {
    max-height: 140px; /* আপনি কতটুকু দেখাতে চান তা এখান থেকে কন্ট্রোল করবেন */
    position: relative;
}

/* কমানো অবস্থায় নিচে হালকা ঝাপসা ইফেক্ট (Fade Effect) */
.about-content.minimized::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, rgba(255,255,255,0.9));
}

/* যখন সব টেক্সট দেখা যাবে */
.about-content.expanded {
    max-height: 3000px; /* পর্যাপ্ত হাইট যাতে সব টেক্সট ধরে */
}

/* Show More বাটন ডিজাইন */
#about-toggle-btn {
    background: var(--gold-light);
    color: var(--gold-main);
    border: 1px solid rgba(207, 166, 64, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

#about-toggle-btn:hover {
    background: var(--gold-main);
    color: #fff;
}

/* 3. LUXURY SCROLLBAR (গোল্ডেন কাস্টম স্ক্রলবার) */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: var(--gold-main);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Footer Note styling */
.footer-note {
    text-align: center;
    font-size: 11px;
    color: #999;
    margin-top: 30px;
    padding-bottom: 20px;
    font-family: var(--font-main);
}

/* AI FLOAT & BOUNCE */
.chat-toggle-btn {
    animation: floating 3s ease-in-out infinite, bouncing 6s ease-in-out infinite;
}
@keyframes floating { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bouncing { 0%, 80%, 100% { transform: scale(1); } 90% { transform: scale(1.1); } }

/* ABOUT ME TOGGLE CSS */
.about-content { transition: max-height 0.5s ease-in-out; overflow: hidden; }
.about-content.minimized { max-height: 140px; position: relative; }
.about-content.minimized::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40px;
    background: linear-gradient(transparent, #fff);
}
.about-content.expanded { max-height: 2000px; }

/* MODAL OVERLAY CENTER */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 9999; justify-content: center; align-items: center;
}
.modal-overlay.active { display: flex; }


/* Add this to style.css OR I can inject it via JS if you prefer */
.copyable-block {
    background: #e1e1e1;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: bold;
    color: #d63031;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 4px;
}
.copyable-block i {
    cursor: pointer;
    color: #555;
    transition: 0.2s;
}
.copyable-block i:hover {
    color: #000;
    transform: scale(1.2);
}


/* --- SMART LINK CHIPS (Chatbot) --- */
.smart-link-chip {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 5px 12px;
    margin: 5px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: 0.2s;
    max-width: 100%;
}

.smart-link-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.sl-text {
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
}

.sl-divider {
    width: 1px;
    height: 15px;
    background: #ddd;
    margin: 0 10px;
}

.sl-copy {
    cursor: pointer;
    color: #888;
    font-size: 14px;
    transition: 0.2s;
}
.sl-copy:hover { color: #000; }

/* Brand Colors */
.btn-fb .sl-text { color: #1877F2; }
.btn-fb { border-color: #1877F2; background: #f0f6ff; }

.btn-yt .sl-text { color: #FF0000; }
.btn-yt { border-color: #FF0000; background: #fff0f0; }

.btn-wa .sl-text { color: #25D366; }
.btn-wa { border-color: #25D366; background: #f0fff4; }

.btn-web .sl-text { color: #cfa640; } /* Royal Gold */
.btn-web { border-color: #cfa640; background: #fffcf0; }

/* Code Block Style */
.copyable-block {
    display: inline-block;
    background: #2d3436;
    color: #81ecec;
    font-family: monospace;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 5px;
}
.copyable-block i {
    margin-left: 8px;
    cursor: pointer;
    color: #fff;
}


