/* ========================================== */
/* KONEXA - Style Principal                  */
/* ========================================== */

/* Variables */
:root {
    --primary: #ff4458;
    --primary-light: #ff6b7a;
    --primary-dark: #e63950;
    --gradient: linear-gradient(135deg, #ff4458 0%, #ff6b7a 50%, #667eea 100%);
    --gradient-btn: linear-gradient(135deg, #ff4458 0%, #ff6b7a 100%);
    
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-light: #25253d;
    
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-muted: #8888a0;
    
    --success: #2ed573;
    --warning: #ffa502;
    --info: #00d4ff;
    
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 8px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ========================================== */
/* SECTIONS                                   */
/* ========================================== */
.section {
    display: none;
    min-height: 100vh;
    padding-bottom: 80px;
}

.section.active {
    display: block;
}

.section-header {
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.section-header h2 {
    font-size: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================== */
/* HEADER TABS                                */
/* ========================================== */
.header-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--bg-card);
    border: none;
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tab-btn:hover, .tab-btn.active {
    background: var(--gradient-btn);
    color: white;
}

.premium-tab {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #000;
}

.premium-icon {
    font-size: 14px;
}

/* Dropdown */
.dropdown {
    position: relative;
    z-index: 100;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1e1e2e;
    border-radius: 12px;
    padding: 10px 0;
    min-width: 180px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.15);
    z-index: 100000;
    margin-top: 8px;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.dropdown-item:hover {
    background: rgba(255,255,255,0.08);
}

.dropdown-item.active {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.verified-icon {
    color: var(--info);
    font-weight: bold;
}

.arrow {
    font-size: 10px;
    transition: transform 0.3s;
}

/* Filter Button */
.btn-filter {
    background: var(--bg-card);
    border: none;
    color: var(--text-light);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
}

/* ========================================== */
/* PROFILES GRID (Découvrir)                  */
/* ========================================== */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
}

.profile-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.profile-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.profile-card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 20px 20px 20px;
    color: white;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.95) 100%);
    z-index: 10;
}

.profile-card-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.profile-card-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.online-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 12px;
    height: 12px;
    background: var(--success);
    border-radius: 50%;
    border: 2px solid var(--bg-card);
}

/* ========================================== */
/* SWIPE FULLSCREEN (Rencontre - Tinder)      */
/* ========================================== */
#rencontre {
    padding-bottom: 0;
}

.rencontre-header-float {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 60;
}

.btn-filter-float {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.swipe-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 70px;
    display: flex;
    flex-direction: column;
}

.cards-stack-full {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
}

.swipe-card-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swipe-card-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swipe-card-full .card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.95) 100%);
    pointer-events: none;
}

.swipe-card-full .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 20px;
    padding-bottom: 160px;
    color: white;
}

.swipe-card-full .card-info h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.swipe-card-full .card-info .location {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.swipe-card-full .card-info .bio {
    font-size: 13px;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

.swipe-card-full .card-info .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.swipe-card-full .card-info .tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    backdrop-filter: blur(10px);
}

.swipe-card-full .online-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    padding: 8px 14px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.swipe-card-full .online-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
}

.swipe-card-full .online-indicator span {
    font-size: 12px;
    color: white;
}

/* Swipe Buttons Fullscreen */
.swipe-buttons-full {
    position: fixed;
    bottom: 80px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    z-index: 100;
}

.swipe-btn-full {
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.swipe-btn-full:hover {
    transform: scale(1.1);
}

.swipe-btn-full:active {
    transform: scale(0.95);
}

.btn-rewind {
    width: 45px;
    height: 45px;
    background: white;
    color: #f5a623;
}

.btn-pass {
    width: 60px;
    height: 60px;
    background: white;
    color: #ff6b6b;
}

.btn-super {
    width: 50px;
    height: 50px;
    background: white;
    color: #00d4ff;
}

.btn-like {
    width: 60px;
    height: 60px;
    background: var(--gradient-btn);
    color: white;
}

.btn-boost {
    width: 45px;
    height: 45px;
    background: white;
    color: #a855f7;
}

/* Swipe Indicators */
.swipe-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 32px;
    font-weight: bold;
    border: 4px solid;
    opacity: 0;
    transition: opacity 0.2s;
}

.swipe-indicator.like {
    right: 40px;
    color: var(--success);
    border-color: var(--success);
    transform: translateY(-50%) rotate(15deg);
}

.swipe-indicator.nope {
    left: 40px;
    color: #ff6b6b;
    border-color: #ff6b6b;
    transform: translateY(-50%) rotate(-15deg);
}

.swipe-indicator.super {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    color: #00d4ff;
    border-color: #00d4ff;
}

