/* =========================================================
   1. BARRA DE INTERAÇÃO E STATUS
   ========================================================= */
.brilha-interaction-bar {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.brilha-stats-counters {
    display: flex;
    justify-content: space-between;
    padding: 0 5px 10px 5px;
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 700;
}

.brilha-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    width: 100%;
    box-sizing: border-box;
    gap: 4px;
    padding: 4px;
}

.brilha-action-btn {
    background: transparent;
    border: none;
    color: #f8fafc;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 5px;
    border-radius: 8px;
    transition: 0.2s;
    flex: 1;
    text-transform: uppercase;
}

.brilha-action-btn i.fa-heart {
    color: #f43f5e;
    font-size: 0.95rem;
}

.brilha-action-btn i.fa-comment-dots {
    color: #38bdf8;
    font-size: 0.95rem;
}

.brilha-action-btn i.fa-share-nodes {
    color: #34d399;
    font-size: 0.95rem;
}

.brilha-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.brilha-like-btn.liked {
    color: #f43f5e;
}

.brilha-like-btn.liked i.fa-heart {
    animation: heartPulse 0.5s ease forwards;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* =========================================================
   2. MENU COMPARTILHAR FLUTUANTE
   ========================================================= */
.brilha-share-wrapper {
    position: relative;
    flex: 1;
    display: flex;
}

.brilha-share-wrapper .brilha-action-btn {
    width: 100%;
    margin: 0;
}

.brilha-share-menu {
    position: absolute;
    bottom: 110%;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    z-index: 100;
}

.brilha-share-wrapper.active .brilha-share-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-btn {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s;
}

.share-wa {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid #22c55e;
}

.share-fb {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid #3b82f6;
}

.share-copy {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================================
   3. ÁREA DE COMENTÁRIOS EXPANSÍVEL (100% LARGURA)
   ========================================================= */
.brilha-comment-area {
    position: relative;
    width: 100%;
    margin-top: 15px;
    padding: 20px 15px;
    border-radius: 12px;
    box-sizing: border-box;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.close-comment-area {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-comment-area:hover {
    transform: scale(1.2);
    color: #dc2626;
}

.b-form-header {
    margin-bottom: 15px;
    text-align: center;
}

.neon-title-form {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
}

.neon-title-form i {
    color: #fbbf24;
    margin-right: 5px;
}

/* GRADE FLUIDA DE 1 COLUNA SÓ */
.b-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

.b-col-full {
    width: 100%;
    box-sizing: border-box;
}

.b-grid label {
    display: block;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    color: #fff;
}

.b-grid input[type="text"],
.b-grid input[type="url"],
.b-grid textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #fff;
    color: #0f172a;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    box-sizing: border-box;
    transition: 0.3s;
}

.b-grid input:focus,
.b-grid textarea:focus {
    outline: none;
    border-color: #fbbf24;
    background: #fff;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

/* =========================================================
   4. UPLOAD DE IMAGENS - BOTÕES COLAR E EXCLUIR
   ========================================================= */
.colorful-border {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    width: 100%;
    box-sizing: border-box;
    padding: 25px 15px;
}

.drop-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.drop-text {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.drop-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-selecionar {
    background: #fff !important;
    color: #e73c7e !important;
    margin: 0 !important;
    cursor: pointer;
    padding: 10px 20px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem !important;
    border-radius: 50px;
    font-weight: 900;
    transition: transform 0.2s;
}

.btn-selecionar:hover {
    transform: scale(1.05);
}

.btn-colar {
    background: #fbbf24 !important;
    color: #000 !important;
    margin: 0 !important;
    cursor: pointer;
    padding: 10px 20px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border: none;
    font-size: 0.85rem !important;
    border-radius: 50px;
    font-weight: 900;
    gap: 8px;
    transition: transform 0.2s;
}

.btn-colar:hover {
    transform: scale(1.05);
}

.b-input-file {
    display: none;
}

/* WRAPPER DAS IMAGENS E O BOTÃO "X" VERMELHO */
.b-preview-wrap {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

.preview-item-wrapper {
    position: relative;
    display: inline-block;
}

.preview-item-wrapper img,
.preview-item-wrapper video {
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #fff;
    display: block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transition: 0.2s;
    padding: 0;
}

.btn-remove-image:hover {
    transform: scale(1.15);
    background: #dc2626;
}

/* =========================================================
   5. ATALHOS, ÁUDIO E VÍDEO (MÍDIA)
   ========================================================= */
.b-shortcuts {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    justify-content: flex-start;
}

.b-short-btn {
    background: #fff;
    color: #e73c7e;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.b-short-btn:hover {
    background: #fbbf24;
    color: #333;
    transform: translateY(-2px);
}

.b-media-card {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.neon-title-media {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 800;
}

.b-waveform-area {
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
}

.b-timer {
    font-size: 1.2rem;
    font-family: monospace;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.b-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.b-controls button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #333;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.b-controls button:hover {
    transform: scale(1.1);
}

/* =========================================================
   6. BOTÃO DE ENVIO E FEEDBACK
   ========================================================= */
.b-submit-btn-full {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 900;
    background: linear-gradient(90deg, #e73c7e, #f59e0b);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(231, 60, 126, 0.4);
}

.b-submit-btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 60, 126, 0.6);
}

.b-feedback-full {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    display: none;
    font-size: 0.95rem;
    background: #fff;
    color: #333;
}

/* =========================================================
   7. MODAIS DE LOGIN E LISTA DE COMENTÁRIOS
   ========================================================= */
.brilha-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brilha-modal-content {
    background: linear-gradient(-45deg, #1e1b4b, #0f172a, #31102f);
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 2px solid #38bdf8;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close-brilha-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-brilha-modal:hover {
    color: #ef4444;
    transform: scale(1.1);
}

.modal-icon-glow {
    font-size: 3.5rem;
    color: #fbbf24;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.brilha-modal-content p {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.brilha-comments-list {
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Scrollbar para a lista de comentários */
.brilha-comments-list::-webkit-scrollbar {
    width: 6px;
}
.brilha-comments-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
.brilha-comments-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

/* Partícula dos corações */
.like-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    pointer-events: none;
    z-index: 100;
    font-size: 1.2rem;
    animation: particulaExplode 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes particulaExplode {
    0% { transform: translate(-50%, -50%) scale(0.2); opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.5); opacity: 0; }
}