/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUTS DINÂMICOS - PODCAST PLAYER
   ═══════════════════════════════════════════════════════════════════════════ */

/* ========== ANIMAÇÕES DE TRANSIÇÃO (REFINADAS) ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.985) translateY(5px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(1.015) translateY(-5px);
    }
}

/* Máscara de Transição (Gradient Masking requested by USER) */
.transition-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(31, 31, 31, 0.8) 50%, rgb(31, 31, 31) 100%);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-mask.active {
    opacity: 1;
}

/* ========== CONTAINERS DE LAYOUT ========== */
.podcasts-main-content {
    background: rgb(31, 31, 31);
}

.layout-container {
    display: none;
    opacity: 0;
    pointer-events: none;
    background: rgb(31, 31, 31);
    will-change: opacity, transform;
}

.layout-container.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    padding-left: calc(var(--sidebar-width-desktop));
    padding-top: 2.7rem;
    animation: fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.layout-container.fade-out {
    animation: fadeOut 0.15s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUTS COM BACKGROUND - Colados na barra (padding-top: 0)
   Inclui: Inicio, Programa, Episódio
   ═══════════════════════════════════════════════════════════════════════════ */
#layout-inicio.active,
#layout-programa.active,
#layout-episodio.active {
    padding-top: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LAYOUTS SEM BACKGROUND - Com afastamento de 60px
   Inclui: Novidades, Top, Descubra
   ═══════════════════════════════════════════════════════════════════════════ */
#layout-novidades.active,
#layout-top.active,
#layout-descubra.active {
    padding-top: 60px !important;
}

/* ========== BOTÃO VOLTAR (btn-back-to-list) ========== */
.btn-back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f9fafb;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 1.5rem 0 2rem 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    user-select: none;
    outline: none;
}

.btn-back-to-list:hover {
    background: rgba(183, 155, 255, 0.15);
    border-color: rgba(183, 155, 255, 0.4);
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(183, 155, 255, 0.15);
    color: #ffffff;
}

.btn-back-to-list:active {
    transform: translateX(-2px) scale(0.98);
}

.btn-back-to-list i {
    font-size: 1.2rem;
    color: #b79bff;
    transition: transform 0.3s ease;
}

.btn-back-to-list:hover i {
    transform: translateX(-3px);
}

