/* ============================================
   RESET E CONFIGURAÇÕES GERAIS
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS VARIABLES FOR THEME (LIGHT DEFAULT) */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-tertiary: #e5e5e5;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --border-color: #e5e5e5;
    --card-bg: #ffffff;
    --card-hover-bg: #f5f5f5;
    --header-bg: #ffffff;
    --menu-bg: #ffffff;
    --overlay-bg: rgba(0, 0, 0, 0.5);
    --icon-color: #1a1a1a;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --input-bg: #f0f0f0;
    --input-border: #d0d0d0;
    --button-primary-bg: #1a1a1a;
    --button-primary-text: #ffffff;
    --button-secondary-bg: #f5f5f5;
    --button-secondary-text: #666666;
}

/* DARK MODE THEME */
body.dark-mode {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #808080;
    --border-color: #333333;
    --card-bg: #1a1a1a;
    --card-hover-bg: #2a2a2a;
    --header-bg: #0d0d0d;
    --menu-bg: #1a1a1a;
    --overlay-bg: rgba(0, 0, 0, 0.7);
    --icon-color: #ffffff;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.4);
    --input-bg: #2a2a2a;
    --input-border: #444444;
    --button-primary-bg: #ffffff;
    --button-primary-text: #1a1a1a;
    --button-secondary-bg: #2a2a2a;
    --button-secondary-text: #b0b0b0;
}

body {
    font-family: 'proxima-nova', 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
    width: 100%;
    max-width: 1669px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.logo img {
    height: 55px;
    width: auto;
}

body.dark-mode .logo img {
    filter: brightness(0) invert(1);
}

.logo .logo-desktop {
    display: block;
}

.logo .logo-mobile {
    display: none;
    height: 45px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.header-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.header-nav a:hover {
    opacity: 0.6;
}

.user-icon {
    color: var(--text-primary);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.user-icon:hover {
    opacity: 0.6;
}

@media (max-width: 900px) {
    .header-nav { display: none; }
    .header-container { padding: 0 20px; }
    .logo .logo-desktop { display: none; }
    .logo .logo-mobile { display: block; height: 50px; }
}

@media (max-width: 480px) {
    .site-header { height: 65px; }
    .logo .logo-mobile { height: 45px; }
}

/* MENU LATERAL PRINCIPAL COM FOOTER */
.side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: var(--menu-bg);
    z-index: 1000;
    transition: left 0.3s ease, background-color 0.3s ease;
    box-shadow: 2px 0 20px var(--shadow-light);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.side-menu.open { left: 0; }

.menu-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--text-primary);
}

.menu-list {
    list-style: none;
    padding: 20px 0;
    flex-shrink: 0;
}

.menu-list li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.menu-list li a:hover,
.menu-list li a.active {
    background: var(--bg-secondary);
}

.menu-list li a svg { 
    opacity: 0.9;
    fill: var(--icon-color);
}

/* FOOTER DENTRO DO MENU HAMBURGER */
.menu-footer {
    margin-top: auto;
    padding: 25px 30px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.menu-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.menu-footer-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: underline;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    transition: opacity 0.3s ease;
}

.menu-footer-link:hover {
    opacity: 0.7;
}

.menu-footer-link svg {
    flex-shrink: 0;
    margin-top: 2px;
    fill: var(--icon-color);
}

.menu-footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.menu-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: opacity 0.3s ease;
}

.menu-footer-social a:hover {
    opacity: 0.6;
}

.menu-footer-social a svg {
    fill: var(--icon-color);
}

.menu-footer-copyright {
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 400;
}

.menu-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.menu-footer-links a {
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.menu-footer-links a:hover {
    opacity: 0.7;
}

.menu-footer-links .separator {
    color: var(--text-tertiary);
    font-size: 11px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* PAINEL DE FILTROS LATERAL */
.filters-panel {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    max-width: 90vw;
    height: 100%;
    background: var(--menu-bg);
    z-index: 1001;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
    box-shadow: 4px 0 30px var(--shadow-medium);
    display: flex;
    flex-direction: column;
}

.filters-panel.open { left: 0; }

.filters-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
    flex-shrink: 0;
}

.filters-panel-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.filters-panel-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.2s;
}

.filters-panel-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.filters-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.filter-section {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 28px;
}

.filter-section:last-child { border-bottom: none; }

.filter-section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-search-wrapper {
    margin-bottom: 12px;
}

.filter-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--text-primary);
}

.filter-search-input::placeholder {
    color: var(--text-tertiary);
}

/* Custom Checkbox Style */
.filter-checkbox {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
    position: relative;
}

