/* Global Styles */
body {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
    font-weight: bold;
    letter-spacing: 2px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
}

/* Login Button Styles */
.btn-login-desktop {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login-desktop:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.4);
}

.btn-login-mobile {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login-mobile:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    color: #ffffff !important;
}

/* Thumbnail Styles */
.thumbnail {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 2px solid #333;
}

.thumbnail:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.5);
    border-color: #dc3545;
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    background-color: #2a2a2a;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Gallery Item Link Styles - Remove link styling */
#gallery a.text-decoration-none {
    display: block;
    color: inherit;
}

#gallery a.text-decoration-none:hover {
    color: inherit;
    text-decoration: none;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .view-icon {
    font-size: 3rem;
    color: white;
}

/* Pagination Styles */
.pagination .page-link {
    background-color: #2a2a2a;
    border-color: #444;
    color: #ffffff;
}

.pagination .page-link:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #ffffff;
}

.pagination .page-item.active .page-link {
    background-color: #dc3545;
    border-color: #dc3545;
}

.pagination .page-item.disabled .page-link {
    background-color: #1a1a1a;
    border-color: #333;
    color: #666;
}

/* Footer Styles */
footer {
    margin-top: 0;
}

footer h5 {
    font-weight: bold;
    margin-bottom: 1rem;
}

