html, body {
    height: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    background-color: #1a1a1a;
    color: #ecf0f1;
    font-family: 'Roboto', 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
}

/* CORREÇÕES ESSENCIAIS PARA CLICABILIDADE */
#top-social-bar {
    width: 100%;
    position: sticky; /* Fixa a barra no topo */
    top: 0;
    z-index: 1001; /* Z-index alto para ficar acima de tudo */
}

/* Garante que o container interno dos botões não cubra a área clicável do carrossel */
#top-social-bar .container {
    max-width: 900px;
    padding: 0 10px;
}

.header-swiper-container {
    width: 100%;
    height: 350px;
    margin-bottom: 0px !important; /* Garante que não haja margem empurrando o carrossel */
}

/* FIX PARA GAP-2 EM BOOTSTRAP 4: Adiciona margem entre os botões */
#top-social-bar .d-flex.flex-wrap > a {
    margin-right: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.75rem; 
    padding: 5px 8px;
}
/* FIM CORREÇÕES ESSENCIAIS */

.collab-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #343a40;
    z-index: 1000;
    transform: translateY(150%);
    animation: slideUp 0.8s forwards 1s;
    display: none;
}

.collab-content {
    position: relative;
    padding: 15px;
    display: flex;
    align-items: center;
}

.close-collab {
    position: absolute;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
}

.collab-icon {
    font-size: 36px;
    margin-right: 15px;
    color: #ffc107;
}

.collab-text h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #343a40;
}

.collab-text p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #495057;
}

.collab-btn {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 8px 15px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: all 0.3s;
}

.collab-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.acessotorcedor-navbar {
    background: linear-gradient(90deg, #ffffff 0%, #f1f3f5 100%);
    padding: 0.8rem 1rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.acessotorcedor-navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    backdrop-filter: blur(5px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 2rem;
}

.logo-img {
    height: 35px;
    margin-right: 12px;
}

.logo-text {
    color: #343a40;
    font-weight: 900;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: #495057 !important;
    font-weight: 600;
    padding: 0.6rem 1.2rem !important;
    margin: 0 0.3rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    border-radius: 6px;
}

.nav-link i {
    margin-right: 8px;
    font-size: 1rem;
}

.nav-link:hover {
    background: rgba(0, 123, 255, 0.08);
    color: #007bff !important;
    transform: translateY(-2px);
}

.nav-item.active .nav-link {
    background: rgba(0, 123, 255, 0.15);
    color: #007bff !important;
    font-weight: 700;
}

.live-badge .nav-link {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
    font-weight: 700;
    position: relative;
    animation: pulse-bg 2s infinite;
}

.navbar-toggler {
    border: none;
    color: #495057;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.live-game-highlight {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-left: 5px solid #dc3545;
    position: relative;
    overflow: hidden;
}

.live-game-highlight::before {
    content: "AO VIVO";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    animation: pulse-bg 1.5s infinite;
}

.live-game-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.live-game-teams {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.live-game-teams h3 {
    color: #ecf0f1;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.live-game-info {
    color: #bdc3c7;
    font-size: 1rem;
    margin-bottom: 15px;
}

.live-game-time {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3498db;
    font-weight: bold;
    font-size: 1.1rem;
}

.live-game-watch {
    flex: 0 0 200px;
    text-align: center;
    margin-top: 15px;
}

.watch-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 2px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.live-matches {
    position: relative;
    max-width: 100%;
    margin: 0;
    background: #1a1a1a;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    flex-grow: 1;
}

.carousel-container-with-arrows,
.matches-carousel {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.matches-container {
    position: relative;
    width: 100%;
}

.matches-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    transform: none !important;
    position: relative;
    scroll-behavior: smooth;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right:0;
}

.matches-carousel::-webkit-scrollbar {
    display: none;
}

.matches-carousel.active-dragging {
    cursor: grabbing;
}

.match-card {
    flex-shrink: 0;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    background: #34495e;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
    box-sizing: border-box;
    contain: layout;
    margin-left: 0;
    margin-right: 5px !important;
}
.match-card:not(:last-child) {
    margin-right: 0;
}
.match-card:first-child {
    margin-left: 0;
}

.match-card:last-child {
    margin-right: 5px;
}
.matches-carousel.active-dragging .match-card {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: grabbing;
}

.match-card:active {
    cursor: grabbing;
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 10px;
    z-index: 10;
    pointer-events: none;
}

.carousel-prev,
.carousel-next {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #ecf0f1;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    opacity: 0.8;
    pointer-events: all;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
    opacity: 1;
}

.carousel-prev[disabled],
.carousel-next[disabled] {
    opacity: 0.4 !important;
    cursor: not-allowed;
    transform: none !important;
}

.live-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.live-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: #dc3545;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 1.5s infinite;
}

.match-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.live-badge {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    animation: pulseOpacity 1.5s infinite;
}

.live-badge-breve {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    padding: 4px 10px;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    animation: pulseOpacity 1.5s infinite;
}

.match-clock {
    font-weight: bold;
    color: #ecf0f1;
}

.half-time-text {
    font-size: 0.85rem;
    color: #bdc3c7;
    margin-left: 10px;
}

.teams-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
}

.team img {
    height: 40px;
    margin-bottom: 5px;
    object-fit: contain;
}

.team p {
    margin: 0;
    color: #ecf0f1;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.score {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ecf0f1;
}

.match-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.competition {
    display: flex;
    align-items: center;
    gap: 5px;
}

.competition img {
    height: 16px;
}

.competition p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.8rem;
}