.filter-checkbox:hover { background: var(--bg-secondary); }

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.filter-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--input-border);
    border-radius: 6px;
    margin-right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    background: var(--bg-primary);
}

.filter-checkbox input:checked ~ .checkmark {
    background: var(--button-primary-bg);
    border-color: var(--button-primary-bg);
}

.filter-checkbox .checkmark::after {
    content: '';
    display: none;
    width: 6px;
    height: 10px;
    border: solid var(--button-primary-text);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.filter-checkbox input:checked ~ .checkmark::after { display: block; }

.filter-checkbox .filter-label {
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
}

/* Filters Panel Footer */
.filters-panel-footer {
    display: flex;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    background: var(--menu-bg);
    flex-shrink: 0;
}

.btn-clear-filters {
    flex: 1;
    padding: 14px 20px;
    background: var(--button-secondary-bg);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--button-secondary-text);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-clear-filters:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-apply-filters {
    flex: 1;
    padding: 14px 20px;
    background: var(--button-primary-bg);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--button-primary-text);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-apply-filters:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.filters-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* HERO BANNER */
.hero-banner-wrapper {
    width: 100%;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin-top: 80px;
}

.hero-banner {
    position: relative;
    width: 100%;
    max-width: 1669px;
    margin: 0 auto;
    aspect-ratio: 1669 / 661;
    overflow: hidden;
    background: #000000;
}

@supports not (aspect-ratio: 1669 / 661) {
    .hero-banner {
        height: 0;
        padding-bottom: 39.6%;
    }
}

@media (max-width: 480px) {
    .hero-banner { aspect-ratio: 16 / 9; }
    @supports not (aspect-ratio: 16 / 9) {
        .hero-banner { padding-bottom: 56.25%; }
    }
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-img-desktop {
    display: block;
}

.hero-img-mobile {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    max-width: 500px;
    color: #ffffff;
    z-index: 2;
}

.hero-title {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25em;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-pastor {
    font-size: 1em;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.hero-subtitle {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 20px;
}

.watch-sermon-btn {
    background: #ffffff;
    color: #1a1a1a;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.watch-sermon-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-banner-wrapper { margin-top: 65px; }
    .hero-banner { 
        aspect-ratio: auto;
        height: 75vh;
        max-height: 600px;
    }
    .hero-img-desktop { display: none; }
    .hero-img-mobile {
        display: block;
        object-position: center center;
    }
    .hero-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0) 100%);
    }
    .hero-content {
        bottom: 30px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
        max-width: 90%;
        text-align: center;
    }
    .hero-title { 
        font-size: 0.75em; 
        margin-bottom: 8px;
    }
    .hero-pastor { font-size: 1em; margin-bottom: 4px; }
    .hero-subtitle { font-size: 0.85em; margin-bottom: 20px; }
    .watch-sermon-btn { 
        padding: 16px 50px; 
        font-size: 15px;
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-banner { height: 70vh; max-height: 550px; }
    .hero-content { 
        bottom: 25px; 
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
    }
    .hero-title { font-size: 0.65em; }
    .hero-pastor { font-size: 0.95em; }
    .hero-subtitle { font-size: 0.8em; margin-bottom: 18px; }
    .watch-sermon-btn { 
        padding: 14px 30px; 
        font-size: 14px;
        width: 100%;
        max-width: 280px;
    }
}

/* PAGE HEADER */
.page-header {
    background: var(--bg-primary);
    padding: 50px 0 20px;
}

.page-header .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-header h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 0.95em;
    color: var(--text-secondary);
    max-width: 700px;
    line-height: 1.5;
}

/* CONTAINER PRINCIPAL */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 40px 50px;
    background-color: var(--bg-primary);
}