footer a {
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

footer a:hover {
    color: #dc3545 !important;
}

footer hr {
    opacity: 0.3;
}

.footer-novidades-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

/* Footer Mobile - Centralização dos menus (exceto Novidades) */
@media (max-width: 767.98px) {
    footer .col-md-3:not(:last-child) {
        text-align: center;
        margin-bottom: 2rem;
    }

    footer .col-md-3:not(:last-child) h5 {
        text-align: center;
    }

    footer .col-md-3:not(:last-child) ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .col-md-3:not(:last-child) ul li {
        text-align: center;
    }

    /* Footer Novidades - Apenas Mobile */
    .footer-novidades-title {
        text-align: center;
    }

    .footer-novidades-box {
        display: flex;
        flex-direction: row !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-radius: 8px;
        padding: 0.5rem 0;
        margin: 0;
    }

    .footer-novidades-box::-webkit-scrollbar {
        display: none;
    }

    .footer-novidades-item {
        flex: 0 0 220px;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: flex-start !important;
        padding: 0.875rem 1rem;
        background-color: #1a1a1a;
        border: 1px solid #333;
        border-radius: 12px;
        scroll-snap-align: start;
    }

    .footer-novidades-content {
        min-width: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 0.5rem;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .navbar-nav {
        text-align: center;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #dc3545;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.gallery-item {
    animation: fadeIn 0.5s ease-in-out;
}

/* Grid Adjustments */
.row.g-2 {
    margin: 0;
}

/* Container Fluid Adjustments */
.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

/* Profile Sidebar */
.profile-sidebar {
    position: sticky;
    top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.profile-header {
    background-color: #1a1a1a;
}

.profile-img-container {
    display: inline-block;
}

.profile-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: 4px solid #dc3545;
    box-shadow: 0 0 25px rgba(220, 53, 69, 0.4);
}

.profile-name {
    font-weight: 600;
    font-size: 1.4rem;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* WhatsApp Button Style */
.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

.whatsapp-cta {
    color: #999;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* Follow Button */
.btn-follow {
    background-color: #333;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 40px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-follow:hover {
    background-color: #444;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Stats Bar */
.profile-stats-bar {
    display: flex;
    justify-content: space-around;
    background-color: #0a0a0a;
    padding: 15px 10px;
    border-top: 1px solid #222;
}

.profile-stats-bar .stat-item {
    text-align: center;
    flex: 1;
}

.profile-stats-bar .stat-item strong {
    display: block;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
}

.profile-stats-bar .stat-item span {
    color: #888;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Legacy Profile Stats (keep for compatibility) */
.profile-stats {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 15px 0;
}

.profile-stats strong {
    color: #dc3545;
    font-size: 1.1rem;
}

/* Profile Sections Styles */
.profile-sections {
    padding: 10px;
}

.profile-section-item {
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
}

.profile-section-header {
    background-color: #2a2a2a;
    color: #dc3545;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.profile-section-body {
    background-color: #1a1a1a;
    padding: 12px 16px;
    border-radius: 0 0 8px 8px;
}

.profile-section-body .detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    font-size: 0.85rem;
}

.profile-section-body .detail-item:last-child {
    border-bottom: none;
}

.profile-section-body .detail-label {
    color: #f0ad4e;
    font-weight: 500;
}

.profile-section-body .detail-value {
    color: #ffffff;
}

/* Legacy Profile Details (keep for compatibility) */
.profile-details {
    padding: 15px;
}

.profile-details .detail-item {
    font-size: 0.9rem;
    padding: 5px 0;
}

.profile-details h6 {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
}

.profile-details h6:hover {
    color: #ff4458 !important;
}

/* Photo Gallery - Profile Page */
.photo-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery .gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
    z-index: 10;
}

.photo-gallery .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Videos Section */
.videos-section .video-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.videos-section .video-item:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.4);
}

.videos-section .video-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-item:hover .play-button {
    color: #dc3545;
    transform: translate(-50%, -50%) scale(1.2);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Model Presentation */
.model-presentation {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}

.model-presentation p {
    margin-bottom: 1rem;
}

.model-presentation .btn-outline-danger {
    border-width: 2px;
    transition: all 0.3s ease;
}

.model-presentation .btn-outline-danger:hover {
    background-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Sidebar Sections */
.sidebar-section h6 {
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.sidebar-section .gallery-item img,
.sidebar-section img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.sidebar-section .gallery-item:hover img,
.sidebar-section img:hover {
    transform: scale(1.05);
}

.model-name-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

/* Recommended Models */
.recommended-models {
    border-top: 2px solid #333;
}

.model-card {
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
}

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

.model-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    color: white;
    padding: 20px 15px 15px;
    text-align: center;
    font-weight: bold;
}

/* Dropdown Menu Dark Theme */
.dropdown-menu-dark {
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.dropdown-menu-dark .dropdown-item {
    color: #fff;
    transition: all 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Dropdown Menu Desktop - Fundo Branco */
@media (min-width: 993px) {
    .navbar-nav .nav-item.dropdown {
        position: relative;
    }

    .navbar-nav .dropdown-menu-dark {
        background-color: #ffffff !important;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: none !important;
        opacity: 0;
        visibility: hidden;
        position: absolute;
    }

    .navbar-nav .dropdown-menu-dark .dropdown-item {
        color: #333 !important;
        padding: 0.5rem 1rem;
    }

    .navbar-nav .dropdown-menu-dark .dropdown-item:hover {
        background-color: #f5f5f5 !important;
        color: #dc3545 !important;
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu.show {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
}


/* WhatsApp Button */
.text-success a,
a.text-success {
    transition: color 0.3s ease;
}

.text-success:hover {
    color: #25d366 !important;
    text-decoration: underline !important;
}

/* Badge Styles */
.badge.bg-danger {
    font-size: 0.75rem;
    padding: 5px 10px;
    font-weight: normal;
}

/* Button hover effects */
.btn-outline-light:hover {
    background-color: #dc3545;
    border-color: #dc3545;
}

/* Header logo styling */
header h1 .text-danger {
    text-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

/* Link active states */
.nav-link.active {
    color: #dc3545 !important;
    border-bottom: 2px solid #dc3545;
}

/* Additional hover effects for profile */
.gallery-item::after,
.video-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 53, 69, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover::after,
.video-item:hover::after {
    background: rgba(220, 53, 69, 0.1);
}

/* Scrollbar for sidebar */
.profile-sidebar::-webkit-scrollbar {
    width: 6px;
}

.profile-sidebar::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.profile-sidebar::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 3px;
}

.profile-sidebar::-webkit-scrollbar-thumb:hover {
    background: #ff4458;
}

/* Profile Page Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.video-item,
.model-card {
    animation: fadeInUp 0.5s ease-in-out;
}


/* Fullscreen mobile navbar */
@media (max-width: 992px) {
    .navbar .navbar-toggler {
        position: relative;
        z-index: 1060;
    }

    .btn-login-mobile {
        z-index: 1060;
        position: relative;
    }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(26, 26, 26, 0.98);
        padding: 5rem 1rem 2rem;
        /* espaço para o cabeçalho */
        overflow-y: auto;
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    }

    .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background-color: rgba(26, 26, 26, 0.98);
        padding: 5rem 1rem 2rem;
        overflow-y: auto;
        z-index: 1050;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin-bottom: 12px;
    }

    .navbar-nav .nav-item.dropdown {
        margin-bottom: 0;
    }

    .navbar-nav .nav-link {
        display: block;
        font-size: 1rem;
        padding: 12px 16px;
        background-color: #2a2a2a;
        color: #ffffff !important;
        border-radius: 8px;
        text-align: left;
        transition: background-color 0.3s ease;
        width: 100%;
    }

    .navbar-nav .nav-link:hover {
        background-color: #333333 !important;
        color: #ffffff !important;
    }

    /* Esconder dropdowns em mobile */
    .navbar-nav .dropdown-menu {
        display: none !important;
    }

    /* Garantir que accordions apareçam em mobile */
    .navbar-nav .nav-item.dropdown > .d-lg-none {
        display: block !important;
        width: 100%;
        margin-top: 0;
    }

    .navbar-nav .nav-item.dropdown > .d-lg-none .accordion {
        margin-bottom: 0;
    }

    .profile-sidebar {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 1.2rem;
    }

    .profile-stats-bar {
        padding: 12px 5px;
    }

    .profile-stats-bar .stat-item strong {
        font-size: 1rem;
    }

    .profile-stats-bar .stat-item span {
        font-size: 0.6rem;
    }

    .btn-whatsapp {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .btn-follow {
        padding: 8px 30px;
        font-size: 0.85rem;
    }

    .photo-gallery .gallery-item img,
    .videos-section .video-item img {
        height: 200px;
    }

    .model-card img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .profile-img {
        width: 100px;
        height: 100px;
    }

    .photo-gallery .gallery-item img,
    .videos-section .video-item img {
        height: 150px;
    }

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

    .play-button {
        font-size: 2rem;
    }
}

/* Mobile Profile Tabs - Abas Book/Perfil no mobile */
.profile-mobile-tabs {
    background-color: #1a1a1a;
    border-bottom: 2px solid #333;
}

.profile-tab-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    background-color: #1a1a1a;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.profile-tab-item.active {
    background-color: #dc3545;
    color: #ffffff;
}

.profile-tab-item:not(.active):hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

.profile-tab-hidden {
    display: none !important;
}

/* Mobile Media Tabs - Vídeos / Fotos Extras */
.mobile-media-tabs {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-bottom: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.mobile-media-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-media-tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: #aaa;
    background-color: #1a1a1a;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-media-tab-item.active {
    background-color: #dc3545;
    color: #ffffff;
}

.mobile-media-tab-item:not(.active):hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

.mobile-media-count {
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    font-size: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.mobile-media-tab-item.active .mobile-media-count {
    background: rgba(0, 0, 0, 0.2);
}

.mobile-media-panel {
    background-color: #000000;
    border: 1px solid #333;
    border-radius: 0 0 12px 12px;
    padding: 12px;
}

.mobile-media-hidden {
    display: none !important;
}

@media (max-width: 767.98px) {
    .mobile-media-tab-item {
        font-size: 0.85rem;
        padding: 12px 8px;
    }

    .mobile-media-panel {
        padding: 10px;
    }
}

@media (max-width: 991.98px) {
    .profile-mobile-summary {
        display: flex;
        align-items: stretch;
    }

    .profile-header {
        order: 1;
        width: 50%;
        text-align: center !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .profile-img-container {
        display: inline-block;
    }

    .profile-mobile-stats-column {
        order: 2;
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .profile-stats-bar {
        width: 100%;
        justify-content: center;
    }

    .profile-stats-bar .stat-item {
        text-align: center;
    }

    #tab-right-sidebar {
        display: none;
    }
    #tab-book,
    #tab-detalhes {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}

@media (min-width: 992px) {
    .profile-mobile-tabs {
        display: none !important;
    }
    #tab-detalhes,
    #tab-book,
    #tab-right-sidebar {
        display: block !important;
    }
    .profile-tab-hidden {
        display: block !important;
    }
}

/* Mobile Video Hero - Seção de Vídeo para Mobile */
.mobile-video-hero {
    position: relative;
    width: 100%;
    /* Altura calculada: 100vh - altura do header - altura do carrossel de stories */
    height: calc(100dvh - 70px - 180px);
    min-height: 300px;
    overflow: hidden;
    background-color: #0a0a0a;
    margin-bottom: 10px;
}

.mobile-video-hero .video-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-video-hero .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-video-hero .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        transparent 30%,
        transparent 70%,
        rgba(0, 0, 0, 0.6) 100%
    );
    pointer-events: none;
}

.mobile-video-hero .video-content {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.mobile-video-hero .video-content .badge {
    font-size: 0.85rem;
    padding: 8px 16px;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.5);
}


/* Ajustes da seção hero em mobile */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hero-section > .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .hero-section .carousel-thumbnails-header,
    .hero-section .carousel-container-thumbnails {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Carousel Styles - Home Page */
.carousel-container {
    width: 100%;
}

.carousel-track {
    width: fit-content;
    transition: transform 0.8s ease-in-out;
}

.carousel-item-wrapper {
    min-width: 200px;
    flex-shrink: 0;
}

.carousel-container-thumbnails {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0; /* setas agora ficam no cabeçalho, sem recuo lateral */
    min-height: 120px;
}

.carousel-track-thumbnails {
    transition: transform 0.8s ease-in-out;
    width: fit-content;
}

/* Estilos para as setas do carrossel de thumbnails */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(220, 53, 69, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:hover {
    background-color: rgba(220, 53, 69, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 10px;
}

.carousel-arrow-right {
    right: 10px;
}

.carousel-arrow span {
    line-height: 1;
}


/* Gradiente nas bordas para suavizar corte dos itens sob as setas */
/* gradientes desabilitados pois as setas saíram para o cabeçalho */
.carousel-container-thumbnails::before,
.carousel-container-thumbnails::after {
    content: none;
}

/* Cabeçalho do carrossel com título e setas */
.carousel-thumbnails-header .carousel-arrow {
    position: static;
    transform: none;
    width: 32px;
    height: 32px;
    font-size: 24px;
}

.carousel-thumbnails-header .carousel-arrow:hover {
    transform: none;
}



.accordion-button::after {
    background-color: #ffffff !important;
    border-radius: 100%;
}

/* Mobile Menu Sidebar Styles */
@media (max-width: 992px) {
    .mobile-menu-sidebar {
        width: 100%;
        padding: 0;
    }

    .mobile-menu-item {
        margin-bottom: 12px;
        border: none;
        background: transparent;
    }

    .mobile-menu-item .accordion-item {
        border: none;
        border-radius: 8px;
        overflow: hidden;
        background: transparent;
    }

    .mobile-menu-item .accordion-header {
        border-radius: 8px;
        overflow: hidden;
    }

    .mobile-menu-button {
        background-color: #2a2a2a !important;
        color: #ffffff !important;
        border: none;
        border-radius: 8px;
        padding: 12px 16px;
        text-align: left;
        width: 100%;
        font-size: 1rem;
        font-weight: normal;
        transition: background-color 0.3s ease, border-radius 0.3s ease;
        box-shadow: none;
    }

    .mobile-menu-button:hover {
        background-color: #333333 !important;
        color: #ffffff !important;
    }

    .mobile-menu-button:focus {
        box-shadow: none;
        border: none;
    }

    .mobile-menu-button:not(.collapsed) {
        background-color: #333333 !important;
        color: #ffffff !important;
        box-shadow: none;
        border-radius: 8px 8px 0 0;
    }

    .mobile-menu-link {
        display: block;
        background-color: #2a2a2a;
        color: #ffffff !important;
        border: none;
        border-radius: 8px;
        padding: 12px 16px;
        text-align: left;
        width: 100%;
        font-size: 1rem;
        font-weight: normal;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

    .mobile-menu-link:hover {
        background-color: #333333;
        color: #ffffff !important;
    }

    .mobile-menu-item .accordion-collapse {
        border-radius: 0 0 8px 8px;
        overflow: hidden;
    }

    .mobile-menu-item .accordion-body {
        padding: 12px 16px;
        background-color: #1a1a1a;
        border-radius: 0 0 8px 8px;
    }

    .mobile-menu-item .accordion-body .nav-link {
        padding: 8px 0;
        text-align: left;
        border: none;
        border-bottom: none;
        background: transparent;
    }

    .mobile-menu-item .accordion-body .nav-item {
        border: none;
        border-bottom: none;
    }

    .mobile-menu-item .accordion-body .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .mobile-menu-item .accordion-button::after {
        margin-left: auto;
        margin-right: 0;
    }
}

/* ==========================================================================
   Explorer Page Styles
   ========================================================================== */

/* Explorer Header & Tabs */
.explorer-section {
    min-height: 100vh;
}

.explorer-header {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.explorer-tabs {
    background-color: #2a2a2a;
    border-radius: 25px;
    padding: 4px;
}

.explorer-tabs .nav-link {
    color: #999;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.explorer-tabs .nav-link:hover {
    color: #fff;
    background-color: rgba(220, 53, 69, 0.2);
}

.explorer-tabs .nav-link.active {
    background-color: #dc3545;
    color: #fff !important;
}

.explorer-tabs .nav-link i {
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .explorer-tabs .nav-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .explorer-tabs .nav-link i {
        margin-right: 0 !important;
    }

    .explorer-tabs .nav-link span {
        display: none;
    }
}

/* Explorer Grid */

.explorer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
}

@media (min-width: 576px) {
    .explorer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
}

@media (min-width: 768px) {
    .explorer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
}

@media (min-width: 992px) {
    .explorer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
}

@media (min-width: 1200px) {
    .explorer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.explorer-item {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background-color: #2a2a2a;
}

.explorer-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.explorer-item:hover img {
    transform: scale(1.05);
}

.explorer-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.explorer-item:hover .explorer-item-overlay {
    opacity: 1;
}

.explorer-item-stats {
    display: flex;
    gap: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.explorer-item-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==========================================================================
   Stories Modal Styles
   ========================================================================== */

.stories-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: none;
    flex-direction: column;
}

.stories-modal.active {
    display: flex;
    animation: storiesFadeIn 0.2s ease;
}

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

/* Stories Progress Bar */
.stories-progress-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.stories-progress-bar {
    height: 100%;
    background-color: #dc3545;
    width: 0%;
    transition: width 0.1s linear;
}

/* Stories Header */
.stories-header {
    position: absolute;
    top: 10px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.stories-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stories-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #dc3545;
}

.stories-username {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.stories-close-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.stories-close-btn:hover {
    background: rgba(220, 53, 69, 0.8);
}

/* Stories Content */
.stories-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stories-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.stories-image.loading {
    opacity: 0.3;
}

/* Stories Navigation Areas (Touch) */
.stories-nav-area {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30%;
    z-index: 5;
    cursor: pointer;
}

.stories-nav-prev {
    left: 0;
}

.stories-nav-next {
    right: 0;
}

/* Stories Arrow Navigation (Desktop) */
.stories-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.stories-arrow:hover {
    background: rgba(220, 53, 69, 0.8);
}

.stories-arrow-left {
    left: 20px;
}

.stories-arrow-right {
    right: 20px;
}

@media (min-width: 768px) {
    .stories-arrow {
        display: flex;
    }

    .stories-nav-area {
        width: 15%;
    }
}

/* Stories Footer */
.stories-footer {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.stories-actions {
    display: flex;
    gap: 15px;
}

.stories-action-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stories-action-btn:hover {
    color: #dc3545;
    transform: scale(1.1);
}

/* Stories Counter */
.stories-counter {
    position: absolute;
    top: 55px;
    right: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    z-index: 10;
}

/* Explorer/Stories Responsive Adjustments */
@media (max-width: 360px) {
    .explorer-item-stats {
        font-size: 0.75rem;
        gap: 10px;
    }

    .stories-action-btn {
        font-size: 1.2rem;
    }
}

/* Filtro Sidebar - Barra lateral de filtros */
.filtro-sidebar {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 1.25rem;
}

.filtro-sidebar .filtro-input,
.filtro-sidebar .form-select.filtro-input {
    color: #fff;
    background-color: #222 !important;
    border-color: #444;
}

.filtro-sidebar .filtro-input::placeholder {
    color: #888;
}

.filtro-sidebar .filtro-input:focus,
.filtro-sidebar .form-select.filtro-input:focus {
    background-color: #2a2a2a !important;
    border-color: #dc3545;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.filtro-sidebar .form-select.filtro-input option {
    background-color: #222;
    color: #fff;
}

.filtro-sidebar .filtro-color {
    width: 3rem;
    height: 2.5rem;
    padding: 0.2rem;
    cursor: pointer;
    background-color: #222 !important;
    border-radius: 4px;
}

.filtro-sidebar .btn-danger {
    font-weight: 500;
    padding: 0.6rem 1rem;
}

.filtro-sidebar .btn-danger:hover {
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

@media (max-width: 991px) {
    .filtro-sidebar {
        margin-bottom: 1rem;
        display: block !important;
        visibility: visible !important;
        width: 100%;
        max-width: 100%;
    }
}

/* Página de Contato */
.contato-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
}

.contato-box .contato-input,
.contato-box .form-select.contato-input {
    color: #212529;
    background-color: #fff !important;
    border-color: #dee2e6;
}

.contato-box .contato-input::placeholder {
    color: #6c757d;
}

.contato-box .contato-input:focus,
.contato-box .form-select.contato-input:focus {
    background-color: #fff !important;
    border-color: #dc3545;
    color: #212529;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.contato-box .form-select.contato-input option {
    background-color: #fff;
    color: #212529;
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff !important;
    border: none;
    border-radius: 8px;
}

.btn-whatsapp:hover {
    background-color: #20bd5a;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.contato-aviso {
    background-color: #1a1a1a;
    border: 1px solid #333;
}
