/* K33n Chaturbate API Styles */

/* Cams Grid */
.k33n-cams-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    width: 100%;
    margin: 20px 0;
}

@media (max-width: 1200px) {
    .k33n-cams-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
    .k33n-cams-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .k33n-cams-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Model Card */
.k33n-model-card {
    position: relative;
    display: flex;
    flex-direction: column;

    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.k33n-model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.k33n-model-link {
    display: flex;
    flex-direction: column;
    flex: 1;

    text-decoration: none;
    color: inherit;
    display: block;
}

.k33n-model-thumb-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #1a1a1a;
}

.k33n-model-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.k33n-model-card:hover .k33n-model-thumb {
    transform: scale(1.05);
}

.k33n-live-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.k33n-hd-badge {
    background: #27ae60;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
}

.k33n-new-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #3498db;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.k33n-model-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
}

.k33n-model-name {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.k33n-gender-icon {
    font-size: 16px;
}

.k33n-model-subject {
    padding: 6px 10px;
    font-size: 11px;
    color: #666;
    background: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px solid #eee;
}

.k33n-model-footer-row {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fafafa;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #fafafa;
}

.k33n-viewers {
    font-size: 12px;
    color: #666;
}

.k33n-model-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    padding: 8px;
}

.k33n-model-tag {
    font-size: 10px;
    color: #1e73be;
    background: #e8f0fe;
    padding: 2px 6px;
    border-radius: 10px;
    text-decoration: none;
}

.k33n-model-tag:hover {
    background: #1e73be;
    color: #fff;
}

/* Model Page - Profile */
.k33n-model-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 600px) {
    .k33n-model-profile, .k33n-model-data {
        padding: 2px;
    }
}

.k33n-model-content {
    display: flex;
    gap: 20px;
}

.k33n-model-video {
    flex: 0 0 50%;
    border-radius: 12px;
    overflow: hidden;
}

.k33n-model-video iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
}

.k33n-model-data {
    flex: 1;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.k33n-model-username {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    color: #333;
}

.k33n-model-subject-large {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.k33n-cta-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: #e74c3c;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    margin-bottom: 20px;
    transition: background 0.2s;
}

.k33n-cta-button:hover {
    background: #c0392b;
}

.k33n-model-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.k33n-stat {
    text-align: center;
    padding: 10px 15px;
    background: #fff;
    border-radius: 8px;
    flex: 1;
    min-width: 70px;
}

.k33n-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
}

.k33n-stat-label {
    display: block;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.k33n-model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.k33n-tag {
    background: #fff;
    color: #1e73be;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #1e73be;
}

.k33n-tag:hover {
    background: #1e73be;
    color: #fff;
}

@media (max-width: 768px) {
    .k33n-model-content {
        flex-direction: column;
    }
    .k33n-model-video {
    height: 100%;
        flex: auto;
    }
}

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

.k33n-pagination a,
.k33n-pagination span {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.k33n-pagination a:hover {
    background: #1e73be;
    color: #fff;
    border-color: #1e73be;
}

.k33n-pagination .current {
    background: #1e73be;
    color: #fff;
    border-color: #1e73be;
}

.k33n-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

.k33n-error {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
    background: #fdf2f2;
    border-radius: 8px;
    margin: 20px 0;
}

.k33n-page-info {
    text-align: center;
    padding: 10px;
    color: #666;
    font-size: 14px;
}

/* Model page - subject text wrapping */
.k33n-model-data .k33n-model-subject {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
	font-size:14px;
}

/* Related Models */
.k33n-related-models {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.k33n-related-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.k33n-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) {
    .k33n-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
    .k33n-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .k33n-related-grid { grid-template-columns: 1fr 1fr; }
}

/* Force mobile grid */
@media screen and (max-width: 768px) {
    .k33n-cams-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}