/* BARRA DE BUSCA E BOTÃO DE FILTROS */
.search-filter-container {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.search-wrapper {
    position: relative;
    width: 280px;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
}

.search-input {
    width: 100%;
    padding: 14px 14px 14px 48px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 400;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s;
}

.search-input:focus {
    outline: none;
    border-color: var(--text-primary);
    background: var(--bg-primary);
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.filters-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: var(--bg-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.filters-btn:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
}

.filters-btn.has-filters {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    border-color: var(--button-primary-bg);
}

.filter-count {
    display: none;
    background: var(--button-primary-text);
    color: var(--button-primary-bg);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

.filter-count.show { display: inline-block; }

/* RESULTS COUNT */
.results-count {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* VIDEO GRID */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    border: 1px solid var(--border-color);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #1a1a1a;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 5px;
}

.video-card:hover .play-icon {
    opacity: 1;
}

.video-info {
    padding: 25px;
}

.video-category {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.video-title {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.video-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-date {
    font-size: 0.85em;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-primary);
    width: 100%;
    min-height: 100%;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.close-modal:hover { opacity: 0.7; }

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-info {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
}

.modal-video-title {
    font-size: 2em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-video-pastor {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.modal-video-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    color: var(--text-tertiary);
    margin-bottom: 25px;
}

.modal-video-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.modal-btn-primary {
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
}

.modal-btn-primary:hover {
    opacity: 0.85;
}

.modal-btn-secondary {
    background: var(--button-secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.modal-btn-secondary:hover {
    background: var(--bg-tertiary);
}

.modal-btn-accent {
    background: #dc3545;
    color: #ffffff;
}

.modal-btn-accent:hover {
    background: #c82333;
}

/* Share Dropdown */
.share-dropdown-container {
    position: relative;
}

.share-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px var(--shadow-medium);
    min-width: 200px;
    padding: 10px 0;
    z-index: 10;
    display: none;
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
}

.share-dropdown.show { display: block; }

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    transition: background 0.2s;
}

.share-option:hover {
    background: var(--bg-secondary);
}

.modal-video-description {
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* NEXT STEP SECTION */
.next-step-section {
    background: var(--bg-secondary);
    padding: 60px 40px;
}

.next-step-title {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 10px;
}

.next-step-subtitle {
    font-size: 1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.next-step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.next-step-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    display: block;
    border: 1px solid var(--border-color);
}

.next-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-light);
}

.next-step-card h4 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.next-step-card p {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
}

.next-step-card .card-link {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--text-primary);
}

/* EMBED MODAL */
.embed-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.embed-modal.show {
    display: flex;
}

.embed-modal-content {
    background: var(--card-bg);
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow-medium);
}

.embed-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.embed-modal-header h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--text-primary);
}

.embed-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.embed-modal-close:hover {
    color: var(--text-primary);
}

.embed-modal-body {
    padding: 25px;
}

.embed-modal-body p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.embed-modal-body textarea {
    width: 100%;
    height: 120px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: monospace;
    font-size: 13px;
    background: var(--input-bg);
    color: var(--text-primary);
    resize: none;
    margin-bottom: 15px;
}

.btn-copy-embed {
    width: 100%;
    padding: 14px;
    background: var(--button-primary-bg);
    color: var(--button-primary-text);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-copy-embed:hover {
    opacity: 0.85;
}

/* LOADING E MENSAGENS */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
    grid-column: 1 / -1;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-left: 10px;
    border: 4px solid var(--border-color);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.no-results {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

.no-results h3 {
    color: var(--text-primary);
    font-size: 1.8em;
    margin-bottom: 12px;
    font-weight: 700;
}

.no-results p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .page-header h2 { font-size: 1.8em; }
    .page-header p { font-size: 0.95em; }
    .page-header .container { padding: 0 20px; }
    
    .search-filter-container { flex-direction: column; }
    .search-wrapper { width: 100%; max-width: 100%; }
    .filters-btn { width: 100%; justify-content: center; }
    
    .video-grid { grid-template-columns: 1fr; }
    
    .modal-content { margin: 0; padding: 0; }
    .video-modal-info { padding: 30px 20px 40px; }
    
    .video-info { padding: 20px; }
    .video-title { font-size: 1.2em; }
    
    .container { padding: 30px 20px; }
    
    .next-step-section { padding: 40px 20px; }
    .next-step-title { font-size: 1.5em; }
    .next-step-cards { grid-template-columns: 1fr; }
    
    .filters-panel { width: 100%; max-width: 100%; left: -100%; }
}

@media (max-width: 480px) {
    .page-header h2 { font-size: 1.6em; }
    .page-header p { font-size: 0.9em; }
    
    .container { padding: 25px 15px; }
    .video-grid { gap: 20px; }
    
    .modal-content { padding: 0; }
    .video-modal-info { padding: 20px; }
    .modal-video-title { font-size: 1.2em; }
    .modal-video-buttons { flex-direction: column; }
    .modal-btn { width: 100%; justify-content: center; }
}

/* ============================================
   LIVE INDICATOR - Indicador de Ao Vivo
   ============================================ */
.videos-header {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-glow 2s ease-in-out infinite;
    transition: transform 0.2s, box-shadow 0.2s;
}

.live-indicator:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(220, 53, 69, 0.4);
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

.live-text {
    line-height: 1;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(220, 53, 69, 0.5); }
    50% { box-shadow: 0 0 20px rgba(220, 53, 69, 0.8); }
}

/* Live badge no player */
.live-badge-player {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    animation: pulse-glow 2s ease-in-out infinite;
}

.video-page-category.live-category {
    background: #dc3545 !important;
    color: #fff !important;
}
