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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0f0f0f;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #1a1a1a;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #e50914;
    font-size: 1.8rem;
}

.logo i {
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #e50914;
}

.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.banner-content p {
    font-size: 1.5rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(229, 9, 20, 0.8);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s;
    z-index: 3;
}

.banner-btn:hover {
    background-color: rgba(229, 9, 20, 1);
}

.banner-btn.prev {
    left: 20px;
}

.banner-btn.next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #e50914;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #e50914;
    border-left: 4px solid #e50914;
    padding-left: 1rem;
}

.animes-recentes,
.comentarios-section,
.planos-section {
    padding: 3rem 0;
}

.animes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.anime-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.anime-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.3);
}

.anime-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.anime-card-content {
    padding: 1rem;
}

.anime-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.anime-card-content p {
    font-size: 0.9rem;
    color: #b0b0b0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.anime-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-top: 1px solid #2a2a2a;
}

.anime-card-footer span {
    font-size: 0.85rem;
    color: #888;
}

.comentarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.comentario-card {
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid #e50914;
}

.comentario-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comentario-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.comentario-info h4 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.comentario-info span {
    font-size: 0.85rem;
    color: #888;
}

.comentario-text {
    color: #b0b0b0;
    line-height: 1.6;
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.plano-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #2a2a2a;
}

.plano-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(229, 9, 20, 0.4);
    border-color: #e50914;
}

.plano-card h3 {
    font-size: 1.8rem;
    color: #e50914;
    margin-bottom: 1rem;
}

.plano-preco {
    font-size: 2.5rem;
    color: #fff;
    margin: 1.5rem 0;
    font-weight: bold;
}

.plano-preco span {
    font-size: 1rem;
    color: #888;
}

.plano-descricao {
    color: #b0b0b0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-assinar {
    background-color: #e50914;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
}

.btn-assinar:hover {
    background-color: #b8070f;
}

footer {
    background-color: #1a1a1a;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 3px solid #e50914;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-contact h4,
.footer-dev h4 {
    color: #e50914;
    margin-bottom: 1rem;
}

.footer-info p,
.footer-contact p,
.footer-dev p {
    color: #b0b0b0;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: #e50914;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .animes-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .comentarios-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .planos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: #1a1a1a;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .banner {
        height: 300px;
    }

    .banner-content h2 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .banner-content p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .banner-btn {
        padding: 0.5rem;
        font-size: 1.2rem;
    }

    .banner-btn.prev {
        left: 10px;
    }

    .banner-btn.next {
        right: 10px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .animes-recentes,
    .comentarios-section,
    .planos-section {
        padding: 2rem 0;
    }

    .animes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .anime-card img {
        height: 250px;
    }

    .anime-card-content h3 {
        font-size: 1rem;
    }

    .anime-card-content p {
        font-size: 0.85rem;
    }

    .comentarios-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comentario-card {
        padding: 1rem;
    }

    .comentario-avatar {
        width: 40px;
        height: 40px;
    }

    .planos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .plano-card {
        padding: 1.5rem;
    }

    .plano-card h3 {
        font-size: 1.5rem;
    }

    .plano-preco {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .banner {
        height: 250px;
    }

    .banner-content h2 {
        font-size: 1.5rem;
    }

    .banner-content p {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.3rem;
        padding-left: 0.5rem;
    }

    .animes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .anime-card img {
        height: 200px;
    }

    .anime-card-content {
        padding: 0.8rem;
    }

    .anime-card-content h3 {
        font-size: 0.9rem;
    }

    .anime-card-content p {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .anime-card-footer {
        padding: 0.5rem 0.8rem;
    }

    .anime-card-footer span {
        font-size: 0.75rem;
    }

    .comentario-card {
        padding: 0.8rem;
    }

    .comentario-avatar {
        width: 35px;
        height: 35px;
        margin-right: 0.8rem;
    }

    .comentario-info h4 {
        font-size: 0.9rem;
    }

    .comentario-info span {
        font-size: 0.75rem;
    }

    .comentario-text {
        font-size: 0.85rem;
    }

    .plano-card {
        padding: 1.2rem;
    }

    .plano-card h3 {
        font-size: 1.3rem;
    }

    .plano-preco {
        font-size: 1.8rem;
        margin: 1rem 0;
    }

    .plano-descricao {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .btn-assinar {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 2rem 0 1rem;
    }

    .footer-info h3,
    .footer-contact h4,
    .footer-dev h4 {
        font-size: 1.1rem;
    }

    .footer-info p,
    .footer-contact p,
    .footer-dev p {
        font-size: 0.85rem;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-container label {
    font-size: 0.9rem;
    color: #fff;
}

.filter-container select {
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-container select:hover {
    border-color: #e50914;
}

.anime-categoria {
    display: inline-block;
    background-color: #e50914;
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Modal de Verificação de Idade */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    animation: fadeIn 0.3s ease-in-out;
}

.age-modal-overlay.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.age-modal {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(229, 9, 20, 0.3), 0 0 40px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    width: 90%;
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    border: 1px solid rgba(229, 9, 20, 0.2);
}

.age-modal-header {
    background: linear-gradient(135deg, #e50914 0%, #c1060f 100%);
    padding: 2rem 2rem 1.5rem;
    border-bottom: 2px solid rgba(229, 9, 20, 0.5);
}

.age-modal-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.age-modal-body {
    padding: 2.5rem 2rem;
    text-align: center;
}

.age-modal-icon {
    font-size: 3.5rem;
    color: #e50914;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.age-modal-body p {
    color: #d0d0d0;
    font-size: 1rem;
    margin: 0.8rem 0;
    line-height: 1.6;
}

.age-modal-subtitle {
    font-size: 1.2rem !important;
    color: #e0e0e0 !important;
    font-weight: 600;
    margin-top: 1.5rem !important;
}

.age-modal-footer {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-confirm,
.btn-reject {
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-confirm {
    background: linear-gradient(135deg, #e50914 0%, #c1060f 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
}

.btn-confirm:hover {
    background: linear-gradient(135deg, #ff1a24 0%, #d50014 100%);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.5);
    transform: translateY(-2px);
}

.btn-confirm:active {
    transform: translateY(0);
}

.btn-reject {
    background-color: #2a2a2a;
    color: #e0e0e0;
    border: 2px solid #444;
}

.btn-reject:hover {
    background-color: #3a3a3a;
    border-color: #555;
    color: #fff;
    transform: translateY(-2px);
}

.btn-reject:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    .age-modal {
        max-width: 95%;
        margin: 0 10px;
    }

    .age-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .age-modal-header h2 {
        font-size: 1.5rem;
    }

    .age-modal-body {
        padding: 2rem 1.5rem;
    }

    .age-modal-icon {
        font-size: 2.8rem;
    }

    .age-modal-body p {
        font-size: 0.95rem;
    }

    .age-modal-footer {
        padding: 1rem 1.5rem 1.5rem;
    }

    .btn-confirm,
    .btn-reject {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}