/* ============================================================
   rmc-frontend.css — WordPress theme frontend styles
   (Extends the standalone demo style for WP templates)
   ============================================================ */

/* ── Dynamic background image (set via GOD MODE) ── */
body.rmc-body {
    /* Fallback — overridden inline by wp_add_inline_style if bg image is set */
    background-color: var(--rmc-bg-color, #0a0a0a);
}
body.rmc-body.has-bg-image {
    background-image: var(--rmc-bg-image);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
body.rmc-body.has-bg-image::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0, var(--rmc-bg-overlay, 0.72));
    z-index: 0;
    pointer-events: none;
}
/* Ensure all content sits above the overlay */
.rmc-navbar, .rmc-main, .rmc-ad-slot, .rmc-ad-floating,
.rmc-dashboard-wrap, .rmc-modal-backdrop {
    position: relative;
    z-index: 1;
}

/* ── Premium section badge ── */
.rmc-premium-section {
    border: 1px solid rgba(201,168,76,0.35);
    border-radius: 16px;
    padding: 24px;
    background: rgba(201,168,76,0.04);
}
.rmc-premium-badge {
    font-size: 11px;
    font-weight: 700;
    background: rgba(201,168,76,0.15);
    color: #c9a84c;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: 0.08em;
    vertical-align: middle;
    margin-left: 8px;
}

/* ── Video / GIF clip preview ── */
.rmc-clip-preview {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.rmc-clip-media {
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
    border: 1.5px solid rgba(201,168,76,0.4);
    display: block;
    object-fit: cover;
    aspect-ratio: 9/16;
    background: #111;
}
.rmc-clip-meta {
    font-size: 12px;
    color: #c9a84c;
    font-weight: 600;
}
.rmc-btn-danger-sm {
    background: rgba(224,82,82,0.15);
    border: 1px solid rgba(224,82,82,0.4);
    color: #e05252;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.rmc-btn-danger-sm:hover { background: rgba(224,82,82,0.3); }

.rmc-clip-empty {
    text-align: center;
    padding: 32px;
    border: 1.5px dashed rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #555;
}
.rmc-clip-empty-icon { font-size: 40px; margin-bottom: 8px; }
.rmc-clip-upload-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.rmc-btn-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #c9a84c;
    color: #000;
    border-radius: 8px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
}
.rmc-btn-upload-label:hover { background: #e2c97e; }
.rmc-upload-hint {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

/* ── Card video/GIF overlay (public rating card) ── */
.rmc-card-clip {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}
.rmc-card-clip-gif {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    z-index: 1;
}