/* ========================================== */
/* VIEW TOGGLE                                */
/* ========================================== */
.view-toggle {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.toggle-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.toggle-btn.active {
    background: rgba(255, 68, 88, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.toggle-btn svg {
    fill: currentColor;
}

/* ========================================== */
/* REELS VIEW                                 */
/* ========================================== */
.reels-view {
    display: none;
    position: fixed;
    top: 170px;
    left: 0;
    right: 0;
    bottom: 70px;
    background: #000;
    z-index: 50;
}

.reels-view.active {
    display: block;
}

.reels-feed {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
}

.reel-item {
    width: 100%;
    height: 100%;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    background: #000;
}

.reel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-info {
    position: absolute;
    bottom: 20px;
    left: 16px;
    right: 70px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.reel-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
    font-weight: 600;
}

.reel-info p {
    font-size: 13px;
    opacity: 0.9;
}

.reel-actions {
    position: absolute;
    right: 12px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.reel-btn {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.reel-btn.like-btn {
    background: #ff4458;
}

.reel-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.reel-btn.like-btn:hover {
    background: #ff6b7a;
}

.reel-btn.liked {
    background: var(--primary);
}

.reel-btn svg {
    width: 22px;
    height: 22px;
}

.reel-btn span {
    font-size: 10px;
    margin-top: 2px;
}

/* ========================================== */
/* PREMIUM EXTRAS                             */
/* ========================================== */
.premium-extras {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.premium-extra-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--text-white);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.premium-extra-btn:hover {
    border-color: var(--primary);
}

.premium-extra-btn .extra-icon {
    font-size: 28px;
}

.premium-extra-btn strong {
    display: block;
    font-size: 14px;
}

.premium-extra-btn span:not(.extra-icon):not(.badge-free) {
    font-size: 11px;
    color: var(--text-muted);
}

.premium-extra-btn .badge-free {
    position: absolute;
    top: -8px;
    right: -8px;
}

/* ========================================== */
/* DISCUSSION                                 */
/* ========================================== */
.discussion-header {
    position: sticky;
    top: 0;
    background: var(--bg-dark);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.discussion-tabs {
    display: flex;
    gap: 8px;
}

.discussion-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: none;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.discussion-tab.active {
    background: var(--gradient-btn);
    color: white;
}

.btn-notifications {
    position: relative;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 8px;
    cursor: pointer;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Discussion Views */
.discussion-view {
    display: none;
    padding: 16px;
}

.discussion-view.active {
    display: block;
}

/* Messages List */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 16px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.message-item:hover {
    background: var(--bg-light);
}

.message-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.message-item-content {
    flex: 1;
}

.message-item-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.message-item-content p {
    font-size: 13px;
    color: var(--text-muted);
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
}

.empty-messages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-messages span {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-messages p {
    font-size: 14px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.stat-card .stat-value {
    display: block;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.gradient-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.gradient-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.gradient-3 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.gradient-4 { background: linear-gradient(135deg, #43e97b, #38f9d7); }

/* Performance */
.performance-section h3 {
    margin-bottom: 16px;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.performance-item span:first-child {
    width: 120px;
    font-size: 14px;
    color: var(--text-muted);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-btn);
    border-radius: 4px;
}

.performance-item span:last-child {
    width: 40px;
    text-align: right;
    font-weight: bold;
}

/* ========================================== */
/* LIVE SECTION                               */
/* ========================================== */
.live-view {
    display: none;
    padding: 20px;
    min-height: calc(100vh - 80px);
}

.live-view.active {
    display: block;
}

/* Choice Container */
.choice-container {
    text-align: center;
    padding-top: 40px;
}

.choice-container h1 {
    font-size: 24px;
    margin-bottom: 40px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.choice-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 350px;
    margin: 0 auto;
}

.choice-btn {
    position: relative;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.choice-btn:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.choice-btn svg {
    color: var(--primary);
    margin-bottom: 12px;
}

.choice-btn span {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: var(--text-white);
    margin-bottom: 8px;
}

.choice-btn p {
    font-size: 13px;
    color: var(--text-muted);
}

.badge-free {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 10px;
}

/* View Header */
.view-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.view-header h2 {
    font-size: 20px;
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
}

/* Options Grid */
.options-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.option-btn {
    position: relative;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.option-btn:hover {
    border-color: var(--primary);
}

.option-btn .option-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.option-btn h3 {
    color: var(--text-white);
    font-size: 18px;
    margin-bottom: 8px;
}

.option-btn p {
    color: var(--text-muted);
    font-size: 13px;
}

/* Ads Container */
.ads-container {
    text-align: center;
    max-width: 350px;
    margin: 0 auto;
}

.ads-container .ads-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.ads-container h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.ads-container p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.ads-progress {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ads-dot {
    width: 20px;
    height: 20px;
    background: var(--bg-light);
    border-radius: 50%;
    transition: background 0.3s;
}

.ads-dot.completed {
    background: var(--success);
}

.btn-watch-ad {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--gradient-btn);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 24px auto;
    transition: transform 0.2s;
}

.btn-watch-ad:hover {
    transform: scale(1.05);
}

.ads-hint {
    font-size: 12px;
    color: var(--warning);
}

/* Rewards */
.reward-container {
    text-align: center;
    padding-top: 40px;
}

.reward-container .reward-icon {
    font-size: 80px;
    margin-bottom: 16px;
}

.reward-container h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.reward-time {
    color: var(--warning);
    margin: 16px 0;
}

.rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.reward-btn {
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--text-white);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.reward-btn:hover {
    border-color: var(--primary);
}

.reward-btn span {
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
}

/* Challenge Info */
.challenge-info-container {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
}

.challenge-trophy {
    font-size: 64px;
    margin-bottom: 16px;
}

.challenge-info-container h2 {
    font-size: 24px;
    margin-bottom: 12px;
}

.challenge-info-container .highlight {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 24px;
}

.info-box {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
}

.info-box h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box li {
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 14px;
}

.btn-primary {
    background: var(--gradient-btn);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 16px;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
}

/* ========================================== */
/* PROFIL SECTION                             */
/* ========================================== */
#profil {
    padding: 0;
    padding-bottom: 100px;
}

/* Cover Photo */
.profile-cover {
    width: 100%;
    height: 280px;
    background-color: #2a2a3e;
    background-size: cover;
    background-position: center;
    position: relative;
}

.cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.cover-placeholder span {
    font-size: 50px;
    margin-bottom: 10px;
}

.cover-placeholder p {
    font-size: 14px;
}

.cover-placeholder.hidden {
    display: none;
}

.profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(transparent, var(--bg-dark));
    pointer-events: none;
}

.btn-edit-cover {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 100;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 68, 88, 0.5);
}

.btn-edit-cover:hover {
    transform: scale(1.1);
}

.profile-header {
    text-align: center;
    margin-top: -70px;
    margin-bottom: 24px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.profile-avatar-container {
    position: relative;
    display: inline-block;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    background: var(--bg-dark);
}

.btn-edit-avatar {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.profile-header h2 {
    font-size: 24px;
    margin: 12px 0 4px;
}

.profile-header p {
    color: var(--text-muted);
}

/* Credit Section */
.credit-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 20px 16px;
}

.credit-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.credit-icon {
    font-size: 32px;
}

.credit-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

.credit-amount {
    font-size: 18px;
    font-weight: bold;
}

.btn-recharge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-btn);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

/* Profile Action Buttons */
.profile-actions-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 20px 24px;
}

.btn-profile-premium, .btn-profile-ads {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 16px;
    color: var(--text-white);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
}

.btn-profile-premium:hover, .btn-profile-ads:hover {
    border-color: var(--primary);
}

.btn-profile-premium .premium-icon, .btn-profile-ads .ads-icon {
    font-size: 28px;
}

.btn-profile-premium strong, .btn-profile-ads strong {
    display: block;
    font-size: 16px;
}

.btn-profile-premium span:not(.premium-icon), .btn-profile-ads span:not(.ads-icon):not(.badge-free) {
    font-size: 12px;
    color: var(--text-muted);
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 4px;
    margin: 0 20px 16px;
}

.profile-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.profile-tab.active {
    background: var(--gradient-btn);
    color: white;
}

/* Profile Tab Content */
.profile-tab-content {
    display: none;
    padding: 0 20px;
}

.profile-tab-content.active {
    display: block;
}

.info-section {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.info-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.info-section textarea {
    width: 100%;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--text-white);
    font-size: 14px;
    resize: none;
    min-height: 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item {
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.info-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
}

/* Interests Display */
.interests-display {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 16px;
    margin: 16px;
}

.interests-display h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.interests-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.interest-badge {
    background: var(--gradient);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Photos/Videos Grid */
.photos-grid, .videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.add-photo-btn, .add-video-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    aspect-ratio: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.add-photo-btn span, .add-video-btn span {
    font-size: 12px;
    margin-top: 8px;
}

/* Historique */
.historique-section {
    margin-bottom: 24px;
}

.historique-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.historique-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Share App Button */
.btn-share-app {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: var(--radius);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-share-app:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-share-app svg {
    flex-shrink: 0;
}

/* Logout */
.btn-logout {
    width: 100%;
    background: rgba(255, 68, 88, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 14px;
    border-radius: var(--radius);
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}

/* ========================================== */
/* MODALS                                     */
/* ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius);
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    position: relative;
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.modal-header .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

/* Premium Modal */
.premium-header .premium-crown, .recharge-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.premium-plans {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.plan {
    position: relative;
    background: var(--bg-light);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.plan:hover, .plan.recommended {
    border-color: var(--primary);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 10px;
}

.plan h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.plan-price span {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-white);
}

.plan ul {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.plan li {
    padding: 4px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.btn-plan {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-white);
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
}

.btn-plan.primary {
    background: var(--gradient-btn);
    border: none;
}

/* Recharge Options */
.recharge-options {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recharge-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 16px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.recharge-option:hover, .recharge-option.selected {
    border-color: var(--primary);
}

.recharge-option small {
    color: var(--success);
    margin-left: 8px;
}

.recharge-option .price {
    font-weight: bold;
    color: var(--primary);
    font-size: 18px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.recharge-option .credit-usage {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-confirm {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    background: var(--gradient-btn);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* ========================================== */
/* UNIVERSAL PAYMENT SYSTEM                   */
/* ========================================== */
.modal-recharge-large {
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
}

.recharge-step {
    display: none;
}

.recharge-step.active {
    display: block;
}

.btn-back-payment {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-back-payment:hover {
    color: var(--primary);
}

.payment-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), #667eea);
    padding: 16px 20px;
    margin: 0 20px 16px;
    border-radius: var(--radius);
}

.payment-summary span:first-child {
    font-weight: bold;
    font-size: 16px;
}

.payment-summary span:last-child {
    font-size: 24px;
    font-weight: bold;
}

.country-selector {
    padding: 0 20px 16px;
}

.country-selector label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 14px;
}

.country-selector select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 15px;
    cursor: pointer;
}

.payment-methods-container {
    padding: 0 20px 20px;
}

.payment-methods-title {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-methods-title {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 500;
}

.payment-method-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: var(--radius);
    color: var(--text-white);
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.payment-method-btn:hover {
    border-color: var(--primary);
    background: rgba(255, 68, 88, 0.1);
}

.payment-method-btn .method-icon {
    font-size: 28px;
    width: 40px;
    text-align: center;
}

.payment-method-btn .method-info {
    flex: 1;
    text-align: left;
}

.payment-method-btn .method-name {
    font-weight: bold;
    font-size: 15px;
    display: block;
}

.payment-method-btn .method-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.payment-method-btn .method-arrow {
    color: var(--text-muted);
    font-size: 18px;
}

/* Payment Forms */
.payment-form-container {
    padding: 0 20px 20px;
}

.payment-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.payment-form-header .form-icon {
    font-size: 32px;
}

.payment-form-header .form-title {
    font-size: 18px;
    font-weight: bold;
}

.payment-form-group {
    margin-bottom: 16px;
}

.payment-form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 13px;
}

.payment-form-group input {
    width: 100%;
    padding: 12px 14px;
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-size: 15px;
}

.payment-form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.payment-form-row {
    display: flex;
    gap: 12px;
}

.payment-form-row .payment-form-group {
    flex: 1;
}

.btn-pay {
    width: 100%;
    padding: 16px;
    background: var(--gradient-btn);
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

.btn-pay:hover {
    transform: scale(1.02);
}

.payment-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 12px;
}

.mobile-money-info {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.mobile-money-info h4 {
    color: var(--success);
    margin-bottom: 8px;
    font-size: 14px;
}

.mobile-money-info p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.5;
}

.mobile-money-number {
    background: var(--bg-card);
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mobile-money-number span {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    letter-spacing: 1px;
}

.copy-btn {
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    margin-left: 10px;
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
}

/* Gifts Grid */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 20px;
}

.gift-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.gift-item:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.gift-emoji {
    font-size: 36px;
}

.gift-name {
    font-size: 12px;
    color: var(--text-white);
    font-weight: 500;
}

.gift-price {
    font-size: 10px;
    color: var(--primary);
    font-weight: 600;
}

/* Message Media Styles */
.message-photo {
    max-width: 200px;
    border-radius: 12px;
    cursor: pointer;
}

.message-video {
    max-width: 250px;
    border-radius: 12px;
}

.message-audio {
    width: 200px;
    height: 40px;
}

.location-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background: rgba(255, 68, 88, 0.1);
    border-radius: 12px;
    cursor: pointer;
}

.location-message .location-icon {
    font-size: 24px;
}

.location-message small {
    font-size: 10px;
    color: var(--text-muted);
}

/* Gift message */
.gift-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 68, 88, 0.2), rgba(102, 126, 234, 0.2));
    border-radius: 16px;
}

.gift-message .gift-emoji {
    font-size: 48px;
    animation: gift-bounce 1s ease infinite;
}

@keyframes gift-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.gift-message .gift-label {
    font-size: 12px;
    color: var(--text-light);
}

/* Fullscreen photo viewer */
.fullscreen-photo-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.photo-viewer-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-viewer-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.close-viewer {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

/* Payment status check */
.payment-status-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 68, 88, 0.1);
    border-radius: var(--radius);
    margin: 16px 0;
}

.payment-status-check p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 68, 88, 0.3);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Filter Modal */
.modal-filter-large {
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.filter-body {
    padding: 20px;
}

.filter-scrollable {
    overflow-y: auto;
    max-height: 60vh;
    padding-bottom: 20px;
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.filter-interests-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-interest-tag,
.live-filter-interest-tag {
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-light);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-interest-tag:hover,
.live-filter-interest-tag:hover {
    border-color: var(--primary);
}

.filter-interest-tag.active,
.live-filter-interest-tag.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Live Filter Modal Specific */
.live-filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.live-filter-icon {
    font-size: 32px;
}

.live-filter-header h3 {
    margin: 0;
}

.live-filter-header p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.live-filter-info {
    background: linear-gradient(135deg, rgba(255,68,88,0.15), rgba(102,126,234,0.15));
    border: 1px solid rgba(255,68,88,0.3);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.live-filter-info span {
    font-size: 24px;
}

.live-filter-info p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.live-filter-footer {
    background: var(--bg-card);
}

.btn-apply-live {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
}

.btn-apply-live span {
    font-size: 16px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-light);
}

.filter-group input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
}

.filter-group select, .filter-group input[type="number"], .filter-group input[type="text"] {
    width: 100%;
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 12px;
    color: var(--text-white);
    font-size: 14px;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-inputs input {
    flex: 1;
}

.range-inputs span {
    color: var(--text-muted);
}

/* Toggle Switch */
.filter-group.toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.switch {
    position: relative;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-light);
    border-radius: 28px;
    cursor: pointer;
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background: var(--primary);
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-reset, .btn-apply {
    flex: 1;
    padding: 12px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.btn-reset {
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-white);
}

.btn-apply {
    background: var(--gradient-btn);
    border: none;
    color: white;
}

/* Pays Modal */
.pays-search {
    padding: 16px;
}

.pays-search input {
    width: 100%;
    background: var(--bg-light);
    border: none;
    border-radius: 30px;
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 14px;
}

.pays-list {
    display: flex;
    flex-direction: column;
    max-height: 300px;
    overflow-y: auto;
}

.pays-item {
    background: none;
    border: none;
    color: var(--text-white);
    padding: 14px 20px;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.pays-item:hover {
    background: var(--bg-light);
}

/* ========================================== */
/* BOTTOM NAVIGATION                          */
/* ========================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg-card);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px 12px;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.nav-btn span {
    font-size: 11px;
    font-weight: 500;
}

.nav-btn.active {
    color: var(--primary);
}

/* ========================================== */
/* NOTIFICATIONS PANEL                        */
/* ========================================== */
.notifications-panel {
    display: none;
    position: fixed;
    top: 60px;
    right: 16px;
    width: 320px;
    max-height: 400px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 200;
    overflow: hidden;
}

.notifications-panel.show {
    display: block;
}

.notif-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.notif-header button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.notif-list {
    max-height: 340px;
    overflow-y: auto;
}

/* ========================================== */
/* RESPONSIVE                                 */
/* ========================================== */
@media (max-width: 480px) {
    .header-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-plans {
        padding: 16px;
    }
}

@media (min-width: 768px) {
    .profiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .options-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================== */
/* PREMIUM EXTRAS                             */
/* ========================================== */
.premium-extras {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.premium-extra-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    text-align: left;
    width: 100%;
}

.premium-extra-btn:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(255, 68, 88, 0.2);
}

.premium-extra-btn .badge-free {
    position: absolute;
    top: -8px;
    right: 15px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.premium-extra-btn .extra-icon {
    font-size: 32px;
}

.premium-extra-btn div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.premium-extra-btn strong {
    color: var(--text-white);
    font-size: 16px;
}

.premium-extra-btn span:not(.badge-free):not(.extra-icon) {
    color: var(--text-muted);
    font-size: 12px;
}

.ads-btn:hover {
    border-color: #4CAF50;
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.2);
}

/* ========================================== */
/* SWIPE INDICATORS                           */
/* ========================================== */
.swipe-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 28px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.swipe-indicator.like {
    right: 30px;
    border: 4px solid #00D4AA;
    color: #00D4AA;
    background: rgba(0, 212, 170, 0.1);
}

.swipe-indicator.nope {
    left: 30px;
    border: 4px solid #FF4458;
    color: #FF4458;
    background: rgba(255, 68, 88, 0.1);
}

.swipe-indicator.super {
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #00BFFF;
    color: #00BFFF;
    background: rgba(0, 191, 255, 0.1);
}

/* ========================================== */
/* ONLINE INDICATOR ON CARD                   */
/* ========================================== */
.swipe-card-full .online-indicator {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 12px;
    z-index: 5;
}

.swipe-card-full .online-indicator .dot {
    width: 8px;
    height: 8px;
    background: #00D4AA;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* ========================================== */
/* CARD TAGS                                  */
/* ========================================== */
.card-info .tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.card-info .tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: white;
}

/* ========================================== */
/* DISCUSSION SIMPLE HEADER                   */
/* ========================================== */
.discussion-header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 16px 12px;
    background: var(--bg-dark);
}

.discussion-header-simple h2 {
    font-size: 24px;
    font-weight: 700;
}

.discussion-header-simple .btn-icon {
    position: relative;
    background: none;
    border: none;
    color: var(--text-white);
    padding: 8px;
    cursor: pointer;
}

.notif-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: white;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disc-tabs {
    display: flex;
    gap: 0;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.disc-tab {
    flex: 1;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-muted);
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.disc-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 12px;
}

.search-bar svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 15px;
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

/* ========================================== */
/* SWIPE CARD INFO AT BOTTOM - OVERRIDE      */
/* ========================================== */
.swipe-card-full .card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 15px 20px 20px 20px;
    text-align: left;
    z-index: 10;
}

.swipe-card-full .card-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.swipe-card-full .card-info .location {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.swipe-card-full .card-info .bio {
    font-size: 13px;
    opacity: 0.85;
    line-height: 1.4;
    margin-bottom: 8px;
    max-width: 85%;
}

.swipe-card-full .card-info .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.swipe-card-full .card-info .tag {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
}

.abo-tabs {
    display: flex;
    padding: 16px;
    gap: 12px;
}

.abo-tab {
    flex: 1;
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    padding: 14px;
    color: var(--text-light);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.abo-tab.active {
    background: var(--primary);
    color: white;
}

.abo-tab .count {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

/* ========================================== */
/* CREDIT REQUIRED BANNER                     */
/* ========================================== */
.credit-required-banner {
    background: linear-gradient(135deg, rgba(255, 68, 88, 0.15), rgba(102, 126, 234, 0.15));
    border: 1px solid rgba(255, 68, 88, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.credit-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lock-icon {
    font-size: 32px;
}

.credit-info strong {
    font-size: 16px;
    color: var(--text-white);
}

.credit-info p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.btn-get-credits {
    background: var(--gradient-btn);
    border: none;
    color: white;
    padding: 14px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-get-credits:hover {
    transform: scale(1.02);
}

.abonnement-list.blurred {
    filter: blur(8px);
    pointer-events: none;
    opacity: 0.5;
}

/* ========================================== */
/* ABONNEMENT LISTS                           */
/* ========================================== */
.abo-tab .count {
    cursor: pointer;
    transition: all 0.2s;
}

.abo-tab .count:hover {
    transform: scale(1.1);
    color: #FFD700;
}

.abo-list-container {
    padding: 0 16px 16px;
}

.abo-list-header {
    margin-bottom: 12px;
}

.abo-list-header h4 {
    font-size: 16px;
    color: var(--text-white);
}

.abo-profiles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
}

.abo-profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.abo-profile-item:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.abo-profile-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.abo-profile-info {
    flex: 1;
}

.abo-profile-info h5 {
    font-size: 14px;
    color: var(--text-white);
    margin-bottom: 2px;
}

.abo-profile-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.abo-profile-action {
    background: var(--bg-light);
    border: none;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
}

.abo-profile-action:hover {
    background: var(--primary);
    color: white;
}

/* Abonnement Locked Message */
.abo-locked-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.abo-locked-message .lock-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.abo-locked-message h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

.abo-locked-message p {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.abo-locked-message .btn-get-credits {
    background: linear-gradient(135deg, var(--primary), #ff8a65);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.abo-locked-message .btn-get-credits:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 68, 88, 0.4);
}

/* ========================================== */
/* STATISTIQUES SECTION                       */
/* ========================================== */
.stats-content {
    padding: 0 16px;
}

.stat-card.clickable {
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.stat-card.clickable:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.stat-card.clickable:active {
    transform: scale(0.98);
}

.stat-hint {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* Stats List Section */
.stats-list-section,
.stats-graph-section {
    background: var(--bg-card);
    border-radius: 16px;
    margin-top: 16px;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.list-header,
.graph-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.list-header h4,
.graph-header h4 {
    font-size: 15px;
    color: var(--text-white);
}

.btn-close-section {
    background: var(--bg-light);
    border: none;
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-close-section:hover {
    background: var(--primary);
    color: white;
}

.stats-profiles-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 12px;
}

.stats-profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.stats-profile-item:hover {
    background: var(--bg-light);
}

.stats-profile-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.stats-profile-info {
    flex: 1;
}

.stats-profile-info h5 {
    font-size: 14px;
    color: var(--text-white);
    margin-bottom: 2px;
}

.stats-profile-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.stats-profile-meta {
    text-align: right;
}

.stats-profile-meta .time {
    font-size: 11px;
    color: var(--text-muted);
}

.stats-profile-meta .action-icon {
    font-size: 16px;
}

/* Time Graph */
.time-graph {
    padding: 20px;
}

.graph-bars {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 150px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.graph-bar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.graph-bar {
    width: 100%;
    max-width: 30px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 6px 6px 0 0;
    transition: all 0.3s;
}

.graph-bar.active {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 15px rgba(102,126,234,0.5);
}

.graph-bar-container span {
    font-size: 11px;
    color: var(--text-muted);
}

.graph-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.graph-stat-item {
    text-align: center;
}

.graph-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
}

.graph-stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

/* ========================================== */
/* CONVERSATION SECTION                       */
/* ========================================== */
#conversationSection {
    padding-bottom: 0;
}

.conversation-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: var(--bg-dark);
    position: relative;
}

.conv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-white);
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.btn-back:hover {
    background: rgba(255,255,255,0.1);
}

.conv-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.conv-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.conv-user-details {
    display: flex;
    flex-direction: column;
}

.conv-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-white);
}

.conv-status {
    font-size: 12px;
    color: var(--success);
}

/* Boutons d'appel dans le chat */
.conv-call-actions {
    display: flex;
    gap: 8px;
    margin-right: 8px;
}

.btn-call, .btn-video-call {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-call {
    background: linear-gradient(135deg, #00b894, #00cec9);
    color: white;
}

.btn-video-call {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}

.btn-call:hover, .btn-video-call:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.conv-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 260px;
}

.conv-system-msg {
    text-align: center;
    background: rgba(255, 68, 88, 0.15);
    border: 1px solid rgba(255, 68, 88, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
}

.conv-system-msg p {
    color: #fff;
    margin: 5px 0;
    font-size: 14px;
}

.conv-system-msg p:first-child {
    font-size: 16px;
    font-weight: 600;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 15px;
    line-height: 1.4;
}

.message-bubble.received {
    background: var(--bg-card);
    color: var(--text-white);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message-bubble.sent {
    background: var(--gradient-btn);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.message-credit-required {
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    text-align: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(70px + 72px);
    z-index: 190;
}

.credit-lock {
    margin-bottom: 16px;
}

.lock-emoji {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.credit-lock p {
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 4px;
}

.credit-cost {
    font-size: 13px;
    color: var(--text-muted);
}

.conv-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.1);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 70px;
    z-index: 200;
}

.conv-input-area.limited {
    opacity: 0.85;
}

.conv-action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
}

.conv-text-input {
    flex: 1;
    background: var(--bg-light);
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    color: var(--text-white);
    font-size: 15px;
    outline: none;
}

.conv-text-input::placeholder {
    color: var(--text-muted);
}

.conv-send-btn {
    background: var(--gradient-btn);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.conv-send-btn:hover {
    transform: scale(1.05);
}

/* Attachment Popup */
.attachment-popup {
    position: absolute;
    bottom: 80px;
    left: 16px;
    background: var(--bg-card);
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    z-index: 100;
    max-width: 280px;
}

.attachment-popup.active {
    display: flex;
}

.attachment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--bg-light);
    border: none;
    border-radius: 12px;
    color: var(--text-white);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 70px;
}

.attachment-option:hover {
    background: var(--primary);
    transform: scale(1.05);
}

.attachment-option span:first-child {
    font-size: 24px;
}

.attachment-option span:last-child {
    font-size: 11px;
    color: var(--text-muted);
}

.attachment-option:hover span:last-child {
    color: white;
}

/* Voice Recording UI */
.voice-recording {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 68, 88, 0.1);
    border-radius: 25px;
    flex: 1;
}

.voice-recording .recording-indicator {
    width: 12px;
    height: 12px;
    background: #ff4458;
    border-radius: 50%;
    animation: pulse-recording 1s infinite;
}

@keyframes pulse-recording {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.voice-recording .recording-time {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 600;
}

.voice-recording .cancel-recording {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
}

/* ========================================== */
/* REELS UPLOAD SECTION                       */
/* ========================================== */
.reels-upload-section {
    padding: 20px;
}

.upload-reel-card {
    background: linear-gradient(135deg, rgba(255, 68, 88, 0.1), rgba(102, 126, 234, 0.1));
    border: 2px dashed rgba(255, 68, 88, 0.4);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 24px;
}

.upload-reel-card:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(255, 68, 88, 0.2), rgba(102, 126, 234, 0.2));
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.upload-reel-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-white);
}

.upload-reel-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-upload-reel {
    background: var(--gradient-btn);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.my-reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.my-reel-item {
    aspect-ratio: 9/16;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.my-reel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.my-reel-views {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 11px;
    color: white;
}

/* Toast Message */
.toast-message {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(30, 30, 46, 0.95);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 99999;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.toast-message.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Photo Item Delete Button */
.photo-item {
    position: relative;
}

.btn-delete-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(255, 68, 88, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.photo-item:hover .btn-delete-photo {
    opacity: 1;
}

/* Modal Small */
.modal-small {
    max-width: 320px;
}

/* Options List */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border: none;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 15px;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.option-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.option-item.danger {
    color: #ff4458;
}

.option-item span {
    font-size: 20px;
}

/* Challenge Conditions */
.challenge-conditions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.condition-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--bg-light);
    border-radius: 12px;
}

.condition-icon {
    font-size: 24px;
}

.condition-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.condition-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* Popular Badge */
.recharge-option.popular {
    border: 2px solid var(--primary);
    position: relative;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* ========================================== */
/* LIVE SCREEN                                */
/* ========================================== */
.live-screen-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
}

.live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.8);
}

.btn-back-live {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.live-type-label {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.live-timer {
    background: rgba(255, 68, 88, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
}

.live-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Searching Animation */
.searching-animation {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.searching-animation p {
    font-size: 18px;
    margin-top: 16px;
}

/* Live Connected - Fullscreen Mode */
.live-fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
}

.live-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.live-split-pane {
    position: relative;
    overflow: hidden;
    background: #000;
}

.live-split-pane .live-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-pane-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 14px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-pane-badge.self {
    right: 12px;
    left: auto;
    background: rgba(255, 68, 88, 0.85);
}

@media (max-width: 640px) {
    .live-split {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
}

.live-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-overlay-top {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
}

.live-user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #ff4458;
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.live-location {
    font-weight: 400;
    font-size: 14px;
    opacity: 0.8;
}

.live-side-controls {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.live-side-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.2s;
}

.live-side-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.live-side-btn.active {
    background: var(--primary);
}

.live-overlay-bottom {
    position: absolute;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding-bottom: 30px;
}

.live-message-btn {
    text-align: center;
    margin-bottom: 20px;
}

.live-message-btn button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.live-main-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.live-btn-follow,
.live-btn-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    font-size: 26px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-btn-follow:hover,
.live-btn-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.live-btn-like {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4458, #ff6b7a);
    border: none;
    color: white;
    font-size: 34px;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(255, 68, 88, 0.6);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-btn-like:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 30px rgba(255, 68, 88, 0.7);
}

.live-partner-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-indicator {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 68, 88, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.live-partner-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.live-partner-info h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.live-partner-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* Live Controls Top Bar */
.live-controls-top {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.live-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.live-control-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.live-control-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.live-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.8);
}

.live-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.live-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.live-action-btn span {
    font-size: 24px;
}

.live-message-container {
    padding: 0 16px;
    margin-bottom: 8px;
}

.btn-message-partner {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #00b894, #00cec9);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-message-partner:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 206, 201, 0.4);
}

.pulse-animation {
    animation: pulseMessage 1.5s infinite;
}

@keyframes pulseMessage {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(0, 206, 201, 0.5); }
    100% { transform: scale(1); }
}

.live-bottom-actions {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: #000;
    flex-wrap: wrap;
}

.btn-not-interested {
    padding: 14px 18px;
    background: rgba(149, 165, 166, 0.2);
    border: 2px solid #95a5a6;
    border-radius: 12px;
    color: #95a5a6;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-not-interested:hover {
    background: rgba(149, 165, 166, 0.4);
}

.btn-next-partner {
    flex: 1;
    padding: 16px;
    background: var(--gradient-btn);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-end-live {
    padding: 16px 24px;
    background: rgba(255, 68, 88, 0.2);
    border: 2px solid var(--primary);
    border-radius: 12px;
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Live action buttons enhanced */
.live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    justify-content: center;
}

.live-action-btn.warning {
    background: rgba(231, 76, 60, 0.2) !important;
    border-color: #e74c3c !important;
}

.live-action-btn.warning:hover {
    background: rgba(231, 76, 60, 0.4) !important;
}

/* Credit badge in header */
.credit-badge {
    background: rgba(255, 68, 88, 0.2);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Option cost display */
.option-cost {
    display: block;
    margin-top: 8px;
    padding: 4px 10px;
    background: rgba(255, 68, 88, 0.2);
    color: var(--primary);
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

#liveTimer.timer-warning {
    color: #e74c3c !important;
    animation: timerBlink 1s infinite;
}

@keyframes timerBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================== */
/* VIEW PROFILE MODAL                         */
/* ========================================== */
.modal-profile {
    max-width: 380px;
    padding: 0;
    overflow: hidden;
}

.modal-profile-full {
    max-width: 420px;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-profile .btn-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
}

.vp-header {
    position: relative;
    height: 280px;
}

.vp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vp-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.vp-info h2 {
    font-size: 24px;
    margin-bottom: 4px;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #3b82f6;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 6px;
}

.vp-info p {
    font-size: 14px;
    opacity: 0.8;
}

.vp-bio {
    padding: 16px 20px;
    background: var(--bg-card);
}

.vp-bio h4,
.vp-details h4,
.vp-interests h4,
.vp-gallery h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.vp-bio p {
    font-size: 15px;
    color: var(--text-white);
    line-height: 1.5;
}

.vp-stats {
    display: flex;
    justify-content: space-around;
    padding: 16px;
    background: var(--bg-light);
}

.vp-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Personal Details */
.vp-details {
    padding: 16px 20px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.vp-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.vp-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.vp-detail-item span:first-child {
    font-size: 18px;
}

/* Interests */
.vp-interests {
    padding: 16px 20px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.vp-interests-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vp-interest-tag {
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-light);
}

/* Photo Gallery */
.vp-gallery {
    padding: 16px 20px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.vp-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.vp-gallery-item {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.vp-gallery-item:hover {
    transform: scale(1.05);
}

.vp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vp-actions {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--bg-card);
    border-top: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    bottom: 0;
}

.vp-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px;
    background: var(--bg-light);
    border: none;
    border-radius: 12px;
    color: var(--text-white);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.vp-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vp-action-btn.like:hover {
    background: rgba(255, 68, 88, 0.2);
}

.vp-action-btn.message:hover {
    background: rgba(102, 126, 234, 0.2);
}

.vp-action-btn.follow:hover {
    background: rgba(52, 211, 153, 0.2);
}

.vp-action-btn span {
    font-size: 24px;
}
/* ========================================== */
/* CALL OVERLAY                               */
/* ========================================== */
.call-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.call-content {
    text-align: center;
    color: white;
}

.call-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    border: 4px solid var(--primary);
    animation: callPulse 2s infinite;
}

.call-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes callPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 68, 88, 0.4); }
    50% { box-shadow: 0 0 0 20px rgba(255, 68, 88, 0); }
}

.call-content h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.call-type {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.call-status {
    font-size: 14px;
    color: var(--success);
    margin-bottom: 8px;
}

.call-timer {
    font-size: 48px;
    font-weight: 300;
    color: white;
    margin-bottom: 8px;
}

.call-cost {
    font-size: 14px;
    color: #e74c3c;
    margin-bottom: 32px;
}

.call-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-end-call {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #e74c3c;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-end-call:hover {
    background: #c0392b;
    transform: scale(1.1);
}

/* Video Call Layout */
.call-content.call-video {
    width: min(900px, 92vw);
    text-align: left;
}

.call-video-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.call-video-remote,
.call-video-self {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #0b0b0b;
    height: min(55vh, 420px);
}

.call-video-remote img,
.call-video-self img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.call-video-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.call-video-badge.self {
    right: 12px;
    left: auto;
    background: rgba(255, 68, 88, 0.8);
}

@media (max-width: 640px) {
    .call-video-layout {
        grid-template-columns: 1fr;
    }
    .call-video-remote,
    .call-video-self {
        height: 38vh;
    }
}

.call-info {
    text-align: center;
}

/* ========================================== */
/* COVER CROP MODAL                           */
/* ========================================== */
.cover-crop-modal {
    max-width: 450px;
    padding: 0;
}

.cover-crop-modal .modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.crop-container {
    padding: 20px;
}

.crop-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    cursor: grab;
    position: relative;
}

.crop-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    user-select: none;
    -webkit-user-drag: none;
    transition: object-position 0.1s ease-out;
}

.crop-hint {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 12px;
}

.crop-frame-info {
    text-align: center;
    margin-bottom: 12px;
    padding: 10px 16px;
    background: rgba(255, 68, 88, 0.15);
    border-radius: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.crop-position-indicator {
    text-align: center;
    margin-top: 12px;
    padding: 8px;
    background: var(--bg-light);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 13px;
}

.crop-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    cursor: grab;
    position: relative;
    border: 3px solid var(--primary);
}

.crop-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.crop-actions {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.crop-actions .btn-cancel {
    flex: 1;
    padding: 14px;
    background: var(--bg-light);
    border: none;
    border-radius: 25px;
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.crop-actions .btn-apply {
    flex: 1;
    padding: 14px;
    background: var(--gradient-btn);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* ========================================== */
/* PHOTO VIEWER FULLSCREEN                    */
/* ========================================== */
.photo-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 10000;
    display: none;
    flex-direction: column;
}

.photo-viewer-modal.active {
    display: flex;
}

.photo-viewer-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    z-index: 10;
}

.photo-viewer-back,
.photo-viewer-options {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-viewer-back:hover,
.photo-viewer-options:hover {
    background: rgba(255,255,255,0.2);
}

/* Photo Options Dropdown */
.photo-options-dropdown {
    position: absolute;
    top: 60px;
    right: 15px;
    background: #1a1a2e;
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.photo-options-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.photo-option-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-option-item:hover {
    background: rgba(255,255,255,0.1);
}

.photo-option-item:first-child {
    color: #ff6b6b;
}

.photo-option-item:nth-child(2) {
    color: #ff4757;
}

.photo-option-item svg {
    flex-shrink: 0;
}

/* Report Modal */
.report-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.report-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.report-modal {
    background: #1a1a2e;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.report-modal-overlay.active .report-modal {
    transform: scale(1);
}

.report-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.report-modal-header h3 {
    color: white;
    font-size: 18px;
    margin: 0;
}

.report-modal-header button {
    background: none;
    border: none;
    color: #888;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.report-modal-body {
    padding: 20px;
}

.report-modal-body p {
    color: #aaa;
    margin-bottom: 15px;
}

.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.report-reason-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.report-reason-item:hover {
    background: rgba(255,255,255,0.1);
}

.report-reason-item input[type="radio"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.report-reason-item span {
    color: white;
    font-size: 14px;
}

.report-modal-body textarea {
    width: 100%;
    height: 80px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 12px;
    color: white;
    font-size: 14px;
    resize: none;
}

.report-modal-body textarea::placeholder {
    color: #666;
}

.report-modal-footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.report-cancel-btn {
    flex: 1;
    padding: 14px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    cursor: pointer;
}

.report-submit-btn {
    flex: 1;
    padding: 14px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.photo-viewer-counter {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.photo-viewer-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    touch-action: pan-x;
}

.photo-viewer-slides {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}

.photo-viewer-slide {
    min-width: 100vw;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 150px;
}

.photo-viewer-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    user-select: none;
    -webkit-user-drag: none;
}

.photo-viewer-nav {
    position: absolute;
    bottom: 100px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.photo-nav-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-nav-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.photo-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.photo-viewer-dots {
    display: flex;
    gap: 8px;
}

.photo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s;
    cursor: pointer;
}

.photo-dot.active {
    width: 24px;
    border-radius: 10px;
    background: white;
}

.photo-viewer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    text-align: center;
}

.photo-viewer-info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 4px;
}

.photo-viewer-info p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* ========================================== */
/* VULNERABLE RANKING SECTION                 */
/* ========================================== */
.vulnerable-ranking-section {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,68,88,0.1), rgba(102,126,234,0.1));
    border-radius: 20px;
    border: 1px solid rgba(255,68,88,0.3);
}

.vulnerable-header {
    text-align: center;
    margin-bottom: 20px;
}

.vulnerable-header h3 {
    font-size: 18px;
    color: #ff4458;
    margin-bottom: 5px;
}

.vulnerable-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.vulnerable-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vulnerable-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-card);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.vulnerable-item:hover {
    background: var(--bg-light);
    transform: translateX(5px);
}

.danger-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: linear-gradient(135deg, #ff4458, #ff6b7a);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: bold;
}

.vulnerable-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff4458;
}

.vulnerable-info {
    flex: 1;
}

.vulnerable-info h5 {
    font-size: 14px;
    margin-bottom: 3px;
}

.vulnerable-info p {
    font-size: 12px;
    color: #ff4458;
}

.vote-quick-btn {
    background: linear-gradient(135deg, #ff4458, #ff6b7a);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.vote-quick-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255,68,88,0.4);
}

.see-all-ranking-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: var(--bg-light);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.see-all-ranking-btn:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

/* ========================================== */
/* CHALLENGE EXTRA BUTTONS                    */
/* ========================================== */
.challenge-extra-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 16px;
}

.challenge-extra-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.challenge-extra-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,68,88,0.2);
}

.challenge-extra-btn.ongoing-btn {
    background: linear-gradient(135deg, rgba(46,213,115,0.15), rgba(46,213,115,0.05));
    border-color: rgba(46,213,115,0.3);
}

.challenge-extra-btn.champions-btn {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
    border-color: rgba(255,215,0,0.3);
}

.extra-btn-icon {
    font-size: 36px;
}

.extra-btn-content {
    flex: 1;
}

.extra-btn-content h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.extra-btn-content p {
    font-size: 12px;
    color: var(--text-muted);
}

.extra-btn-badge {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--success);
}

.extra-btn-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #333;
    font-weight: bold;
}

/* ========================================== */
/* ONGOING CHALLENGES VIEW                    */
/* ========================================== */
.ongoing-challenges-list {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ongoing-challenge-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.ongoing-challenge-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.challenge-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.challenge-emoji {
    font-size: 36px;
}

.challenge-card-info {
    flex: 1;
}

.challenge-card-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.challenge-card-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.challenge-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.challenge-status.active {
    background: rgba(46,213,115,0.2);
    color: #2ed573;
}

.challenge-card-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.challenge-card-stats .stat {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--text-muted);
}

.challenge-mini-ranking {
    background: var(--bg-light);
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.challenge-mini-ranking h5 {
    font-size: 13px;
    margin-bottom: 10px;
    color: var(--text-muted);
}

.mini-rank {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 13px;
}

.view-full-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.view-full-btn:hover {
    transform: scale(1.02);
}

/* ========================================== */
/* CHAMPIONS/PALMARES VIEW                    */
/* ========================================== */
.champions-intro {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.1));
    margin: 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.3);
}

.champions-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.champions-intro h3 {
    font-size: 22px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.champions-intro p {
    font-size: 14px;
    color: var(--text-muted);
}

.past-challenges-list {
    padding: 0 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.past-challenge-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}

.past-challenge-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.past-challenge-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.past-challenge-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.winners-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

.winner {
    text-align: center;
    padding: 10px;
    border-radius: 12px;
    transition: all 0.3s;
}

.winner.gold {
    order: 2;
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,215,0,0.1));
    border: 1px solid rgba(255,215,0,0.3);
    transform: scale(1.1);
}

.winner.silver {
    order: 1;
    background: linear-gradient(135deg, rgba(192,192,192,0.2), rgba(192,192,192,0.1));
    border: 1px solid rgba(192,192,192,0.3);
}

.winner.bronze {
    order: 3;
    background: linear-gradient(135deg, rgba(205,127,50,0.2), rgba(205,127,50,0.1));
    border: 1px solid rgba(205,127,50,0.3);
}

.winner-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
}

.winner.gold .winner-avatar {
    width: 60px;
    height: 60px;
    border: 3px solid #ffd700;
}

.winner.silver .winner-avatar {
    border: 2px solid #c0c0c0;
}

.winner.bronze .winner-avatar {
    border: 2px solid #cd7f32;
}

.winner-medal {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
}

.winner h5 {
    font-size: 12px;
    margin-bottom: 3px;
}

.winner p {
    font-size: 11px;
    color: var(--text-muted);
}

.see-top10-btn {
    width: 100%;
    padding: 10px;
    background: var(--bg-light);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 10px;
    color: #ffd700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.see-top10-btn:hover {
    background: rgba(255,215,0,0.1);
}

/* ========================================== */
/* VISITOR VOTE MODAL                         */
/* ========================================== */
.vote-modal-content {
    max-width: 400px;
    text-align: center;
}

.vote-modal-profile {
    padding: 20px;
}

.vote-modal-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff4458;
    margin-bottom: 15px;
}

.vote-modal-profile h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.vote-modal-stats {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.elimination-warning {
    display: inline-block;
    background: rgba(255,68,88,0.2);
    color: #ff4458;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.vote-modal-message {
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255,68,88,0.15), rgba(255,68,88,0.05));
    margin: 0 20px;
    border-radius: 12px;
}

.vote-modal-message p {
    font-size: 14px;
    margin: 5px 0;
}

.vote-options-container {
    padding: 20px;
}

.vote-options-container h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.vote-option-large {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 15px;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s;
    text-align: left;
}

.vote-option-large:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.vote-option-large:first-of-type {
    background: linear-gradient(135deg, rgba(46,213,115,0.15), rgba(46,213,115,0.05));
    border-color: rgba(46,213,115,0.3);
}

.vote-option-icon {
    font-size: 28px;
}

.vote-option-details {
    flex: 1;
}

.vote-option-details h5 {
    font-size: 14px;
    margin-bottom: 3px;
    color: white;
}

.vote-option-details p {
    font-size: 12px;
    color: var(--text-muted);
}

.vote-bonus {
    background: #2ed573;
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.vote-info {
    background: var(--bg-card);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 10px;
}

.vote-modal-note {
    font-size: 12px;
    color: var(--text-muted);
    padding: 0 20px 20px;
}

/* Vote Success Popup */
.vote-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.vote-popup-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 320px;
    animation: popupBounce 0.4s ease;
}

@keyframes popupBounce {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

.vote-popup-content .vote-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.vote-popup-content .vote-icon.success {
    animation: heartbeat 0.6s ease;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.vote-popup-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.vote-popup-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.vote-thanks {
    color: var(--primary) !important;
    font-size: 13px !important;
}

.vote-popup-content button {
    margin-top: 15px;
    padding: 12px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.vote-popup-content button:hover {
    transform: scale(1.05);
}

/* ========================================== */
/* AD SIMULATION OVERLAY                      */
/* ========================================== */
.ad-simulation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
}

.ad-simulation-content {
    text-align: center;
    padding: 40px;
}

.ad-simulation-content .ad-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.ad-simulation-content h3 {
    font-size: 22px;
    margin-bottom: 25px;
}

.ad-progress-bar {
    width: 250px;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.ad-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #2ed573, #00d4ff);
    border-radius: 10px;
    transition: width 1s linear;
}

.ad-simulation-content p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================== */
/* TOP 10 MODAL                               */
/* ========================================== */
.top10-list {
    max-height: 500px;
    overflow-y: auto;
    padding: 15px;
}

.top10-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.top10-item.podium {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,215,0,0.05));
    border: 1px solid rgba(255,215,0,0.3);
}

.top10-rank {
    font-size: 18px;
    width: 35px;
    text-align: center;
}

.top10-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.top10-info {
    flex: 1;
}

.top10-info h5 {
    font-size: 14px;
    margin-bottom: 3px;
}

.top10-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.top10-prize {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
}

/* ========================================== */
/* CHALLENGE TIER BUTTONS                     */
/* ========================================== */
.challenge-options-container {
    padding: 16px;
}

.challenge-category-box {
    margin-bottom: 20px;
}

.category-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.challenge-buttons-row {
    display: flex;
    gap: 10px;
}

.challenge-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    background: var(--bg-card);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.challenge-btn:hover {
    transform: translateY(-3px);
}

.challenge-btn.bronze {
    border-color: rgba(205, 127, 50, 0.4);
}
.challenge-btn.bronze:hover {
    border-color: #cd7f32;
    box-shadow: 0 5px 20px rgba(205, 127, 50, 0.3);
}

.challenge-btn.silver {
    border-color: rgba(192, 192, 192, 0.4);
}
.challenge-btn.silver:hover {
    border-color: #c0c0c0;
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.3);
}

.challenge-btn.gold {
    border-color: rgba(255, 215, 0, 0.4);
}
.challenge-btn.gold:hover {
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.challenge-btn .medal {
    font-size: 32px;
}

.challenge-btn .name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-white);
}

.challenge-btn .price {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary);
}

.challenge-option-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.challenge-option-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 68, 88, 0.2);
}