.match-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.match-progress progress {
    width: 100px;
    height: 6px;
    border-radius: 3px;
    background: #5a6a7c;
}

.match-progress progress::-webkit-progress-bar {
    background: #5a6a7c;
    border-radius: 3px;
}

.match-progress progress::-webkit-progress-value {
    background: #3498db;
    border-radius: 3px;
}

.match-progress p {
    margin: 5px 0 0;
    color: #bdc3c7;
    font-size: 0.8rem;
}

.game-message {
    text-align: center;
    color: #f8d7da;
    background-color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    display: none;
}

#communityCarousel {
    margin: 1rem auto 1.5rem;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 900;
    padding-top: 60px;
    margin-top: 0;
}

.carousel-inner {
    border-radius: 12px;
}

.carousel-item {
    padding: 1rem;
    transition: transform 0.4s ease;
}

.update-status {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: linear-gradient(to right, #fff3cd, #ffe8a1);
    color: #856404;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.6s ease;
    display: none;
}

.update-status.show {
    display: block;
    opacity: 1;
}

.remaining-time {
    background: rgba(40, 167, 69, 0.1);
    padding: 8px;
    border-radius: 4px;
    display: inline-block;
    margin: 10px 0;
    font-weight: bold;
}

.access-time {
    color: #28a745;
    font-weight: bold;
    margin: 10px 0;
}

#enterMatchBtn {
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s;
}

#enterMatchBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#submitReport:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#submitReport .fa-spinner {
    margin-right: 8px;
}

#submitReport .fa-paper-plane {
    margin-right: 8px;
}

#whatsappField,
#emailField {
    transition: all 0.3s ease;
}

input[type="tel"] {
    font-family: 'Roboto', sans-serif;
}

.alert-info {
    background-color: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.2);
    color: #31708f;
}

.report-problem-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.report-problem-btn:hover {
    background-color: #c82333;
}

#reportProblemModal .modal-content {
    color: #343a40;
    border: 1px solid #dee2e6;
    background-color: #ffffff;
}

#reportProblemModal .modal-header {
    border-bottom: 1px solid #e9ecef;
}

#reportProblemModal .modal-footer {
    border-top: 1px solid #e9ecef;
}

#reportProblemModal .close {
    color: #6c757d;
}

.collapse-item.active {
    background-color: #e9ecef;
    font-weight: 600;
}

.collapse-item i {
    width: 20px;
    text-align: center;
}

