.cam-card {
    width: 260px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.cam-card:hover {
    transform: translateY(-5px);
}

.cam-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.cam-info {
    padding: 10px;
}

.cam-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    margin: auto;
}


.modal-inner {
    padding: 20px;
    padding-bottom: 0;
    overflow-y: auto;
    flex-grow: 1;
}

.modal-close {
    position: absolute;
    top: 0;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
    z-index: 1;
}

.video-container {
    margin-bottom: 20px;
    min-height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.cta-button {
    display: block;
    width: calc(100% - 60px);
    margin: 0 20px 20px;
    padding: 10px;
    background-color: #ff4081;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e91e63;
}

.offline-message {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin: 20px 0;
}

/* Loading effect for #pornstar-cams */
.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading effect for modal */
.loading-modal::before {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
