/* ==================== COMPLETE CSS ==================== */
/* Core layout styles */
.stream-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
}

.video-section {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.stream-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.live-indicator {
    background: #ff0000;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(255,0,0,0.5);
}

.live-indicator i {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.viewer-count {
    background: rgba(0,0,0,0.85);
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.offline-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #ccc;
    text-align: center;
    padding: 40px;
}

.offline-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #666;
}

.model-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 12px;
    margin-top: 16px;
}

.model-avatar-main {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff006e;
}

.model-details h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.model-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #ccc;
}

.stream-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ccc;
    font-size: 0.9rem;
}

.interactive-section {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background: #2a2a2a;
    border-bottom: 1px solid #444;
}

.tab-header {
    flex: 1;
    padding: 12px 8px;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.tab-header.active {
    background: #ff006e;
    color: white;
}

.tab-header:hover {
    background: #444;
}

.tab-content {
    display: none;
    padding: 16px;
    max-height: 600px;
    overflow-y: auto;
}

.tab-content.active {
    display: block;
}

.chat-tab-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 12px;
}

.chat-title {
    font-weight: bold;
    color: #fff;
    font-size: 0.9rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #0f0f0f;
    border-radius: 8px;
    margin-bottom: 12px;
    min-height: 300px;
}

.chat-system-message {
    text-align: center;
    padding: 12px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 6px;
    color: #ffd700;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.chat-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    max-width: 85%;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.own-message {
    background: rgba(255, 0, 110, 0.2);
    border: 1px solid rgba(255, 0, 110, 0.4);
    margin-left: auto;
    text-align: right;
}

.other-message {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 0.75rem;
    opacity: 0.8;
}

.message-username {
    font-weight: bold;
    color: #ffd700;
}

.message-time {
    color: #999;
}

.message-content {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #fff;
    word-wrap: break-word;
}

.chat-input-wrapper {
    display: flex;
    gap: 8px;
}