.whatsapp-cta {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.whatsapp-cta a{
    color: #fff;
}

.cta-text {
    color: #ecf0f1;
    font-size: 18px;
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.whatsapp-center-button {
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: pulseBtn 2.5s infinite;
    border: none;
    min-width: 220px;
    justify-content: center;
    white-space: nowrap;
}

.whatsapp-center-button:hover {
    background: #218838;
    box-shadow: 0 0 14px rgba(40, 167, 69, 0.4);
}

.whatsapp-center-button:focus,
.whatsapp-center-button:active,
.whatsapp-center-button:visited {
    color: white;
    outline: none;
    text-decoration: none;
}

#newPhoneModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

#newPhoneModal .modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #ced4da;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    color: #343a40;
}

#newPhoneModal .close {
    color: #adb5bd;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

#newPhoneModal .close:hover,
#newPhoneModal .close:focus {
    color: #495057;
    text-decoration: none;
    cursor: pointer;
}

#newPhoneModal input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

#newPhoneModal button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#newPhoneModal button:hover {
    opacity: 0.8;
}

#newPhoneModal .phone-message {
    margin-top: 10px;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

#newPhoneModal .phone-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

#newPhoneModal .phone-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

#txidModal .modal-content,
#tokenModal .modal-content,
#tokenAccessModal .modal-content {
    color: #343a40;
    background-color: #ffffff;
}

.modal-header .fas,
.modal-body .fas,
.modal-footer .fas {
    vertical-align: middle;
}

#txidModal .fas,
#tokenModal .fas,
#tokenAccessModal .fas {
    color: inherit;
}

#userTokenInput::placeholder {
    color: #adb5bd;
}

.btn-close {
    color: #495057;
    opacity: 0.7;
}

.btn-close:hover {
    color: #212529;
    opacity: 1;
}

.d-flex.gap-2 {
    gap: 0.5rem !important;
}

#whatsappSendButton {
    padding: 12px;
    font-size: 1.1rem;
    background-color: #28a745;
    border: none;
}

#whatsappSendButton:hover {
    background-color: #218838;
}

#copyTokenButton:active {
    transform: scale(0.98);
}

#callToAction {
    font-size: 1.3rem;
    font-weight: 700;
    color: #343a40;
    background: #ffffff;
    padding: 18px 24px;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    user-select: none;
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.5;
    letter-spacing: 0.025em;
    transition: background-color 0.4s ease;
    position: relative;
    cursor: default;
}

#callToAction:hover {
    background-color: #f1f3f5;
}

#callToAction strong {
    font-size: 1.6rem;
    background: linear-gradient(90deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin: 0 6px;
    font-weight: 900;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.emoji {
    display: inline-block;
    animation: pulse 2s infinite ease-in-out;
    margin: 0 4px;
    font-size: 1.5rem;
    user-select: none;
    vertical-align: middle;
}

.watch-link,
.watch-link:visited,
.watch-link:hover,
.watch-link:focus,
.watch-link:active {
    text-decoration: none !important;
}
.watch-link {
    align-items: center;
    justify-content: center;
    display: block;
    background-color: #28a745;
    color: white;
    padding: 12px 25px;
    text-align: center;
    border-radius: 2px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 0 3px #28a74588, 0 0 8px #28a745aa;
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}


.watch-link::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 10px;
    border: 1.5px solid #28a745bb;
    pointer-events: none;
    box-shadow: 0 0 4px #28a74566, 0 0 10px #28a74588;
    animation: neon-border-soft 4s linear infinite;
    z-index: 0;
}

.watch-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg,
                        rgba(255, 255, 255, 0) 0%,
                        rgba(255, 255, 255, 0.15) 50%,
                        rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: flash-move-soft 3s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
    border-radius: 8px;
}

.watch-link:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 0 6px #218838aa, 0 0 15px #218838bb;
}

