/* 
   InstaStar HR (insta.hr.pe.kr) Design System & Styles
   Premium Light Theme with Glassmorphism & High-end Aesthetics
*/

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

:root {
    /* Color Palette */
    --bg-base: #f7f8fb;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-solid: #ffffff;
    --bg-surface-hover: rgba(240, 240, 245, 0.85);
    
    --border-color: rgba(0, 0, 0, 0.07);
    --border-color-active: rgba(255, 75, 145, 0.35);
    
    --text-primary: #1c1c24;
    --text-secondary: #585966;
    --text-muted: #8c8d9e;
    
    /* Brand Gradients & Colors */
    --color-primary: #ff4b91;       /* HSL 340, 100%, 65% */
    --color-secondary: #7b3fe4;     /* HSL 260, 100%, 65% */
    --color-accent: #00adb5;        /* Neon Mint/Cyan */
    --color-gold: #e67e22;          /* VIP gold */
    
    --grad-primary: linear-gradient(135deg, #ff4b91 0%, #8b4bff 100%);
    --grad-vip: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
    --grad-dark: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    --grad-glow: 0 8px 32px 0 rgba(255, 75, 145, 0.12);
    --grad-glow-vip: 0 8px 32px 0 rgba(243, 156, 18, 0.15);
    
    /* Layout Details */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    --font-heading: 'Outfit', 'Inter', 'Noto Sans KR', sans-serif;
    --font-body: 'Inter', 'Noto Sans KR', sans-serif;
}

/* Global Reset & Base Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 75, 255, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 75, 145, 0.04) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
    color: inherit;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 75, 145, 0.4);
}

/* Glassmorphism Utility */
.glassmorphic {
    background: var(--bg-surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
}

/* Text Highlights */
.font-accent {
    color: var(--color-primary);
    font-weight: 600;
}
.font-sub {
    color: var(--text-secondary);
}
.growth-positive {
    color: #27ae60;
    font-weight: 600;
}
.growth-negative {
    color: #c0392b;
    font-weight: 600;
}

/* Layout Grid and Wrapper */
.app-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

/* 1. Header & Navigation (GNB) */
.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    height: 70px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-family: var(--font-heading);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    color: #1e1e2d;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
}

.nav-link.active {
    border-bottom: 2.5px solid var(--color-primary);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    background: rgba(255, 75, 145, 0.04);
    color: var(--color-primary);
    font-weight: 600;
}

.user-status-widget {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.points-display {
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.04);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    color: var(--text-primary);
}

.badge-vip {
    background: var(--grad-vip);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    box-shadow: var(--grad-glow-vip);
    animation: pulse 2s infinite;
}

.badge-free {
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
}

/* 2. Main Content Wrapper */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
}

.app-section {
    display: none;
    animation: fadeIn 0.4s ease-in-out forwards;
}

.app-section.active {
    display: block;
}

/* 3. Hero / Stats Dashboard */
.hero-dashboard {
    margin-bottom: 2.5rem;
    padding: 2.2rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.hero-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 75, 145, 0.07) 0%, transparent 70%);
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #1c1c24 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.stats-grid {
    display: flex;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.stat-card {
    padding: 1.25rem 2rem;
    min-width: 160px;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-card h4 {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* 4. Controls (Search & Filters) */
.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid var(--border-color);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.search-box input:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 75, 145, 0.1);
}

.search-box i {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.category-chips {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.category-chip {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.88rem;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}

.category-chip:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
}

.category-chip.active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--grad-glow);
}

/* 5. Filter/Sort Tabs */
.filter-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
}

.filter-tab {
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.filter-tab:hover {
    color: var(--text-primary);
}

.filter-tab.active {
    color: var(--color-primary);
    font-weight: 600;
}

.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -0.35rem;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* 6. Influencer Cards Grid */
.influencer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.influencer-card {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.influencer-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-active);
    box-shadow: 0 10px 30px rgba(255, 75, 145, 0.08);
}

.card-rank {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.06);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.card-avatar-wrapper {
    position: relative;
}

.card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.05);
    background: #f0f2f5;
}

.influencer-card:hover .card-avatar {
    border-color: var(--color-primary);
}

.card-meta h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.card-name-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-badge {
    font-size: 0.72rem;
    background: rgba(139, 75, 255, 0.05);
    color: var(--color-secondary);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    border: 1px solid rgba(139, 75, 255, 0.15);
}

.card-handle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.card-body {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 1rem;
    margin-bottom: 1.25rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-val {
    font-weight: 500;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 0.8rem;
}

.view-detail-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    color: var(--text-muted);
}

