.gn-cat-card {
    transition: all 0.25s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.gn-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    border-color: rgba(0, 150, 80, 0.4); /* leve destaque verde */
}
#keywordList {
    position: absolute;
    z-index: 9999 !important;
}
form.card {
    overflow: visible !important;
}
/* Input elegante */
.search-wrapper {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    transition: .2s;
}
.search-wrapper:focus-within {
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25,135,84,0.15);
}

/* Caixa dropdown premium */
.dynamic-box {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.9); /* fundo branco translúcido */
    backdrop-filter: blur(12px);
    padding: .5rem;
    z-index: 99999;
    animation: fadeDown .15s ease-out;
}

/* Itens */
.dynamic-box li {
    padding: .55rem .7rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    cursor: pointer;
    transition: .15s;
}

.dynamic-box li:hover {
    background: #e9f7ef;
    transform: translateX(4px);
}

.autocomplete-highlight {
    color: #198754 !important;
    font-weight: bold;
}

/* fade */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* player */

#playerWrapper {
    position: relative;
}

.custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.0));
    color: white;
    transition: opacity .3s;
}

/* Desaparecer ao idle */
#playerWrapper.hide-controls .custom-controls {
    opacity: 0;
    pointer-events: none;
}

/* TOP BAR */
.controls-top {
    display: flex;
    justify-content: space-between;
    padding: 0 6px;
}

.video-title {
    font-size: 17px;
    font-weight: 600;
}

/* BOTTOM BAR */
.controls-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

/* LEFT SIDE */
.controls-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BOTÕES */
.control-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 26px;
    padding: 8px 14px;
    border-radius: 10px;
    transition: .15s;
}

.control-btn:hover {
    background: rgba(255,255,255,0.25);
}

.small-btn {
    font-size: 20px;
    padding: 6px 10px;
}

.controls-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* TEMPO */
.time {
    font-size: 14px;
    opacity: .8;
}

/* PROGRESS BAR */
.progress-area {
    flex: 1;
}

#progressBar {
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(200,200,200,.3);
    border-radius: 50px;
    cursor: pointer;
}

#progressBar::-webkit-slider-thumb {
    appearance: none;
    height: 14px;
    width: 14px;
    background: #00d17d;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
    box-shadow: 0 0 8px rgba(0,255,140,0.5);
}

#playerContainer iframe {
    pointer-events: none !important;
}
.video-card-wrapper {
    position: relative;
}

.remove-fav-btn {
    position: absolute;
    top: 8px;
    right: 18px;
    z-index: 10;
    padding: 4px 7px;
    border-radius: 10px;
}

.play-shadow-strong {
    animation: shadowPulseStrong 1.8s ease-in-out infinite;
}

@keyframes shadowPulseStrong {
    0% {
        filter: drop-shadow(0 0 4px rgba(4, 4, 4, 0.01));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(7, 7, 7, 0.85));
    }
    100% {
        filter: drop-shadow(0 0 4px rgba(7, 7, 7, 0.2));
    }
}