.carousel-container-with-arrows {
    position: relative;
    overflow: hidden;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: #f8f9fa;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 0;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.carousel-arrow:active {
    background-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.prev-arrow {
    left: 10px;
}

.next-arrow {
    right: 10px;
}

.carousel-arrow[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

@keyframes pulse-bg {
    0% {
        background: rgba(220, 53, 69, 0.2);
    }

    50% {
        background: rgba(220, 53, 69, 0.4);
    }

    100% {
        background: rgba(220, 53, 69, 0.2);
    }
}

@keyframes pulseOpacity {
    0% {
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pulseBtn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes neon-border-soft {
    0%,
    100% {
        box-shadow: 0 0 3px #28a74555, 0 0 6px #28a74588;
    }

    50% {
        box-shadow: 0 0 6px #28a74577, 0 0 12px #28a74599;
    }
}

@keyframes flash-move-soft {
    0% {
        left: -40%;
    }

    100% {
        left: 140%;
    }
}

@media (max-width: 1200px) {
    .live-game-teams h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .live-game-content {
        flex-direction: column;
    }

    .live-game-watch {
        margin-top: 20px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .match-card {
        width: 260px;
        min-width: 260px;
        max-width: 260px;
    }

    #phoneModal .close{

    }

    .logo-text {
        font-size: 1.1rem;
    }

    .carousel-prev,
    .carousel-next {
        margin-left: 5px;
        margin-right: 5px;
    }

    .carousel-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .collab-banner {
        width: 90%;
        right: 5%;
    }

    .live-game-teams h3 {
        font-size: 1.3rem;
    }

    .team p {
        font-size: 0.8rem;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
        margin-bottom: 0;
    }

    .matches-carousel {
        padding: 0 5px;
    }

    .cta-text {
        font-size: 15px;
        padding: 0 10px;
    }

    .whatsapp-center-button {
        font-size: 15px;
        padding: 12px 28px;
        min-width: 260px;
    }
}

@keyframes shimmer {
    0% {
        background-position: -470px 0;
    }
    100% {
        background-position: 470px 0;
    }
}

.skeleton-wrapper {
    position: relative;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.update-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.update-overlay p {
    margin: 10px 0 0 0;
    font-size: 14px;
    font-weight: bold;
}

.update-overlay .fa-sync-alt {
    font-size: 24px;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 5px;
    background-image: linear-gradient(90deg, #e0e0e0 0px, #f5f5f5 40px, #e0e0e0 80px);
    background-size: 470px;
    animation: shimmer 1.6s infinite linear;
}

.teams-container-skeleton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
}

.skeleton-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.skeleton-text {
    width: 80%;
    height: 15px;
}

.skeleton-score {
    width: 15%;
    height: 25px;
}

.details-skeleton {
    margin-top: 15px;
}

.skeleton-text-long {
    width: 100%;
    height: 12px;
    margin-bottom: 15px;
}

.skeleton-button {
    width: 100%;
    height: 40px;
}

.whatsapp-support-btn {
    background-color: #25D366;
    padding: 6px;
    border-radius: 5px;
    color: #ffffff;
    margin-top: 7px;
    width: 100%;
    max-width: 300px;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-grow: 1;
    transition: background-color 0.3s ease;
}
.whatsapp-support-btn:hover,
.whatsapp-support-btn:active {
    text-decoration: none;
    color: #ffffff;
}
.whatsapp-support-btn .fab {
    margin-right: 6px;
    font-size: 14px;
}
@media (max-width: 768px) {
    .whatsapp-support-btn {
        padding: 8px;
        font-size: 14px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .whatsapp-support-btn .fab {
        font-size: 16px;
        margin-right: 8px;
    }
}
@media (max-width: 480px) {
    .whatsapp-support-btn {
        padding: 10px;
        font-size: 15px;
        max-width: 100%;
    }
    .whatsapp-support-btn .fab {
        font-size: 18px;
        margin-right: 10px;
    }
}
.cta-container {
    background: linear-gradient(135deg, #1A2980 0%, #26D0CE 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}
.cta-title {
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}
.cta-subtitle {
    font-size: 0.9rem;
    margin: 10px 0 0 0;
    font-weight: 500;
    opacity: 0.9;
}
#pixQrCode {
}
@media (max-width: 576px) {
    .modal-dialog {
        margin: 1rem;
    }
    .cta-container {
        padding: 15px;
    }
    .cta-title {
        font-size: 1.2rem;
    }
    .cta-subtitle {
        font-size: 0.85rem;
    }
    #pixQrCode {
        min-height: 120px;
        padding: 10px;
    }
    .input-group > .btn, .input-group > .form-control {
        font-size: 0.9rem;
    }
    .alert {
        font-size: 0.75rem !important;
    }
}
.dropdown-content {
    display: none;
    overflow: hidden;
}
.dropdown-header {
    cursor: pointer;
}
.dropdown-header .fa-chevron-down {
    transition: transform 0.3s ease;
}
.dropdown-header.expanded .fa-chevron-down {
    transform: rotate(180deg);
}
#tabela-widget-section {
    height: auto !important;
    min-height: unset !important;
}
.tabela-responsiva-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#tabela-widget-section {
    border-radius: 15px;
    overflow: hidden;
}
.match-highlight {
    text-align: center;
    margin-bottom: 10px;
}
.today-badge {
    background-color: #FFA600;
    color: black;
    padding: 6px 14px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 13px;
    display: inline-block;
    animation: pulse 1.5s infinite;
}
/* --- INÍCIO: ESTILO DE OVERLAY INFORMATIVO E TEMÁTICO --- */

/* Estilo Principal do Overlay (Tela Cheia) */
#instagram-notification {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background: rgba(26, 43, 64, 0.85); /* Fundo azul-marinho mais transparente */
    z-index: 10000; 
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0; 
    transition: opacity 0.4s ease-out;
    transform: none !important; 
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(2px);
}

/* Quando o JS adiciona a classe .show, ele aparece */
#instagram-notification.show {
    display: flex; 
    opacity: 1;
    animation: fadeInScaleUp 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards; 
}

/* Conteúdo central do Pop-up (O Painel Informativo) */
.notification-content {
    background: #ffffff; 
    color: #34495e; 
    padding: 30px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); 
    max-width: 90%;
    width: 400px;
    text-align: center;
    border: 1px solid #e0e0e0; 
    flex-direction: column; 
    gap: 12px; 
    margin: 0; 
    flex-wrap: nowrap;
    position: relative;
    animation: none !important; 
}

.notification-content p {
    margin: 0;
    font-weight: 400;
    font-size: 1rem; 
    line-height: 1.5; 
}

/* Garante que o STRONG dentro do P seja renderizado corretamente */
.notification-content p strong {
    font-weight: 700;
    color: #1a1a1a; /* Cor mais forte para o destaque de palavras-chave */
}

.info-icon {
    font-size: 3rem; 
    color: #ffc107; /* Amarelo (Cor de Alerta Suave/Energia) */
    margin-bottom: 5px; 
    display: block;
    animation: bounceIcon 1.5s infinite alternate; 
}

.explanation-text {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.highlight-text {
    font-weight: 700;
    color: #2ecc71; /* Verde Sucesso/Grama */
    background-color: #f7f7f7; 
    padding: 2px 5px;
    border-radius: 4px;
    white-space: nowrap; 
}

/* Estilo do Botão Principal (Ação de Abertura) */
#open-external-browser {
    font-size: 1rem !important;
    padding: 12px 25px !important;
    font-weight: 700 !important; /* Aumentei a força do negrito para o botão */
    background-color: #3498db !important; /* Azul primário para a ação */
    color: white !important;
    border: none !important;
    border-radius: 6px !important;
    margin-top: 20px !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3); 
    animation: pulseButton 2s infinite; 
}