.influencer-card:hover .view-detail-btn {
    background: var(--color-primary);
    color: #fff;
}

/* 7. AdSense Integrated Cards */
.ad-card {
    background: radial-gradient(circle at 0% 0%, rgba(255, 75, 145, 0.03) 0%, rgba(139, 75, 255, 0.03) 100%), #ffffff;
    border: 1px dashed rgba(255, 75, 145, 0.3);
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 230px;
}

.ad-card:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 75, 145, 0.3);
}

.ad-label {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--color-primary);
    font-weight: 700;
}

.ad-content {
    margin: 1rem 0;
}

.ad-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.ad-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.ad-btn {
    background: var(--grad-primary);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: var(--grad-glow);
    cursor: pointer;
    color: #fff;
}

.ad-google-badge {
    text-align: right;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Ad Placement Containers */
.top-ad-wrapper {
    margin: 2rem 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.top-ad-wrapper .ad-label {
    position: absolute;
    top: 0.3rem;
    left: 1rem;
    font-size: 0.6rem;
    color: var(--text-muted);
}

.modal-ad-wrapper {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* 8. Detailed Analysis Modal */
.modal-overlay {
    display: none; /* JS로 제어 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 25, 0.45);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease-out;
}

.modal-content-wrapper {
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition-fast);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.modal-close-btn:hover {
    background: var(--color-primary);
    color: white;
    border-color: transparent;
}

/* Modal Internal Layout */
.modal-profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.modal-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    box-shadow: var(--grad-glow);
}

.modal-profile-meta {
    flex: 1;
    min-width: 250px;
}

.modal-title-row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.modal-title-row h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-handle-lbl {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.modal-bio-txt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.02);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* Modal Stats Dashboard */
.modal-stats-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.modal-stat-card {
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.015);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.modal-stat-card h5 {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.modal-stat-card .modal-stat-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Tab contents inside modal */
.modal-grid-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .modal-grid-layout {
        grid-template-columns: 1fr;
    }
}

.chart-section {
    margin-bottom: 2rem;
}

.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.015);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.feed-section h4, .chart-section h4, .mutuals-section h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1.5px solid var(--border-color);
    padding-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Feed Posts in Modal */
.feed-post-card {
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.feed-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.02);
}

.feed-user-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.feed-username {
    font-size: 0.85rem;
    font-weight: 600;
}

.feed-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feed-post-media {
    position: relative;
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #f0f2f5;
}

.feed-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.feed-post-body {
    padding: 1rem;
}

.feed-content {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.feed-actions {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.feed-actions i {
    margin-right: 0.25rem;
}

/* Premium Content Blur & Locks */
.feed-locked {
    position: relative;
}

.feed-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    padding: 1.5rem;
    text-align: center;
}

.feed-lock-overlay i {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    animation: lockBounce 2s infinite;
}

.feed-lock-overlay p {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.unlock-btn {
    background: var(--grad-vip);
    color: #fff;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--grad-glow-vip);
    transition: var(--transition-fast);
}

.unlock-btn:hover {
    transform: scale(1.05);
}

.blurred-image-placeholder {
    height: 250px;
    width: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(15px);
}

.badge-vip-small {
    background: var(--grad-vip);
    color: #fff;
    font-weight: 700;
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.badge-free-small {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.68rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Mutuals Column inside modal */
.mutual-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    transition: var(--transition-fast);
}

.mutual-item:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(255, 75, 145, 0.2);
}

.mutual-item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.mutual-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.mutual-name-box {
    display: flex;
    flex-direction: column;
}

.mutual-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mutual-handle {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.badge-mutual {
    font-size: 0.72rem;
    background: rgba(0, 173, 181, 0.1);
    color: var(--color-accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    border: 1px solid rgba(0, 173, 181, 0.25);
}

.no-mutual {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding: 1.5rem 0;
}

/* 9. Mutual Connection Network View (Tab) */
.mutuals-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mutual-network-card {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.net-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.net-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.net-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.net-user-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-primary);
}

.net-handle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.badge-cat-mini {
    font-size: 0.65rem;
    background: rgba(255, 75, 145, 0.06);
    color: var(--color-primary);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.net-stats {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.net-stats strong {
    color: var(--color-primary);
}

.net-card-body h5 {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.partners-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.partner-bubble {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.partner-bubble:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

.partner-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* Premium lock overlay for lists */
.premium-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    color: var(--text-primary);
}

.premium-blur-overlay p {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.premium-blur-overlay i {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.unlock-btn-small {
    background: var(--grad-vip);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--grad-glow-vip);
}

.blurred-content-box {
    filter: blur(12px);
    opacity: 0.25;
    pointer-events: none;
}

/* 10. Updates Feed Timeline View */
.updates-timeline {
    max-width: 700px;
    margin: 1.5rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.update-timeline-item {
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    cursor: pointer;
}

.timeline-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.timeline-user-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-handle {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.timeline-badge-sec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timeline-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
}

@media (max-width: 576px) {
    .timeline-body {
        grid-template-columns: 1fr;
    }
}

.timeline-media-box {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 150px;
    background: #f0f2f5;
}

.timeline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-text-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.timeline-text-box p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.timeline-actions {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.timeline-actions i {
    margin-right: 0.25rem;
}

.locked-post {
    border: 1px solid rgba(243, 156, 18, 0.25);
}

.timeline-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    z-index: 5;
    text-align: center;
    padding: 1rem;
}

.timeline-lock-overlay p {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-lock-overlay i {
    color: var(--color-gold);
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.timeline-blurred-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(12px);
}

/* 11. Premium Subscription Panel (Tab) */
.premium-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.premium-title-sec {
    margin-bottom: 3rem;
}

.premium-title-sec h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--grad-vip);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-title-sec p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.pricing-card.vip-deal {
    border: 2px solid var(--color-gold);
    box-shadow: var(--grad-glow-vip);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--color-primary);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
}

.price-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price-header .price-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.price-header .price-period {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.price-features {
    margin: 2rem 0;
    text-align: left;
}

.price-features li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features li i {
    color: var(--color-primary);
}

.pricing-card.vip-deal .price-features li i {
    color: var(--color-gold);
}

.subscribe-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.subscribe-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: var(--text-muted);
}

.pricing-card.vip-deal .subscribe-btn {
    background: var(--grad-vip);
    color: #fff;
    border: none;
    box-shadow: var(--grad-glow-vip);
}

.pricing-card.vip-deal .subscribe-btn:hover {
    transform: scale(1.02);
}

.vip-reset-honey {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    cursor: pointer;
    text-decoration: underline;
}

/* 12. Request Registration Panel (Tab) */
.request-container {
    max-width: 800px;
    margin: 0 auto;
}

.request-card {
    padding: 2.5rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.request-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    color: var(--text-primary);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--color-primary);
    background: #ffffff;
}

.form-group select option {
    background: #ffffff;
    color: var(--text-primary);
}

.req-submit-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: 30px;
    background: var(--grad-primary);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: var(--grad-glow);
    transition: var(--transition-fast);
    margin-top: 1rem;
    color: #fff;
}

.req-submit-btn:hover {
    transform: scale(1.01);
}

.req-list-sec {
    margin-top: 3rem;
}

.req-list-sec h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: left;
}

.req-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    flex-wrap: wrap;
    gap: 1rem;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.req-item-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.req-item-left .req-handle {
    font-size: 0.95rem;
    font-weight: 600;
}

.req-item-left .req-reason {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.req-item-left .req-date {
    font-size: 0.78rem;
}

.req-item-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-pending {
    background: rgba(243, 156, 18, 0.1);
    color: var(--color-gold);
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(243, 156, 18, 0.2);
}

.badge-success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

/* 13. Simulated Payment Modal */
.payment-modal-card {
    max-width: 420px;
    padding: 2rem;
    text-align: center;
    background: #ffffff;
}

.pay-header {
    margin-bottom: 1.5rem;
}

.pay-header i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.pay-header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pay-details-box {
    background: rgba(0, 0, 0, 0.015);
    padding: 1.25rem;
    border-radius: var(--radius-sm);
    margin-bottom: 2rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.pay-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.pay-detail-row:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-color);
}

.payment-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-pay-kakaopay {
    background: #fee500;
    color: #181600;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.btn-pay-toss {
    background: #0064ff;
    color: white;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.btn-pay-kakaopay:hover, .btn-pay-toss:hover {
    transform: translateY(-2px);
}

.payment-status-info {
    margin-top: 1.5rem;
    padding: 0.8rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    text-align: left;
}

.info-pending {
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.info-success {
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.2);
}

/* Footer Section */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.75);
    margin-top: 4rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes lockBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(243, 156, 18, 0); }
    100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

/* Responsive Scaling */
@media (max-width: 992px) {
    .header-inner {
        padding: 1rem;
    }
    
    .hero-dashboard {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    
    .stats-grid {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-card {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }
    
    .main-nav {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .user-status-widget {
        width: 100%;
        justify-content: space-between;
    }
    
    .controls-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: none;
    }
    
    .modal-content-wrapper {
        padding: 1.5rem;
    }
}
