/* =============================================
   FCR Widgets Completos v2.0
   Estética: Cinema Noir — dourado sobre escuro
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=DM+Sans:wght@400;500&display=swap');

/* ─── Wrapper base ─── */
.fcr-widget-wrap {
    background: #0e0e0e;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 18px 16px 20px;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 24px;
    color: #d0d0d0;
}

/* ─── Título ─── */
.fcr-widget-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: #e8c96a;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.fcr-title-stripe {
    display: inline-block;
    width: 3px;
    height: 18px;
    background: #e8c96a;
    border-radius: 2px;
    flex-shrink: 0;
}

.fcr-title-icon { font-size: 15px; }


/* ═══════════════════════════════════
   WIDGET FILMES
═══════════════════════════════════ */

.fcr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.fcr-card {
    display: block;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #161616;
    border: 1px solid #222;
    transition: transform 0.18s ease, border-color 0.2s ease;
    position: relative;
}

.fcr-card:hover {
    transform: translateY(-3px);
    border-color: #e8c96a;
    text-decoration: none;
}

.fcr-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #1a1a1a;
}

.fcr-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.fcr-card:hover .fcr-card-img img { transform: scale(1.06); }

.fcr-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
}

.fcr-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 3;
}

.fcr-card:hover .fcr-card-overlay { opacity: 1; }

.fcr-card-overlay span {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    background: rgba(232,201,106,0.9);
    color: #0e0e0e;
    padding: 5px 10px;
    border-radius: 4px;
}

.fcr-no-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: #1c1c1c;
}

.fcr-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(232,201,106,0.92);
    color: #0e0e0e;
    font-size: 9px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    line-height: 1.6;
}

.fcr-card-info {
    padding: 8px 8px 9px;
}

.fcr-card-title {
    font-size: 11.5px;
    font-weight: 500;
    color: #e0e0e0;
    margin: 0 0 3px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fcr-card-date {
    font-size: 10px;
    color: #555;
}

.fcr-ver-todos {
    display: block;
    text-align: center;
    border: 1px solid #e8c96a;
    color: #e8c96a;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 0;
    border-radius: 7px;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.15s, color 0.15s;
}

.fcr-ver-todos:hover {
    background: #e8c96a;
    color: #0e0e0e;
    text-decoration: none;
}

.fcr-empty {
    color: #555;
    font-size: 13px;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}


/* ═══════════════════════════════════
   WIDGET DOAÇÃO
═══════════════════════════════════ */

.fcr-doacao-subtitulo {
    font-size: 12.5px;
    color: #888;
    margin: -6px 0 14px;
    line-height: 1.5;
}

/* Abas */
.fcr-tab-nav {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.fcr-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    color: #666;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
}

.fcr-tab-btn:hover {
    border-color: #444;
    color: #bbb;
}

.fcr-tab-btn.active {
    background: #1c1a0a;
    border-color: #e8c96a;
    color: #e8c96a;
}

/* Painéis */
.fcr-tab-panel { display: none; }
.fcr-tab-panel.active { display: block; }

.fcr-panel-desc {
    font-size: 12.5px;
    color: #777;
    margin: 0 0 12px;
}

/* PayPal */
.fcr-paypal-form { text-align: center; }

.fcr-btn-paypal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #1c2e5e;
    border: 1px solid #2a4a9e;
    border-radius: 8px;
    color: #7ab0f0;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}

.fcr-btn-paypal:hover {
    background: #243a78;
    border-color: #3a6adc;
    color: #9ac8f8;
}

.fcr-seguro-note {
    font-size: 11px;
    color: #555;
    margin: 10px 0 0;
    text-align: center;
}

/* PIX */
.fcr-qrcode-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

.fcr-qrcode-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    display: block;
}

.fcr-pix-info {
    background: #161616;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.fcr-pix-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    gap: 8px;
}

.fcr-pix-row + .fcr-pix-row {
    border-top: 1px solid #1e1e1e;
    margin-top: 4px;
    padding-top: 8px;
}

.fcr-pix-label {
    font-size: 11px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.fcr-pix-value {
    font-size: 12px;
    color: #ccc;
    text-align: right;
    word-break: break-all;
}

.fcr-chave {
    color: #e8c96a;
    font-weight: 500;
}

.fcr-btn-copiar {
    display: block;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    border: 1px solid #e8c96a;
    border-radius: 7px;
    color: #e8c96a;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 8px;
    transition: background 0.15s, color 0.15s;
    text-align: center;
}

.fcr-btn-copiar:hover {
    background: #e8c96a;
    color: #0e0e0e;
}

.fcr-btn-copiar.copiado {
    background: #1a3a1a;
    border-color: #4caf50;
    color: #4caf50;
}

.fcr-btn-copiar-alt {
    border-color: #444;
    color: #888;
}

.fcr-btn-copiar-alt:hover {
    background: #333;
    color: #ccc;
    border-color: #555;
}

.fcr-pix-instrucoes {
    font-size: 11.5px;
    color: #555;
    line-height: 1.8;
    margin: 12px 0 0;
}

/* ─── Responsivo ─── */
@media (max-width: 280px) {
    .fcr-grid { grid-template-columns: 1fr; }
    .fcr-tab-nav { flex-direction: column; }
}


/* ═══════════════════════════════════
   WIDGET APP ANDROID
═══════════════════════════════════ */

.fcr-stripe-green { background: #4caf50; }

.fcr-app-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.fcr-app-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    overflow: hidden;
}

.fcr-app-icon svg {
    width: 48px;
    height: 48px;
    display: block;
}

.fcr-app-text {
    flex: 1;
    min-width: 0;
}

.fcr-app-subtitulo {
    font-size: 13px;
    color: #999;
    margin: 0 0 8px;
    line-height: 1.5;
}

.fcr-iptv-badge {
    display: inline-block;
    background: #0d2a1a;
    border: 1px solid #1e5c33;
    color: #4caf50;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.02em;
}

.fcr-app-btn-wrap {
    margin-bottom: 10px;
}

/* Garante que o botão do Progressify fique com visual integrado */
.fcr-app-btn-wrap a,
.fcr-app-btn-wrap button,
.fcr-app-btn-wrap .progressify-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    padding: 12px 16px !important;
    background: #1a3a1a !important;
    border: 1px solid #4caf50 !important;
    border-radius: 8px !important;
    color: #4caf50 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.18s, color 0.18s !important;
    box-sizing: border-box !important;
}

.fcr-app-btn-wrap a:hover,
.fcr-app-btn-wrap button:hover,
.fcr-app-btn-wrap .progressify-btn:hover {
    background: #4caf50 !important;
    color: #0e0e0e !important;
    text-decoration: none !important;
}

.fcr-app-note {
    font-size: 11px;
    color: #555;
    text-align: center;
    margin: 0;
}