#open-external-browser:hover {
    background-color: #2980b9 !important;
    transform: translateY(-1px); 
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.5);
}

/* Animações (Mantidas) */
@keyframes fadeInScaleUp {
    0% { transform: scale(0.95); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounceIcon {
    from { transform: translateY(0px); }
    to { transform: translateY(-3px); }
}

@keyframes pulseButton {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.5); }
    70% { transform: scale(1.01); box-shadow: 0 0 0 8px rgba(52, 152, 219, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(52, 152, 219, 0); }
}

/* Media Query para telas menores */
@media (max-width: 450px) {
    .notification-content {
        padding: 25px 20px;
    }
    .info-icon {
        font-size: 2.5rem;
    }
    .notification-content p {
        font-size: 0.95rem;
    }
}
/* --- FIM: ESTILO DE OVERLAY INFORMATIVO E TEMÁTICO --- */

#directional-arrow {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 60px;
    color: #e60000;
    pointer-events: none;
    line-height: 1;
    transform: rotate(-45deg);
    animation: pulse-arrow 1s infinite ease-in-out;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}

@keyframes pulse-arrow {
    0%, 100% {
        transform: scale(1) rotate(-45deg);
    }
    50% {
        transform: scale(1.15) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    #instagram-notification {
        padding: 12px 8px;
        font-size: 14px;
    }
    .notification-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .info-icon {
        font-size: 22px;
    }
    #directional-arrow {
        top: 20px;
        right: 15px;
        font-size: 50px;
        transform: rotate(-45deg);
    }
}

