/* ==========================================
   PlayGirl Elite - Live Cams Page Styles
   ========================================== */

/* Page specific body */
.livecams-page {
    background: var(--darker-bg);
}

/* Navbar adjustments for this page */
.livecams-page .navbar {
    background: rgba(5, 5, 8, 0.95);
}

.livecams-page .nav-container {
    display: flex;
    justify-content: space-between;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-title h1 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.live-indicator-small {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff4444;
    animation: live-glow 2s ease-in-out infinite;
}

@keyframes live-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.3); }
    50% { box-shadow: 0 0 15px rgba(255, 0, 0, 0.6); }
}

/* Balance Display */
.balance-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #ffd700;
}

.balance-icon {
    font-size: 1.2rem;
}

/* Filter Bar */
.filter-bar {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    padding: 1rem 2rem;
}

.filter-container {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--card-border);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    border-color: var(--primary-pink);
    color: var(--primary-pink);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-magenta));
    border-color: transparent;
    color: white;
}

.filter-search {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    padding: 0.3rem;
    margin-left: auto;
}

.search-input {
    background: transparent;
    border: none;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 200px;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--primary-pink);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn svg {
    width: 18px;
    height: 18px;
    color: white;
}

.search-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

.online-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #00ff88;
    white-space: nowrap;
}

/* Main Layout */
.livecams-main {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

.cams-container {
    min-width: 0;
}

/* Row Titles */
.row-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Featured Streams */
.featured-streams {
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Cam Cards */
.cam-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cam-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-pink);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.2);
}

.cam-card.featured .cam-preview {
    height: 350px;
}

.cam-preview {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #2a1a2e, #1a0a1e);
}

.cam-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cam-card:hover .cam-preview img {
    transform: scale(1.05);
}

.cam-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 40%, transparent 60%, rgba(0,0,0,0.8) 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cam-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: white;
}

.badge-hd, .badge-new, .badge-vip {
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
}

.badge-hd {
    background: rgba(0, 245, 255, 0.9);
    color: #000;
}

.badge-new {
    background: rgba(0, 255, 136, 0.9);
    color: #000;
}

.badge-vip {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
}

.cam-viewers {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: white;
    margin-top: 0.5rem;
}

.cam-viewers svg {
    width: 14px;
    height: 14px;
}

.cam-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.action-btn {
    flex: 1;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.tip {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
}

.action-btn.private {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-magenta));
    color: white;
}

.action-btn:hover {
    transform: scale(1.05);
}

/* Cam Info */
.cam-info {
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cam-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-pink);
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-magenta));
}

.cam-details {
    flex: 1;
    min-width: 0;
}

.cam-details h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cam-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cam-tags {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.cam-tags span {
    font-size: 0.7rem;
    color: var(--primary-pink);
    background: rgba(255, 105, 180, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
}

.cam-price {
    text-align: right;
    flex-shrink: 0;
}

.cam-price .price {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

.cam-price .currency {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Compact Info for Grid Cards */
.cam-info-compact {
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cam-avatar-sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-pink);
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-magenta));
}

.cam-info-compact div {
    flex: 1;
    min-width: 0;
}

.cam-info-compact h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.cam-info-compact p {
    font-size: 0.75rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    white-space: nowrap;
}

/* All Cams Grid */
.cams-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

/* Cam card placeholder gradients */
.cams-grid .cam-card:nth-child(1) .cam-preview { background: linear-gradient(135deg, #ff69b4, #1a0a1e); }
.cams-grid .cam-card:nth-child(2) .cam-preview { background: linear-gradient(135deg, #00f5ff, #1a0a1e); }
.cams-grid .cam-card:nth-child(3) .cam-preview { background: linear-gradient(135deg, #ffd700, #1a0a1e); }
.cams-grid .cam-card:nth-child(4) .cam-preview { background: linear-gradient(135deg, #9400d3, #1a0a1e); }
.cams-grid .cam-card:nth-child(5) .cam-preview { background: linear-gradient(135deg, #ff1493, #1a0a1e); }
.cams-grid .cam-card:nth-child(6) .cam-preview { background: linear-gradient(135deg, #00ff88, #1a0a1e); }
.cams-grid .cam-card:nth-child(7) .cam-preview { background: linear-gradient(135deg, #ff4500, #1a0a1e); }
.cams-grid .cam-card:nth-child(8) .cam-preview { background: linear-gradient(135deg, #00bfff, #1a0a1e); }
.cams-grid .cam-card:nth-child(9) .cam-preview { background: linear-gradient(135deg, #ff69b4, #9400d3); }
.cams-grid .cam-card:nth-child(10) .cam-preview { background: linear-gradient(135deg, #ffa500, #1a0a1e); }
.cams-grid .cam-card:nth-child(11) .cam-preview { background: linear-gradient(135deg, #da70d6, #1a0a1e); }
.cams-grid .cam-card:nth-child(12) .cam-preview { background: linear-gradient(135deg, #dc143c, #1a0a1e); }

.load-more {
    text-align: center;
    margin-top: 2rem;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.sidebar-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-section h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sidebar-section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.full-width {
    width: 100%;
}

/* Leaderboard */
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.leader-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.rank {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.rank.gold {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
}

.rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #808080);
    color: #000;
}

.rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #fff;
}

.leader-name {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.leader-amount {
    font-size: 0.75rem;
    color: #ffd700;
    font-weight: 600;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin-bottom: 1rem;
}

.benefits-list li {
    padding: 0.5rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.benefits-list li:last-child {
    border-bottom: none;
}

/* Footer Compact */
.footer.compact {
    padding: 1.5rem 2rem;
}

.footer.compact .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links-inline {
    display: flex;
    gap: 2rem;
}

.footer-links-inline a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links-inline a:hover {
    color: var(--primary-pink);
}

/* Responsive */
@media (max-width: 1400px) {
    .cams-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .livecams-main {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .sidebar-section {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .cams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .filter-container {
        flex-wrap: wrap;
    }
    
    .filter-search {
        margin-left: 0;
        order: -1;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .search-input {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-title {
        display: none;
    }
    
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
    }
    
    .filter-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .cams-grid {
        grid-template-columns: 1fr;
    }
    
    .livecams-main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .filter-bar {
        padding: 0.75rem 1rem;
    }
    
    .cam-card.featured .cam-preview {
        height: 250px;
    }
}
