* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0b0b0f;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: #ededee;
    padding: 1.5rem;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2rem;
}

.site-title {
    font-size: 3.4rem;
    font-weight: 800;
    font-family: 'Space Grotesk', monospace;
    background: linear-gradient(135deg, #ff7eb3, #ff758c, #f5b042, #3b9eff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 4s ease infinite;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.dot-cf {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #aaa, #ddd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: none;
}

.slogan {
    font-size: 0.9rem;
    color: #ff9fbc;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: -0.2rem;
    opacity: 0.8;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.stats-badge {
    background: #12121a;
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 0.5rem 1.3rem;
    border-radius: 60px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #2a2a36;
}

/* Filter + Search */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.8rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.filter-btn {
    background: #171722;
    border: 1px solid #2c2c3c;
    color: #e2e2ec;
    padding: 0.7rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn:hover {
    background: #262636;
    transform: translateY(-2px);
    border-color: #ff69b4;
}

.filter-btn.active {
    background: #ff69b4;
    border-color: #ffb3d9;
    color: #0a0a0f;
    box-shadow: 0 0 14px rgba(255,105,180,0.6);
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: #12121a;
    border: 1px solid #2c2c3e;
    border-radius: 3rem;
    padding: 0.3rem 0.3rem 0.3rem 1.2rem;
    transition: all 0.2s;
}

.search-wrapper:focus-within {
    border-color: #ff69b4;
    box-shadow: 0 0 8px rgba(255,105,180,0.3);
}

.search-icon {
    color: #ff9fbc;
    font-size: 1.2rem;
    margin-right: 6px;
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.9rem;
    padding: 0.6rem 0.2rem;
    width: 220px;
    outline: none;
    font-family: 'Inter', monospace;
}

.search-input::placeholder {
    color: #6a6a82;
}

.clear-search {
    background: none;
    border: none;
    color: #aaa;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 30px;
    transition: 0.2s;
}

.clear-search:hover {
    color: #ff69b4;
}

/* Grid */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin: 2rem 0 2.5rem;
}

/* Skeleton Loader with Shimmer Effect */
.skeleton-grid {
    opacity: 1;
    transition: opacity 0.3s;
}

.skeleton-card {
    background: #101014;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid #23232e;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(90deg, #1a1a2a 25%, #2a2a3e 50%, #1a1a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-info {
    padding: 0.8rem;
    background: #0c0c12;
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, #1a1a2a 25%, #2a2a3e 50%, #1a1a2a 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 8px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.small {
    width: 40%;
    height: 10px;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Real Room Card */
.room-card {
    background: #101014;
    border-radius: 1.2rem;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid #23232e;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.8);
    border-color: #ff69b4;
}

.thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #000;
}

.room-info {
    padding: 0.8rem;
    background: #0c0c12;
}

.username {
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffc0d0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.viewers {
    font-size: 0.7rem;
    color: #9e9eae;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.gender-chip {
    display: inline-block;
    font-size: 0.6rem;
    background: #1e1e2a;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 6px;
    color: #ccc;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 8, 14, 0.96);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.25s ease;
}

.lightbox-overlay.active {
    visibility: visible;
    opacity: 1;
}

.lightbox-container {
    width: 94%;
    max-width: 1400px;
    height: 90vh;
    background: #050508;
    border-radius: 2rem;
    box-shadow: 0 30px 50px rgba(0,0,0,0.6), 0 0 0 2px rgba(255,105,180,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.2);
}

.lightbox-overlay.active .lightbox-container {
    transform: scale(1);
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.8rem;
    background: #0e0e16;
    border-bottom: 1px solid #2a2a36;
}

.model-title {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(120deg, #fff, #ffb7c5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.close-lightbox {
    background: #1f1f2b;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #ffb7c5;
    width: 44px;
    height: 44px;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.close-lightbox:hover {
    background: #ff3b6f;
    color: white;
    transform: rotate(90deg);
}

.lightbox-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 1rem 1rem 1rem;
    gap: 0.8rem;
}

.iframe-wrapper {
    flex: 1;
    background: #000;
    border-radius: 1.5rem;
    overflow: hidden;
    min-height: 55vh;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.affiliate-actions {
    background: #111116;
    border-radius: 1.2rem;
    padding: 1.2rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    align-items: center;
    border: 1px solid #2c2c3a;
}

.register-btn {
    background: linear-gradient(95deg, #ff3b6f, #ff8c42);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 3rem;
    color: white;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255,60,100,0.4);
}

.register-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

.login-btn {
    background: #262632;
    border: 1px solid #ff69b4;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 3rem;
    color: #ffb7c5;
    text-decoration: none;
}

.login-btn:hover {
    background: #ff69b422;
}

.room-stats-mini {
    display: flex;
    gap: 1rem;
    justify-content: center;
    font-size: 0.8rem;
    color: #b0b0c0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 30px 0 20px;
}

.page-btn {
    background: #1a1a24;
    border: none;
    color: #ddd;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    font-weight: 500;
}

.page-btn.active-page {
    background: #ff69b4;
    color: #000;
    font-weight: bold;
}

.page-btn:hover:not(:disabled) {
    background: #33334a;
}

/* FOOTER */
.main-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #2a2a36;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #ff9fbc;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ff69b4;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #1e1e2a;
}

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

.footer-links a {
    color: #ff9fbc;
    text-decoration: none;
    font-size: 0.8rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.cookie-notice {
    font-size: 0.7rem;
    color: #6a6a82;
    margin-bottom: 0.5rem;
}

.copyright {
    font-size: 0.7rem;
    color: #5a5a70;
}

.no-results-placeholder {
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: #aaa;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1000px) {
    .rooms-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 680px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-title {
        font-size: 2.2rem;
    }
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .search-wrapper {
        width: 100%;
    }
    .search-input {
        width: 100%;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}