#reportProblemModal .modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    background-color: #ffffff;
}

#reportProblemModal .modal-header {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 20px 25px;
    border-bottom: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    position: relative;
}

#reportProblemModal .modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

#reportProblemModal .modal-header .close {
    color: white;
    opacity: 0.9;
    font-size: 1.8rem;
    text-shadow: none;
    position: absolute;
    right: 20px;
    top: 15px;
}

#reportProblemModal .modal-header .close:hover {
    opacity: 1;
}

#reportProblemModal .modal-body {
    padding: 25px;
}

#reportProblemModal .form-group {
    margin-bottom: 20px;
}

#reportProblemModal .form-group label {
    font-weight: 600;
    color: #343a40;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

#reportProblemModal .form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
    line-height: 1.5;
    background-color: #f8f9fa;
}

#reportProblemModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    background-color: #ffffff;
}

#reportProblemModal .form-control-static {
    font-weight: 700 !important;
    color: #000;
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

#reportProblemModal .alert-info {
    border: 1px solid #b8daff;
    border-left: 5px solid #007bff;
    background-color: #e7f4ff;
    color: #004085;
    padding: 15px;
    font-size: 0.9rem;
    border-radius: 8px;
    margin-top: 15px;
}

#reportProblemModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 15px 25px;
    background-color: #f8f9fa;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

#submitReport, #reportProblemModal .btn-secondary {
    font-weight: 600 !important;
    border-radius: 2px !important;
    padding: 10px 20px !important;
    text-transform: uppercase;
    font-size: 0.9rem;
}

#submitReport {
    background-color: #007bff !important;
    border-color: #007bff !important;
    color: white !important;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

#submitReport:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

#reportProblemModal .btn-secondary {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
    transition: background-color 0.3s;
}

#reportProblemModal .btn-secondary:hover {
    background-color: #5a6268 !important;
    border-color: #545b62 !important;
}

.fights-carousel {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
}

.fight-card-large {
    background: linear-gradient(160deg, #121212 5%, #0a0a0a 95%);
    border-radius: 15px;
    border: 1px solid #333;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 30px 25px;
    width: 400px;
    min-width: 350px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease-in-out;
    position: relative;
    overflow: hidden;
}

.fight-card-large:hover {
    transform: scale(1.03) perspective(1px);
    box-shadow: 0 5px 25px rgba(220, 53, 69, 0.5);
}

.fight-card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 0 5px;
}

.live-badge-large {
    background-color: #dc3545;
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
}

.live-badge-large i {
    font-size: 1.2em;
}

.match-info-large {
    text-align: right;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.competition-large {
    font-size: 1.2em;
    font-weight: 700;
    color: #f1f1f1;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.weight-class-large {
    font-size: 1em;
    color: #b0b0b0;
    font-weight: 300;
}

.fighters-container-large {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 35px;
}

.fighter-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    min-width: 0;
}

.fighter-img-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    outline: 2px solid #1a1a1a;
    box-shadow: 0 0 0 6px rgba(220, 53, 69, 0.2);
    transition: transform 0.4s ease;
}

.fighter-img-large:hover {
    transform: scale(1.08);
    border: 4px solid #dc3545;
}

.fighter-name-large {
    margin-top: 20px;
    font-size: 1.4em;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    white-space: normal;
    overflow-wrap: break-word;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    padding: 0 5px;
}

.vs-text-large {
    font-family: 'Impact', sans-serif;
    font-size: 3em;
    font-weight: 900;
    color: #dc3545;
    margin: 0 10px;
    text-shadow: 0 0 8px rgba(220, 53, 69, 0.8);
    animation: none;
    line-height: 1;
    flex-shrink: 0;
}

.fight-details-large {
    width: 100%;
}

.fight-time-large {
    font-size: 1.2em;
    color: #e0e0e0;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
}