.challenge-option-btn .option-icon {
    font-size: 40px;
}

.challenge-option-btn h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.challenge-option-btn p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.challenge-option-btn.ads-option {
    position: relative;
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1), rgba(0, 212, 255, 0.05));
    border-color: rgba(46, 213, 115, 0.3);
}

.challenge-option-btn.ads-option:hover {
    border-color: #2ed573;
    box-shadow: 0 8px 25px rgba(46, 213, 115, 0.2);
}

.ads-badge-free {
    position: absolute;
    top: -8px;
    right: 16px;
    background: linear-gradient(135deg, #2ed573, #00d4ff);
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 10px;
}

.challenge-type-section {
    margin: 20px 0;
}

.challenge-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.challenge-section-title span:first-child {
    font-size: 20px;
}

.challenge-tiers-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.challenge-tier-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

/* Bronze Tier */
.challenge-tier-btn.bronze-tier {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.08));
    border-color: rgba(205, 127, 50, 0.3);
}

.challenge-tier-btn.bronze-tier:hover {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.25), rgba(205, 127, 50, 0.15));
    border-color: rgba(205, 127, 50, 0.6);
    transform: translateY(-2px);
}

/* Silver/Argent Tier */
.challenge-tier-btn.silver-tier {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.08));
    border-color: rgba(192, 192, 192, 0.3);
}

