@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --brand-teal: #1abc9c;
    --brand-teal-dark: #16a085;
    --brand-blue: #4e73df;
    --brand-navy: #2c3e50;
    --brand-charcoal: #1a252f;
    --brand-success: #1cc88a;
    --brand-info: #36b9cc;
    --brand-warning: #f6c23e;
    --brand-danger: #e74a3b;
    --dark-bg: #0b0f19;
    --card-dark: #111827;
    --border-dark: #1f2937;
    --border-light: rgba(255, 255, 255, 0.08);
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: #f8fafc;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
}

/* Typography & Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #1abc9c 0%, #4e73df 50%, #36b9cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism & Cards */
.card-glass {
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: 16px;
}

.modal-glass {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

/* Public Bio Profile View Styling */
.bio-wrapper {
    min-height: 100vh;
    background: var(--bg-gradient, #0b0f19);
    display: flex;
    justify-content: center;
    padding: 3rem 1.25rem;
    transition: background 0.3s ease;
}

.bio-container {
    max-width: 480px;
    width: 100%;
}

.bio-avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.bio-avatar-fallback {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--avatar-fallback-bg, linear-gradient(135deg, #1abc9c, #2c3e50));
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.bio-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    letter-spacing: -0.02em;
}

.bio-handle {
    font-size: 0.9rem;
    color: var(--text-secondary, #94a3b8);
    font-weight: 500;
}

.bio-description {
    font-size: 0.95rem;
    color: var(--text-secondary, #cbd5e1);
    line-height: 1.5;
    max-width: 90%;
}

/* Social Icon Bar */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    color: var(--text-primary, #ffffff);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: var(--card-hover-bg, rgba(26, 188, 156, 0.2));
    border-color: var(--card-hover-border, #1abc9c);
    color: var(--text-primary, #ffffff);
}

/* Bio Link Card */
.bio-link-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--card-bg, rgba(255, 255, 255, 0.05));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    color: var(--text-primary, #ffffff);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.bio-link-card:hover {
    transform: translateY(-2px);
    background: var(--card-hover-bg, rgba(26, 188, 156, 0.15));
    border-color: var(--card-hover-border, #1abc9c);
    color: var(--text-primary, #ffffff);
    box-shadow: var(--accent-glow, 0 6px 20px rgba(26, 188, 156, 0.25));
}

.link-icon-box {
    font-size: 1.25rem;
    margin-right: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
}

.link-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-badge {
    background: var(--accent-color, #1abc9c);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    margin-right: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-arrow {
    color: var(--text-secondary, #94a3b8);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.bio-link-card:hover .link-arrow {
    transform: translate(2px, -2px);
    color: var(--text-primary, #ffffff);
}

/* Glass Buttons */
.btn-glass-sm {
    background: var(--card-bg, rgba(255, 255, 255, 0.06));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.12));
    color: var(--text-primary, #ffffff);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-glass-sm:hover {
    background: var(--card-hover-bg, rgba(255, 255, 255, 0.15));
    border-color: var(--card-hover-border, rgba(255, 255, 255, 0.3));
    color: var(--text-primary, #ffffff);
}

.brand-tag {
    font-size: 0.85rem;
}

.brand-link {
    color: var(--text-secondary, #94a3b8);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.brand-link:hover {
    opacity: 1;
    color: var(--text-primary, #ffffff);
}

.brand-link span {
    color: var(--accent-color, #1abc9c);
}

/* Phone Mockup Frame */
.phone-preview-wrapper {
    position: sticky;
    top: 2rem;
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 320px;
    height: 620px;
    background: #020617;
    border: 8px solid #1e293b;
    border-radius: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    position: relative;
}

.phone-notch {
    width: 110px;
    height: 16px;
    background: #1e293b;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border: none;
    background: #0b0f19;
}

/* Theme Option Cards */
.theme-option-card {
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.theme-option-card:hover {
    transform: scale(1.02);
}

.theme-option-card.selected {
    border-color: #1abc9c;
    box-shadow: 0 0 12px rgba(26, 188, 156, 0.4);
}

.theme-preview-box {
    height: 75px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.theme-preview-pill {
    width: 70%;
    height: 7px;
    border-radius: 4px;
    margin-top: 4px;
}