.fight-time-large i {
    color: #f1f1f1;
    font-size: 1.1em;
}

.watch-link-large {
    display: block;
    background-color: #28a745;
    color: white;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: 800;
    margin-top: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4);
    width: 100%;
    border: none;
}

.watch-link-large:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.6);
    color: white;
}

.fight-card-large .btn {
    padding: 12px 10px;
    border-radius: 2px;
    font-size: 1.1em;
    margin-top: 12px;
    width: 100%;
    font-weight: 600;
}

.fight-card-large .btn-warning {
    background-color: #f1c40f !important;
    border-color: #f39c12 !important;
    color: #1a1a1a !important;
}

.fight-card-large .btn-warning:hover {
    background-color: #f39c12 !important;
}

.fight-card-large .voltar-ao-jogo {
    background-color: #343a40;
    border: 1px solid #495057;
    color: #f1f1f1;
    transition: background-color 0.3s ease;
}

.fight-card-large .voltar-ao-jogo:hover {
    background-color: #495057;
    border-color: #6c757d;
}

.fight-card-large .open-phone-modal {
    background-color: #2c3e50;
    border: 1px solid #34495e;
    color: white;
    transition: background-color 0.3s ease;
}

.fight-card-large .open-phone-modal:hover {
    background-color: #34495e;
}

.fight-card-large .report-problem-btn-large {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 2px;
    font-size: 1em;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.fight-card-large .report-problem-btn-large:hover {
    background-color: #c82333;
}

.fight-card-large .game-message-large {
    margin-top: 15px;
    font-size: 1.1em;
}

/* Ajustes para dispositivos móveis (até 768px) */
@media (max-width: 768px) {
    .fight-card-large {
        width: 95%;
        max-width: 350px;
        min-width: unset;
        padding: 25px 15px;
    }

    .fighter-img-large {
        width: 100px;
        height: 100px;
    }

    .fighter-name-large {
        font-size: 15px;
        margin-top: 15px;
        min-height: 55px;
    }

    .vs-text-large {
        font-size: 2.2em;
        margin: 0 5px;
    }

    .watch-link-large {
        font-size: 1.2em;
        padding: 12px 20px;
    }

    .fight-card-large .btn {
        font-size: 1em;
    }
}

/* Ajustes para celulares pequenos (até 480px) */
@media (max-width: 480px) {
    .fighters-container-large {
        gap: 0;
        padding-top: 15px;
        padding-bottom: 25px;
    }

    .fighter-large {
        width: 100%;
        margin-bottom: 0;
        flex-shrink: 1;
    }

    .vs-text-large {
        position: relative;
        top: unset;
        left: unset;
        transform: none;
        font-size: 2em;
        z-index: 5;
        background: transparent;
        padding: 0;
        margin: 0 5px;
        display: block;
        text-align: center;
        width: fit-content;
    }
    
    .fighters-container-large {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }


    .fighter-img-large {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }

    .fighter-name-large {
        font-size: 14px;
        margin-top: 10px;
        min-height: 40px; 
    }
}

/* Ajustes para mobile para a barra de topo */
@media (max-width: 768px) {
    .header-swiper-container {
        height: 180px;
    }
    #top-social-bar .d-flex {
        justify-content: center !important;
    }
}

.btnPreJogo {
    display: block; 
    background-color: #28a745;
    color: white;
    padding: 10px 15px;
    text-align: center;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 0 3px #28a74588, 0 0 8px #28a745aa;
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Garante que o sublinhado seja removido em todos os estados de interação */
.btnPreJogo:hover,
.btnPreJogo:focus,
.btnPreJogo:active,
.btnPreJogo:visited {
    text-decoration: none !important; 
    color: white; /* Mantém a cor do texto branca */
}


#ios-instagram-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 15px;
}

#ios-instagram-modal .ios-modal-content {
    position: relative;
    background: #ffffff;
    padding: 18px;
    border-radius: 12px;
    margin-top: 40px;
    margin-right: 12px;
    max-width: 260px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25);
}

#ios-instagram-modal .arrow {
    position: absolute;
    top: -12px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #ffffff;
}

#ios-instagram-modal .ios-text {
    color: #000;
    font-size: 16px;
    line-height: 1.45;
}