@media (max-width: 1199px) {
    .layout-container.active {
        padding-left: 0;
        padding-top: 0;
    }

    .btn-back-to-list {
        margin-left: 1.5rem;
    }

    /* Layouts sem background - manter 0px em tablet se a barra top estiver lá */
    #layout-novidades.active,
    #layout-top.active,
    #layout-descubra.active {
        padding-top: 0px !important;
    }

    /* Layouts com background - colados na barra */
    #layout-inicio.active,
    #layout-programa.active,
    #layout-episodio.active {
        padding-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .layout-container.active {
        padding-top: 0;
        padding-left: 0 !important;
        /* Anular sidebar desktop no mobile */
    }

    .btn-back-to-list {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin: 1rem 0 1.5rem 1rem;
    }

    /* Layouts sem background - manter 60px em mobile */
    #layout-novidades.active,
    #layout-top.active,
    #layout-descubra.active {
        padding-top: 60px !important;
    }

    /* Layouts com background - colados na barra, SEM margens/paddings extras */
    #layout-inicio.active,
    #layout-programa.active,
    #layout-episodio.active {
        padding-top: 0 !important;
        padding-left: 0 !important;
        margin: 0 !important;
    }

    /* Banner colado sem vão superior */
    .featured-banner {
        margin-top: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* ───── Seção de Novidades em Grid ───── */
.novidades-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 4 colunas - Desktop (>1200px) */
    gap: 24px;
    /* 24px gap - Desktop */
    margin-bottom: 3rem;
    padding: 0 1rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

/* Tablet Landscape (768px-1199px): 3 colunas */
@media (min-width: 768px) and (max-width: 1199px) {
    .novidades-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Tablet Portrait/Mobile Landscape (480px-767px): 2 colunas */
@media (min-width: 480px) and (max-width: 767px) {
    .novidades-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Mobile Portrait (<479px): 1 coluna */
@media (max-width: 479px) {
    .novidades-featured-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Coluna individual (Texto + Card) */
.novidade-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.novidade-column:hover {
    transform: translateY(-4px);
}

/* Header de texto acima do card */
.novidade-text-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.novidade-eyebrow {
    font-size: clamp(0.625rem, 1.5vw, 0.875rem);
    /* Responsivo entre 0.625rem-0.875rem */
    font-weight: 700;
    color: #9ca3af;
    /* Cinza claro/médio */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.novidade-headline {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    /* Responsivo entre 1rem-1.25rem */
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    min-height: 2.6em;
    /* Garante espaço para 2 linhas sempre */
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.novidade-subdesc {
    font-size: clamp(0.8rem, 1.8vw, 1rem);
    /* Responsivo entre 0.8rem-1rem */
    color: #d1d5db;
    /* Cinza mais claro */
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
}

/* Card de Imagem (apenas visual, sem texto dentro) */
.novidade-featured-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: clamp(8px, 2vw, 12px);
    /* Responsivo */
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.novidade-featured-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

/* Botão de Play centralizado */
.novidade-play-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    top: auto;
    left: auto;
    transform: none;
    width: clamp(20px, 5vw, 28px);
    /* Responsivo */
    height: clamp(20px, 5vw, 28px);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    /* Invisível por padrão, aparece no hover */
    z-index: 10;
}

.novidade-featured-card:hover .novidade-play-btn {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.novidade-play-btn:hover {
    transform: scale(1.1);
    background: #9966cc !important;
    color: white;
    border-color: #9966cc;
    box-shadow: 0 4px 12px rgba(153, 102, 204, 0.4);
}

.novidade-play-btn .play-btn-icon-sm {
    font-size: 14px;
    color: white;
    margin-left: 2px;
    /* Ajuste visual do ícone play */
    transition: color 0.3s ease;
}

.novidade-play-btn:hover .play-btn-icon {
    color: white;
}

/* ───── Seção Melhores e Principais (Layouts de Lista) ───── */
/* Manter estilos existentes se necessário, ou ajustar conforme o novo grid */
.podcasts-grid-novidades {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.principais-grid-novidades {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.principais-card-novidades {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 0.75rem;
    transition: background 0.3s ease;
    cursor: pointer;
}

.principais-card-novidades:hover {
    background: rgba(255, 255, 255, 0.08);
}

.principais-card-image {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.principais-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Botão de Play Centralizado (Principais Episódios) */
.principais-play {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 10;
    padding: 0;
}

.principais-card-image:hover .principais-play {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.principais-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #9966cc !important;
    color: white;
    border-color: #9966cc;
    box-shadow: 0 4px 12px rgba(153, 102, 204, 0.4);
}

.principais-play .play-btn-icon-sm {
    font-size: 14px;
    color: white;
    margin-left: 2px;
    /* Ajuste óptico para centralizar triângulo */
    margin-top: 1px;
    /* Ajuste vertical fino */
    line-height: 1;
    display: flex;
    transition: color 0.3s ease;
}

.principais-play-btn {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.principais-card-image:hover .principais-play-btn {
    opacity: 1;
}

.principais-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.principais-time-ago {
    font-size: 10px;
    color: #c0c4d4;
    margin-bottom: 0.25rem;
}

.principais-title {
    font-size: 12px;
    font-weight: 400;
    color: #f4f4ff;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.principais-desc {
    font-size: 11px;
    color: #d0d4e4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   LAYOUT 3: TOP CHARTS (REFACTORED)
   ========================================= */

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    display: inline-block;
}

.custom-dropdown .dropdown-toggle {
    background: transparent;
    border: none;
    color: #9ca3af;
    /* Gray-400 equivalent */
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: color 0.2s;
}

/* Remove default Bootstrap caret */
.custom-dropdown .dropdown-toggle::after {
    display: none !important;
}

.custom-dropdown .dropdown-toggle:hover,
.custom-dropdown.open .dropdown-toggle {
    color: #e5e7eb;
    /* Gray-200 */
}

.custom-dropdown .dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.custom-dropdown.open .dropdown-toggle i {
    transform: rotate(180deg);
}

.custom-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: #1f2937;
    /* Gray-800 */
    border: 1px solid #374151;
    /* Gray-700 */
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    z-index: 50;
    display: none;
    list-style: none;
    padding: 0.5rem 0;
    max-height: 300px;
    overflow-y: auto;
}

.custom-dropdown.open .dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.custom-dropdown .dropdown-item {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    color: #d1d5db;
    /* Gray-300 */
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.custom-dropdown .dropdown-item:hover {
    background: #374151;
    /* Gray-700 */
    color: white;
}

.custom-dropdown .dropdown-item.active {
    background: rgba(168, 85, 247, 0.2);
    /* Purple tint */
    color: #c084fc;
    /* Purple-400 */
}

/* Title Toggles (Chevrons) */
.subsection-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.subsection-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #6b7280;
    /* Gray-500 */
    border-bottom: 2px solid #6b7280;
    transform: rotate(-45deg);
    transition: all 0.2s ease;
    margin-top: 2px;
}

.section-principais-top .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Ensure the title chevron matches */
.section-principais-top .section-title::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #6b7280;
    border-bottom: 2px solid #6b7280;
    transform: rotate(-45deg);
    transition: all 0.2s ease;
    margin-top: 2px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Section 1: Principais Podcasts (Carousel) --- */
.ranking-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto 3rem;
    padding: 0 5px;
    display: flex;
    align-items: center;
}

.podcasts-grid-top {
    display: flex !important;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    flex: 1;
    margin: 0 !important;
}

.podcast-top-card {
    flex: 0 0 calc((100% - (4 * 20px)) / 5);
    /* Default 5 cards desktop (>1200px) */
    min-width: 0;
    transition: transform 0.3s ease;
}

/* Tablet (768px - 1199px): 3 cards */
@media (max-width: 1199px) {
    .podcast-top-card {
        flex: 0 0 calc((100% - (2 * 20px)) / 3);
    }
}

/* Mobile (<= 767px): 2 cards */
@media (max-width: 767px) {
    .podcast-top-card {
        flex: 0 0 calc((100% - (1 * 20px)) / 2);
    }

    .ranking-carousel-container {
        padding: 0;
    }
}

.ranking-nav {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.ranking-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.ranking-nav i {
    font-size: 1.2rem;
}

.ranking-nav.prev {
    margin: 0 10px 0 5px;
}

.ranking-nav.next {
    margin: 0 5px 0 10px;
}

/* Desktop: Hide buttons if 5 or less items (only 5 items were requested originally, but we fetched 10) */
@media (min-width: 1200px) {
    /* If exactly 5, we could hide, but let's keep for flexibility if more than 5 */
}

.podcast-top-card {
    display: flex;
    flex-direction: column;
    min-width: 160px;
    /* Ensure cards don't get too small */
    transition: transform 0.3s ease;
}

.top-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: clamp(6px, 2vw, 8px);
    overflow: hidden;
    margin-bottom: 0.75rem;
    background-color: #374151;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.top-card-image:hover {
    transform: scale(1.02);
}

.top-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-card-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.top-card-rank {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: #e5e7eb;
    line-height: 1;
    min-width: 20px;
}

.top-card-text-group {
    display: flex;
    flex-direction: column;
}

.top-card-title {
    font-size: clamp(0.8rem, 1.8vw, 0.95rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: default;
    min-height: 2.4em;
}

/* Tooltip para title do top card truncado */
.top-card-title[title]:hover {
    position: relative;
}

.top-card-title[title]::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    max-width: 280px;
    min-width: max-content;
    word-break: break-word;
    white-space: pre-wrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(153, 102, 204, 0.3);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-bottom: 8px;
}

.top-card-title[title]:hover::before {
    opacity: 1;
    visibility: visible;
    animation: tooltip-fade-in 0.2s ease;
}

.top-card-title[title]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-bottom: -4px;
    pointer-events: none;
}

.top-card-title[title]:hover::after {
    opacity: 1;
    visibility: visible;
}

.top-card-author {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: #9ca3af;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    cursor: default;
    min-height: 1.2em;
}

/* Tooltip para author do top card truncado */
.top-card-author[title]:hover {
    position: relative;
}

.top-card-author[title]::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #e5e7eb;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    max-width: 280px;
    min-width: max-content;
    word-break: break-word;
    white-space: pre-wrap;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(153, 102, 204, 0.3);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-bottom: 8px;
}

.top-card-author[title]:hover::before {
    opacity: 1;
    visibility: visible;
    animation: tooltip-fade-in 0.2s ease;
}

.top-card-author[title]::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 8px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(0, 0, 0, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    margin-bottom: -4px;
    pointer-events: none;
}

.top-card-author[title]:hover::after {
    opacity: 1;
    visibility: visible;
}


/* --- Section 2: Principais Episódios (3-Column Grid) --- */
.principais-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Exibindo apenas 3 colunas no Desktop para evitar corte lateral */
    column-gap: 24px;
    row-gap: 1.5rem;
    padding: 0 1rem;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

/* Tablet Landscape (768px-1199px): 1 coluna */
@media (min-width: 768px) and (max-width: 1199px) {
    .principais-grid-top {
        grid-template-columns: 1fr;
        column-gap: 16px;
    }
}

/* Tablet Portrait/Mobile Landscape (480px-767px): 1 coluna */
@media (min-width: 480px) and (max-width: 767px) {
    .principais-grid-top {
        grid-template-columns: 1fr;
        column-gap: 12px;
    }
}

/* Mobile Portrait (<479px): 1 coluna */
@media (max-width: 479px) {
    .principais-grid-top {
        grid-template-columns: 1fr;
        column-gap: 8px;
    }
}

.principais-card-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.principais-card-top:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
}

.principais-card-image-top {
    position: relative;
    width: clamp(40px, 8vw, 88px);
    height: clamp(40px, 8vw, 88px);
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #374151;
}

.principais-card-image-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.principais-card-rank-top {
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: 600;
    color: #d1d5db;
    width: 20px;
    text-align: center;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.principais-card-content-top {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    /* Enables truncation in flex child */
}

.principais-time-ago-top {
    font-size: clamp(0.6rem, 1.2vw, 0.7rem);
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.principais-title-top {
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.principais-desc-top {
    font-size: clamp(0.75rem, 1.5vw, 0.8rem);
    color: #9ca3af;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.principais-duration-top {
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    color: #9ca3af;
}

/* Play Buttons for Top 5 and Principais */

/* Top 5 Play Button */
.top-play-btn {
    position: absolute;
    bottom: clamp(4px, 1vw, 6px);
    right: clamp(4px, 1vw, 6px);
    width: clamp(28px, 6vw, 36px);
    height: clamp(28px, 6vw, 36px);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(10px);
    z-index: 10;
    padding: 0;
    color: white;
}

.podcast-top-card:hover .top-play-btn {
    opacity: 1;
    transform: translateY(0);
}

.top-play-btn:hover {
    background: #9e0dbb;
    transform: scale(1.1);
}

.top-play-btn .play-btn-icon-sm {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
    /* Optical adjustment */
}

/* Principais Play Button */
.principais-play-top {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: clamp(20px, 5vw, 26px);
    height: clamp(20px, 5vw, 26px);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    z-index: 10;
    padding: 0;
    color: white;
}

.principais-card-top:hover .principais-play-top {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.principais-play-top:hover {
    background: #9e0dbb;
    border-color: #9e0dbb;
    transform: translate(-50%, -50%) scale(1.1);
}

.principais-play-top .play-btn-icon-sm {
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1px;
    /* Optical centering for triangle shape */
}

/* Responsive Breakpoints - REMOVIDO (já implementado acima no .podcasts-grid-top e .principais-grid-top) */
/* Animação para tooltips */
@keyframes tooltip-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO PROGRAMS SECTION - NOVO DESIGN RESPONSIVO
   ═════════════════════════════════════════════════════════════════════════════ */

#hero-programs-section {
    width: 100%;
    padding: 3rem 0;
    background: transparent;
}

.hero-programs-wrapper {
    width: 100%;
}

.hero-programs-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-programs-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
}

/* Grid responsivo: 3 cards desktop, 2 tablet, 1 mobile */
.hero-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.hero-program-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* TEMA */
.hero-program-tema {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* TÍTULO DO PROGRAMA */
.hero-program-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* DESCRIÇÃO */
.hero-program-desc {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
}

/* WRAPPER IMAGEM COM BOTÕES */
.hero-program-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-program-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* IMAGEM */
.hero-program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BOTÃO PLAY */
.hero-program-play-btn {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: 3rem;
    height: 3rem;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: transform 0.2s ease;
    z-index: 10;
}

.hero-program-play-btn:hover {
    transform: scale(1.1);
}

.hero-play-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-play-icon {
    width: 0;
    height: 0;
    border-left: 0.75rem solid #000;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
    margin-left: 0.25rem;
}

/* BOTÃO MAIS DETALHES */
.hero-program-details-btn {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: 1.25rem;
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-program-details-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE - TABLET (1024px e abaixo)
   ═════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .hero-programs-title {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }

    .hero-programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .hero-program-name {
        font-size: 1.125rem;
    }

    .hero-program-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    .hero-program-play-btn {
        width: 2.5rem;
        height: 2.5rem;
        left: 0.75rem;
        bottom: 0.75rem;
    }

    .hero-play-circle {
        width: 100%;
        height: 100%;
    }

    .hero-play-icon {
        border-left: 0.625rem solid #000;
        border-top: 0.375rem solid transparent;
        border-bottom: 0.375rem solid transparent;
    }

    .hero-program-details-btn {
        width: 2rem;
        height: 2rem;
        right: 0.75rem;
        bottom: 0.75rem;
        font-size: 1rem;
    }
}

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE - MOBILE (768px e abaixo)
   ═════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .hero-programs-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .hero-programs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-program-name {
        font-size: 1rem;
    }

    .hero-program-desc {
        font-size: 0.85rem;
    }

    .hero-program-image-wrapper {
        aspect-ratio: 16 / 9;
    }

    .hero-program-play-btn {
        width: 2rem;
        height: 2rem;
        left: 0.5rem;
        bottom: 0.5rem;
    }

    .hero-play-icon {
        border-left: 0.5rem solid #000;
        border-top: 0.3rem solid transparent;
        border-bottom: 0.3rem solid transparent;
        margin-left: 0.15rem;
    }

    .hero-program-details-btn {
        width: 1.75rem;
        height: 1.75rem;
        right: 0.5rem;
        bottom: 0.5rem;
        font-size: 0.875rem;
    }
}

/* ═════════════════════════════════════════════════════════════════════════════
   SEÇÃO: PROGRAMAS EM DESTAQUE (NOVO LAYOUT)
   ═════════════════════════════════════════════════════════════════════════════ */

#spotlight-programs-section {
    width: 100%;
    background: transparent;
}

.spotlight-programs-section {
    width: 100%;
}

.spotlight-programs-container {
    max-width: 1440px;
    margin: 0 auto;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.spotlight-programs-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    text-align: left;
}

/* Grid responsivo: 3 cards desktop, 2 tablet, 1 mobile */
.spotlight-programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.spotlight-program-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* TEMA */
.spotlight-program-tema {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* TÍTULO DO PROGRAMA */
.spotlight-program-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* DESCRIÇÃO */
.spotlight-program-desc {
    font-size: 0.9rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* WRAPPER IMAGEM COM BOTÕES */
.spotlight-program-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-program-image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* IMAGEM */
.spotlight-program-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BOTÃO PLAY */
.spotlight-program-play-btn {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    width: clamp(2rem, 5vw, 2.5rem);
    height: clamp(2rem, 5vw, 2.5rem);
    border: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.spotlight-program-image-wrapper:hover .spotlight-program-play-btn {
    opacity: 1;
}

.spotlight-program-play-btn:hover {
    transform: scale(1.1);
    background: #9966cc !important;
    border-color: #9966cc;
    box-shadow: 0 4px 12px rgba(153, 102, 204, 0.4);
}

/* BOTÃO MAIS DETALHES */
.spotlight-program-details-btn {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: clamp(1.75rem, 5vw, 2.25rem);
    height: clamp(1.75rem, 5vw, 2.25rem);
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 0.375rem;
    cursor: pointer;
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    transition: background 0.2s ease, transform 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.spotlight-program-image-wrapper:hover .spotlight-program-details-btn {
    opacity: 1;
}

.spotlight-program-details-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE - TABLET LANDSCAPE (1199px e abaixo)
   ═════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1199px) {
    .spotlight-programs-title {
        font-size: 1.875rem;
        margin-bottom: 1.5rem;
    }

    .spotlight-programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .spotlight-program-name {
        font-size: 1.125rem;
    }
}

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVIDADE - TABLET PORTRAIT (768px e abaixo)
   ═════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .spotlight-programs-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .spotlight-programs-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .spotlight-program-name {
        font-size: 1rem;
    }

    .spotlight-program-desc {
        font-size: 0.85rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMBS NAVIGATION
   ═══════════════════════════════════════════════════════════════════════════ */
.podcast-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #9ca3af;
    /* Gray-400 */
    margin-bottom: 3.5rem;
    margin-left: 3.5rem;
    font-weight: 200;
    z-index: 10;
}

.podcast-breadcrumbs a,
.podcast-breadcrumbs button.breadcrumb-link {
    color: #d1d5db;
    /* Gray-300 */
    text-decoration: none;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.podcast-breadcrumbs a:hover,
.podcast-breadcrumbs button.breadcrumb-link:hover {
    color: #fff;
    text-decoration: underline;
}

.podcast-breadcrumbs .separator {
    color: #6b7280;
    /* Gray-500 */
    font-size: 0.8rem;
}

.podcast-breadcrumbs .current {
    color: #e5e7eb;
    /* Gray-200 */
    font-weight: 400;
    cursor: default;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 300px;
}

@media (max-width: 768px) {
    .podcast-breadcrumbs .current {
        max-width: 150px;
    }
}

/* ==========================================================================
   CARD RATING STYLES
   ========================================================================== */

.card-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
}

.card-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #e5e7eb;
}

.card-rating i {
    color: #6b7280;
    font-size: 0.8rem;
}

.card-rating-row {
    margin: 4px 0;
}

/* Featured Rating Stats */
.featured-stat-item.featured-rating i {
    color: #6b7280;
}

.featured-stat-item.featured-rating .featured-stat-value {
    color: #f3f4f6;
    font-weight: 600;
}

/* ==========================================================================
   RATING SYSTEM STYLES
   ========================================================================== */

.episode-meta-topline {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.meta-left-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.episode-rating-display {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8a8a9f;
}

.rating-star-icon {
    color: #6b7280;
    font-size: 0.95rem;
    margin-top: -2px;
}

.rating-value {
    color: #f3f4f6;
    font-weight: 600;
}

.rating-count {
    font-size: 0.85em;
    opacity: 0.8;
}

.btn-rate-episode {
    background: rgba(168, 85, 247, 0.1);
    ;
    border: none;
    color: #a855f7;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-underline-offset: 2px;
    padding: 4px 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.btn-rate-episode:hover {
    color: #c084fc;
    background: rgba(168, 85, 247, 0.3);
    text-decoration: none;
}

/* Modal de AvaliaÃ§Ã£o */
.rating-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.rating-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.rating-modal-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: #18181b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalScaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.rating-modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.close-rating-modal {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.close-rating-modal:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.rating-form-modern {
    padding: 24px;
}

.rating-intro {
    margin-bottom: 24px;
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.5;
}

.rating-criteria-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rating-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #e5e7eb;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating-input input {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%233f3f46' viewBox='0 0 16 16'%3E%3Cpath d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-rating-input label:hover,
.star-rating-input label:hover~label,
.star-rating-input input:checked~label {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23a855f7' viewBox='0 0 16 16'%3E%3Cpath d='M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z'/%3E%3C/svg%3E");
}

.star-rating-input label:hover {
    transform: scale(1.3);
}

.rating-feedback-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    display: none;
    text-align: center;
}

.rating-feedback-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rating-feedback-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.rating-modal-footer {
    margin-top: 24px;
}

.rating-submit-btn {
    width: 100%;
    padding: 14px;
    background: #a855f7;
    border: none;
    border-radius: 16px;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(168, 85, 247, 0.4);
}

.rating-submit-btn:hover {
    background: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(168, 85, 247, 0.5);
}

.rating-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}