.chat-input {
    flex: 1;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.send-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.send-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.tip-tab-content {
    padding: 16px;
}

.tip-header {
    text-align: center;
    margin-bottom: 20px;
}

.tip-title {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.tip-subtitle {
    color: #ccc;
    font-size: 0.9rem;
}

.balance-display {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.balance-amount {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
}

.buy-coins-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.buy-coins-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.quick-tips {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.quick-tips-title {
    color: #ffd700;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: bold;
}

.tip-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.tip-btn {
    padding: 12px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.tip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.tip-menu {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.tip-menu-title {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: bold;
}

.tip-menu-grid {
    display: grid;
    gap: 10px;
}

.tip-item {
    background: #1a1a1a;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.tip-item:hover {
    background: #333;
    transform: translateX(4px);
}

.tip-action {
    color: #ccc;
    font-size: 0.9rem;
}

.tip-coins {
    color: #000;
    font-weight: bold;
    font-size: 1rem;
}

.custom-tip-section {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 16px;
}

.custom-tip-title {
    color: #fff;
    margin-bottom: 12px;
    font-size: 1rem;
    font-weight: bold;
}

.custom-tip-input {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.custom-tip-input input,
.custom-tip-input textarea {
    padding: 10px;
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
}

.custom-tip-input textarea {
    resize: vertical;
    min-height: 60px;
}

.send-custom-tip-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.send-custom-tip-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.guest-tip-notice,
.guest-private-notice {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid #ffd700;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.guest-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

/* Private Chat Styles */
.private-chat-content {
    padding: 16px;
}

.private-chat-header {
    text-align: center;
    margin-bottom: 20px;
}

.private-chat-title {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.private-chat-subtitle {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.private-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.private-package {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 10px;
    padding: 16px;
    text-align: center;transition: all 0.3s;
    position: relative;
}

.private-package.popular {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
}

.private-package.popular::before {
    content: "POPULAR";
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffd700;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: bold;
}

.private-package:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.package-header {
    margin-bottom: 12px;
}

.package-label {
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}

.package-duration {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.package-cost {
    color: #ff006e;
    font-size: 1.2rem;
    font-weight: bold;
}

.package-description {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.start-private-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.start-private-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.private-chat-features {
    background: #333;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #ccc;
}

.feature-item i {
    color: #ffd700;
    width: 16px;
}

/* Active Session Styles */
.active-private-session {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.session-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.session-timer {
    margin-left: auto;
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.private-chat-messages {
    height: 300px;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    overflow-y: auto;
    border: 1px solid #333;
}

.private-chat-input-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.private-chat-input {
    flex: 1;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
}

.send-private-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.send-private-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

.session-controls {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.extend-session-btn, .end-session-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.extend-session-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
}

.end-session-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

/* Private message styles */
.private-message {
    margin-bottom: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 80%;
}

.user-message {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.3);
    margin-left: auto;
    text-align: right;
}

.model-message {
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Gallery Section */
.gallery-section {
    grid-column: 1 / -1;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.gallery-header {
    margin-bottom: 20px;
}

.gallery-title {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-subtitle {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.gallery-tab-headers-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.gallery-tab-headers {
    display: flex;
    background: #2a2a2a;
    border-radius: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding: 8px;
    gap: 8px;
}

.gallery-tab-headers::-webkit-scrollbar {
    display: none;
}

.gallery-tab-header {
    flex: 0 0 auto;
    min-width: 120px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.gallery-tab-header.active {
    background: linear-gradient(135deg, #ff006e, #e91e63);
    color: white;
    transform: scale(1.02);
}

.gallery-tab-header:hover:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-1px);
}

.media-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 4px;
}

.scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 0, 110, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-indicator.left {
    left: 5px;
}

.scroll-indicator.right {
    right: 5px;
}

.scroll-indicator:hover {
    background: rgba(255, 0, 110, 1);
    transform: translateY(-50%) scale(1.1);
}

.scroll-indicator.visible {
    opacity: 1;
}

.gallery-content-wrapper {
    position: relative;
}

.gallery-tab-content {
    display: none;
}

.gallery-tab-content.active {
    display: block;
}

.gallery-horizontal-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #ff006e #2a2a2a;
    padding-bottom: 10px;
    cursor: grab;
}

.gallery-horizontal-scroll:active {
    cursor: grabbing;
}

.gallery-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-horizontal-scroll::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.gallery-horizontal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff006e, #e91e63);
    border-radius: 4px;
}

.gallery-grid.horizontal {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    min-height: 280px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 200px;
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 0, 110, 0.3);
}

.gallery-media-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.gallery-lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    backdrop-filter: blur(2px);
}

.lock-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #ffd700;
}

.unlock-text {
    font-size: 0.8rem;
    font-weight: bold;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.5rem;
    opacity: 0.9;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.video-duration-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.gallery-price-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 215, 0, 0.9);
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
}

.media-type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: bold;
    color: white;
}

.image-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.video-badge {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.gallery-item-info {
    padding: 12px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-item-date {
    font-size: 0.7rem;
    color: #999;
    margin-bottom: 4px;
}

.gallery-item-description {
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 4px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gallery-item-type {
    font-size: 0.6rem;
    color: #999;
    text-transform: uppercase;
    margin-top: auto;
}

.no-gallery-content {
    text-align: center;
    padding: 60px 20px;
    color: #ccc;
}

.gallery-unlock-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(233, 30, 99, 0.1));
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 10px;
    text-align: center;
}

.unlock-content h4 {
    color: #fff;
    margin-bottom: 10px;
}

.unlock-content p {
    color: #ccc;
    margin-bottom: 20px;
}

.unlock-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-unlock-gallery {
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-unlock-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 110, 0.3);
}

.btn-login-unlock {
    padding: 12px 20px;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-login-unlock:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.3);
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
}

.gallery-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
}

.gallery-modal-close:hover {
    color: #fff;
}

.gallery-modal-media-container {
    max-width: 80vw;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.gallery-modal-media-container img,
.gallery-modal-media-container video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}

.gallery-modal-info {
    text-align: center;
}

.gallery-modal-info p {
    color: #ccc;
    margin-bottom: 15px;
}

.btn-tip-for-image {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff006e, #e91e63);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-tip-for-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 110, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stream-container {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    
    .gallery-tab-header {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .gallery-item {
        width: 160px;
    }
    
    .gallery-media-wrapper {
        height: 140px;
    }
    
    .gallery-item-info {
        height: 80px;
        padding: 10px;
    }
    
    .unlock-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-unlock-gallery,
    .btn-login-unlock {
        width: 100%;
        max-width: 250px;
    }
    
    .private-packages-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .session-controls {
        flex-direction: column;
    }
    
    .tab-header {
        font-size: 0.7rem;
        padding: 10px 6px;
    }
    
    .tip-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-tab-header {
        min-width: 80px;
        padding: 8px 10px;
        font-size: 0.7rem;
    }
    
    .gallery-tab-header i {
        font-size: 1rem;
    }
    
    .gallery-item {
        width: 140px;
    }
    
    .gallery-media-wrapper {
        height: 120px;
    }
    
    .video-play-overlay {
        font-size: 2rem;
    }
    
    .tab-text {
        display: none;
    }
    
    .media-count {
        margin-left: 2px;
    }
}

/* Visual feedback for tab switching */
.gallery-tab-header {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-tab-header:active {
    transform: scale(0.98);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2a2a2a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff006e, #e91e63);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #e91e63, #ff006e);
}

/* Animation for new chat messages */
@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.chat-message {
    animation: messageSlide 0.3s ease-out;
}

/* Loading indicator */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Online indicator pulse */
.chat-online-count {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(40, 167, 69, 0.8);
    }
}