/* Base */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #111;
    color: #eee;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

/* Galeria responsiva */
.gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 16px;
    padding: 16px;
}

/* Card de vídeo */
.video-card {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    will-change: transform;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Imagens e previews */
.thumb-wrapper {
    position: relative;
    aspect-ratio: 2 / 3; /* substitui o padding-top */
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.thumb-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    z-index: 1;
}

.thumb-wrapper .preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 600% 600%;
    background-position: 0 0;
    opacity: 0;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/* Texto */
.video-card h3 {
    font-size: 1.1rem;
    margin: 0.75rem 0 0.25rem;
    text-align: center;
    padding: 0 10px;
    color: #fff;
}

.pack-label {
    font-size: 0.85rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 1rem;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    gap: 20px;
}

.pagination a,
.pagination span {
    color: #ccc;
    background: #222;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s ease;
}

.pagination a:hover {
    background: #333;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

.pagination-page {
    color: #aaa;
}

.pagination select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background: #222;
    color: #aaa;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    cursor: pointer;
    outline: none;
    transition: background 0.2s ease;

    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
}

.pagination select:hover {
    background: #333;
}

.pagination select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg fill='%23aaa' height='20' width='20' viewBox='0 0 20 20'%3E%3Cpath d='M5.516 7.547l4.484 4.484 4.484-4.484 1.516 1.516-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px;
}

/* Carousel */
.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(30, 30, 30, 0.7);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 40px;
    height: 60px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s ease;
    opacity: 0.6;
    border-radius: 6px;
}

.carousel button:hover {
    background: rgba(50, 50, 50, 0.9);
    opacity: 1;
}

.carousel-prev {
    left: 8px;
}

.carousel-next {
    right: 8px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}


/* Header */
.site-header {
    background: #1e1e1e;
    border-bottom: 1px solid #333;
    padding: 1.5rem 0;
    text-align: center;
}

.logo {
    margin: 0;
    font-size: 2rem;
    color: #ff416c;
    font-weight: bold;
    text-transform: uppercase;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-img {
    display: block;
    height: auto;
    max-width: 100%;
}

.tagline {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: #aaa;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    border-top: 1px solid #333;
}

.site-footer .footer-note {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    color: #666;
}
