/* Estilos gerais */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #7209b7;
    --success-color: #4CC9F0;
    --light-color: #f8f9fa;
    --dark-color: #1E293B;
    --card-bg: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    color: #1E293B;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 5px 15px;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: white;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.site-header h1 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
}

.tagline {
    margin: 5px 0;
}

.header-links {
    display: flex;
    margin-top: 10px;
    gap: 15px;
    justify-content: center;
    font-size: 0.8rem;
}

.tagline a {
    display: inline-flex;
    align-items: center;
    padding: 6px 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
}

.tagline a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
}

.tagline a i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Layout principal do player */
.podcast-container {
    max-width: 1200px;
    margin: 80px auto 30px; /* Ajustado para o header fixo */
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    min-height: 600px;
}

/* Sidebar com lista de episódios (ESQUERDA) */
.sidebar {
    flex: 0 0 300px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar h2 {
    padding: 20px;
    margin: 0;
    background: linear-gradient(to right, #f8f9fa, white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar h2 i {
    color: var(--primary-color);
}

.episode-list {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    max-height: 300px;
    scrollbar-width: thin;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.episode {
    background: #f8f9fa;
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.episode:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.episode.active {
    background: rgba(67, 97, 238, 0.1);
    border-left: 4px solid var(--primary-color);
}

.episode-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    float: left;
    margin-right: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.episode-details h3 {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
}

.episode-details p {
    margin: 0 0 8px 0;
    font-size: 0.85rem;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.duration {
    font-size: 0.8rem;
    color: #64748b;
    display: inline-block;
}

.loading-episodes {
    text-align: center;
    padding: 30px;
    color: #64748b;
}

/* Conteúdo principal (DIREITA) */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.podcast-player {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    padding: 20px;
}

.now-playing {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

#episode-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.episode-info {
    flex: 1;
}

.episode-info h3 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E293B;
}

.episode-info p {
    margin: 0 0 20px 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Reorganizar episode-meta para melhor estrutura */
.episode-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-info span {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Container para os links de guia/transcrição */
.episode-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5px;
}

/* Estilo comum para os containers de links */
.guide-link-container {
    margin: 0;
}

/* Estilo base para os botões de guia e transcrição */
.guide-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: white;
}

.guide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.guide-btn i {
    margin-right: 8px;
}

/* Cores específicas para cada botão */
.study-guide-btn {
    background-color: #4361ee;
}

.study-guide-btn:hover {
    background-color: #4361ee;
}

.transcript-btn {
    background-color: #6366f1;
}

.transcript-btn:hover {
    background-color: #4f46e5;
}

/* Responsividade para telas pequenas */
@media (max-width: 480px) {
    .episode-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .guide-link-container {
        width: 100%;
    }
    
    .guide-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Player controls */
.player-controls {
    margin-top: 20px;
    padding: 5px 0;
}

.progress-container {
    margin-bottom: 5px;
}

.progress-bar {
    background: #e2e8f0;
    height: 4px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    margin: 0;
}

.progress {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 3px;
    width: 0%;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 2px;
}

.control-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding: 0;
    min-height: 32px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    color: #64748b;
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    margin: 0 3px;
}

.control-btn:hover {
    color: var(--primary-color);
    background: rgba(67, 97, 238, 0.1);
}

.main-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(67, 97, 238, 0.3);
}

.main-btn:hover {
    transform: scale(1.05);
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 5px;
    height: 28px;
}

.volume-control i {
    color: #64748b;
    font-size: 0.8rem;
    margin-right: 5px;
}

#volume {
    width: 60px;
    accent-color: var(--primary-color);
    height: 4px;
}

#speed-btn {
    font-size: 0.75rem;
    padding: 0 8px;
    height: 24px;
    border-radius: 12px;
    min-width: 32px;
}

/* Estilos para o botão do guia de estudos */
.study-guide-container {
    margin-top: 15px;
    text-align: left;
}

.study-guide-btn {
    display: inline-flex;
    align-items: center;
    background-color: #4361ee;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.study-guide-btn:hover {
    background-color: #4361ee;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.study-guide-btn i {
    margin-right: 8px;
}

/* Estilo para o botão de transcrição */
.transcript-btn {
    display: inline-flex;
    align-items: center;
    background-color: #6366f1;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 10px;
    cursor: pointer;
}

.transcript-btn:hover {
    background-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.transcript-btn i {
    margin-right: 8px;
}

/* Estilos para a janela modal de transcrição */
.transcript-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.transcript-modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 25px;
    width: 90%;
    max-width: 800px;
    height: 50vh;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}

.transcript-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.transcript-header h2 {
    color: #333;
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.transcript-header h2 i {
    margin-right: 10px;
    color: #6366f1;
}

.close-modal-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal-btn:hover {
    color: #e74c3c;
    background-color: #f9f9f9;
}

/* Atualização da classe transcript-content para garantir altura mínima */
.transcript-content {
    min-height: 250px; /* Altura mínima garantida */
    max-height: 300px; /* Altura máxima para não ocupar muito espaço */
    overflow-y: auto;
    padding: 10px 0;
    line-height: 1.6;
    color: #444;
    transition: max-height 0.3s ease;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    background-color: #fafafa;
}

.transcript-actions {
    flex-shrink: 0;
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.transcript-action-btn {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.transcript-action-btn:hover {
    background-color: #e0e0e0;
}

.transcript-action-btn i {
    margin-right: 5px;
}

/* Estilos para a barra de rolagem da transcrição */
.transcript-content::-webkit-scrollbar {
    width: 6px;
}

.transcript-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.transcript-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.transcript-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Centralizando verticalmente para telas maiores */
@media (min-height: 800px) {
    .transcript-modal-content {
        margin: calc(25vh - 25px) auto;
    }
}

/* Estilos para o recurso DrillDown */
.sidebar-section-header {
    cursor: pointer;
    user-select: none;
    padding: 5px 0;
}

.sidebar-section-header h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-icon {
    font-size: 0.7em;
    transition: transform 0.3s ease;
}

.sidebar-section-header.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

/* Transição suave para expandir/recolher */
.episode-list, .resources-list {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

/* Estado recolhido */
.episode-list.collapsed, .resources-list.collapsed {
    max-height: 0 !important;
    opacity: 0;
    padding: 0;
    margin: 0;
}

/* Diminuir fonte do título e remover resumo na sidebar */
.episode-item .episode-title {
    font-size: 0.9em;
    font-weight: 500;
}

.episode-item .episode-description {
    display: none; /* Remove o resumo/descrição */
}

/* Ajustar espaçamento e tamanho dos itens de episódio */
.episode-item {
    padding: 10px;
}

/* Estilo para a barra de rolagem */
.episode-list::-webkit-scrollbar {
    width: 6px;
}

.episode-list::-webkit-scrollbar-track {
    background: transparent;
}

.episode-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

/* Estilo para o contador de episódios */
.episode-count, .resources-count {
    font-size: 0.7em;
    font-weight: normal;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    margin: 0 10px;
}

/* Recursos na sidebar */
.resources-list {
    margin-top: 10px;
}

.resource-item {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.resource-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.resource-item a {
    display: flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 0.95em;
}

.resource-item a i {
    margin-right: 10px;
    color: #6366f1;
}

/* Compartilhamento */
.share-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 20px;
}

.share-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-section h3 i {
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

#share-whatsapp {
    background: #25D366;
}

#share-twitter {
    background: #1DA1F2;
}

#share-facebook {
    background: #1877F2;
}

#share-linkedin {
    background: #0A66C2;
}

#copy-link {
    background: #64748b;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Estilos para a seção de apoio e patrocínios */
.support-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px 15px;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.support-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.support-text {
    flex: 1;
    min-width: 280px;
}

.support-text h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-text h3 i {
    color: #e74c3c;
}

.support-text p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.support-message {
    font-style: italic;
}

.support-qrcode {
    flex: 0 0 auto;
    text-align: center;
    padding: 15px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.pix-code {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

.support-tip {
    font-size: 0.9rem;
    color: #666;
    max-width: 200px;
    margin: 0 auto;
}

/* Estilos para o carrossel de patrocinadores */
.sponsors-section {
    padding: 30px 15px;
    text-align: center;
    background-color: #fff;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.sponsors-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sponsors-section h3 i {
    color: #3498db;
}

.sponsors-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 20px;
}

.sponsors-track {
    display: flex;
    transition: transform 0.5s ease;
}

.sponsor-item {
    flex: 0 0 300px;
    padding: 0 15px;
    box-sizing: border-box;
}

.sponsor-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.sponsor-item:hover img {
    transform: translateY(-5px);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 5;
    transition: all 0.3s ease;
}

.carousel-control:hover {
    background-color: #fff;
    color: #6366f1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.carousel-control.prev-btn {
    left: 0;
}

.carousel-control.next-btn {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #6366f1;
}

/* Footer */
.site-footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
}

/* Mensagem de sucesso para feedback */
.success-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    animation: fadeOut 3s forwards;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

/* Estilos para o botão "Desenvolvido por" */
.desenvolvido-por {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(58, 12, 163, 0.9);
    border-radius: 30px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.desenvolvido-por:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: rgba(58, 12, 163, 1);
}

.desenvolvido-por a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.dev-logo {
    height: 30px;
    margin-right: 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px;
}

/* Estilo melhorado para o banner promocional */
.promo-banner {
    background: linear-gradient(135deg, #2a2a72 0%, #512da8 100%);
    border-radius: 8px;
    margin: 30px auto;
    max-width: 1100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-content {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    position: relative;
}

.promo-logo {
    flex: 0 0 auto;
    padding-right: 25px;
    position: relative;
}

.promo-image {
    max-height: 60px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.promo-banner:hover .promo-image {
    transform: scale(1.05);
}

.promo-text {
    flex: 1;
    padding: 0 15px;
}

.promo-text h3 {
    color: white;
    margin: 0 0 5px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.promo-text p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.promo-cta {
    flex: 0 0 auto;
    padding-left: 15px;
}

.promo-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.promo-button:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsividade */
@media (max-width: 992px) {
    .content-wrapper {
      flex-direction: column;
    }

    .sidebar {
      flex: 0 0 auto;
      width: 100%;
      max-height: 400px;
    }

    #episode-image {
      width: 150px;
      height: 150px;
    }
}

@media (max-width: 768px) {
    .now-playing {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }

    .episode-meta {
      justify-content: center;
    }

    .episode-thumbnail {
      float: none;
      margin: 0 auto 15px;
      display: block;
    }

    .episode-details {
      text-align: center;
    }
    
    .support-container {
        flex-direction: column;
        text-align: center;
    }

    .support-text, .support-qrcode {
        width: 100%;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .promo-logo,
    .promo-text,
    .promo-cta {
        padding: 10px 0;
    }

    .transcript-modal-content {
        margin: 30px auto;
        padding: 20px;
        width: 95%;
        height: 60vh;
    }
    
    .transcript-content {
        max-height: calc(60vh - 120px);
    }
}

@media (max-width: 576px) {
    .podcast-container {
        padding: 0 10px;
    }

    .episode-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .control-buttons {
        flex-wrap: wrap;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .desenvolvido-por {
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: 0;
        text-align: center;
        justify-content: center;
    }

    .desenvolvido-por a {
        margin: 0 auto;
        justify-content: center;
    }
    
    .sponsor-item {
        flex: 0 0 100%;
    }
}

/* Estilos para a transcrição formatada */
.transcript-formatted {
    padding: 15px 0;
    line-height: 1.6;
}

.transcript-formatted p {
    margin-bottom: 15px;
}

.transcript-english {
    background-color: #f0f7ff;
    border-left: 3px solid #4361ee;
    padding: 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
}

.transcript-english i {
    margin-right: 10px;
    color: #4361ee;
    margin-top: 5px;
}

.transcript-english blockquote {
    margin: 0;
    font-style: italic;
    color: #3a0ca3;
    flex: 1;
}

.transcript-question {
    font-weight: 600;
    margin: 15px 0;
    color: #1E293B;
    padding-left: 20px;
    position: relative;
}

.transcript-question:before {
    content: '🎯';
    position: absolute;
    left: 0;
}

.transcript-keyword {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 5px 10px;
    margin: 5px 5px 5px 0;
    border-radius: 4px;
    font-family: monospace;
    color: #3a0ca3;
    font-weight: 600;
}

.transcript-section {
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    color: #7209b7;
    font-size: 1.1rem;
}

/* Estilos para a descrição do episódio com rolagem */
#episode-description {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    transition: max-height 0.3s ease;
    line-height: 1.5;
    padding-right: 10px;
}

#episode-description::-webkit-scrollbar {
    width: 6px;
}

#episode-description::-webkit-scrollbar-track {
    background: transparent;
}

#episode-description::-webkit-scrollbar-thumb {
    background-color: rgba(200, 200, 200, 0.5);
    border-radius: 6px;
}

/* Ajuste para evitar sobreposição com o footer em telas pequenas */
@media (max-height: 800px) {
    .desenvolvido-por {
        position: static;
        margin: 20px auto;
        width: fit-content;
    }
}

/* Estilos para os elementos do player de áudio */
audio::-webkit-media-controls-panel {
    background-color: #f8f9fa;
}

audio::-webkit-media-controls-play-button {
    background-color: var(--primary-color);
    border-radius: 50%;
}

audio::-webkit-media-controls-volume-slider {
    background-color: var(--primary-color);
    border-radius: 25px;
    padding-left: 8px;
    padding-right: 8px;
}

/* Ajustes finais para garantir consistência */
button {
    font-family: 'Outfit', sans-serif;
}

input {
    font-family: 'Outfit', sans-serif;
}

/* Estilos para o estado vazio de transcrição */
.transcript-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    color: #64748b;
    font-style: italic;
}

.transcript-placeholder {
    text-align: center;
    color: #64748b;
    font-style: italic;
    padding: 20px;
}