.challenge-tier-btn.silver-tier:hover {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.25), rgba(192, 192, 192, 0.15));
    border-color: rgba(192, 192, 192, 0.6);
    transform: translateY(-2px);
}

/* Gold/Or Tier */
.challenge-tier-btn.gold-tier {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.08));
    border-color: rgba(255, 215, 0, 0.3);
}

.challenge-tier-btn.gold-tier:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.25), rgba(255, 215, 0, 0.15));
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.tier-medal {
    font-size: 32px;
}

.tier-info {
    flex: 1;
}

.tier-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-white);
}

.tier-info p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.tier-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}

.tier-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #b87333);
    color: #fff;
}

.tier-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #333;
}

.tier-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #333;
}

/* ========================================== */
/* CHALLENGE CARD TIER STYLES                 */
/* ========================================== */
.ongoing-challenge-card.bronze-challenge {
    border-left: 4px solid #cd7f32;
}

.ongoing-challenge-card.bronze-challenge:hover {
    border-color: #cd7f32;
}

.ongoing-challenge-card.silver-challenge {
    border-left: 4px solid #c0c0c0;
}

.ongoing-challenge-card.silver-challenge:hover {
    border-color: #c0c0c0;
}

.ongoing-challenge-card.gold-challenge {
    border-left: 4px solid #ffd700;
}

.ongoing-challenge-card.gold-challenge:hover {
    border-color: #ffd700;
}

/* Past Challenge Card Tier Styles */
.past-challenge-card.bronze-past {
    border-left: 4px solid #cd7f32;
}

.past-challenge-card.silver-past {
    border-left: 4px solid #c0c0c0;
}

.past-challenge-card.gold-past {
    border-left: 4px solid #ffd700;
}

/* ========================================== */
/* PAYMENT INFO SECTION                       */
/* ========================================== */
.payment-info-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(46, 213, 115, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.payment-info-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #2ed573;
    margin-bottom: 16px;
}

.payment-info-section h4 span {
    font-size: 22px;
}

.payment-method-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
}

.payment-method-card:last-child {
    margin-bottom: 0;
}

.payment-method-card .icon {
    font-size: 24px;
    min-width: 30px;
}

.payment-method-card h5 {
    font-size: 14px;
    margin-bottom: 4px;
    color: var(--text-white);
}

.payment-method-card p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.payment-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.payment-service-tag {
    background: rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    color: var(--text-light);
}