/* ========== FORM STYLES ========== */
.form-container {
    max-width: 500px;
    margin: 0 auto;
}

.login-header,
.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2,
.register-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-header p,
.register-header p {
    color: var(--text-muted) !important;
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 45px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary) !important;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.2);
    background-color: rgba(0, 0, 0, 0.4);
}

.form-input::placeholder {
    color: var(--text-muted) !important;
}

.form-input.error {
    border-color: var(--danger);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.2);
}

.input-icon {
    position: absolute;
    left: 15px;
    color: var(--text-muted) !important;
    font-size: 1rem;
    z-index: 10;
    transition: color 0.3s ease;
}

.input-wrapper:focus-within .input-icon {
    color: var(--primary) !important;
}

.password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted) !important;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: var(--primary) !important;
}

.btn-full {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
}

.form-footer {
    margin-top: 30px;
    text-align: center;
}

.form-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.link-primary,
.link-secondary {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-primary {
    color: var(--primary) !important;
}

.link-primary:hover {
    color: var(--primary-dark) !important;
    transform: translateX(3px);
}

.link-secondary {
    color: var(--text-muted) !important;
}

.link-secondary:hover {
    color: var(--text-primary) !important;
    transform: translateX(-3px);
}

/* ========== MESSAGES ========== */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.2);
    border-color: var(--success);
    color: #d4edda !important;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.2);
    border-color: var(--danger);
    color: #f8d7da !important;
}

.alert-warning {
    background-color: rgba(255, 193, 7, 0.2);
    border-color: var(--warning);
    color: #fff3cd !important;
}

.error-message {
    color: var(--danger) !important;
    font-size: 0.85rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-message::before {
    content: "⚠";
    font-size: 0.9rem;
}

/* ========== TABLES ========== */
.table-container {
    overflow-x: auto;
    background: rgba(30, 30, 45, 0.8);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
}

.table th {
    background-color: rgba(220, 53, 69, 0.2);
    font-weight: 600;
    color: var(--text-primary) !important;
}

.table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* ========== DOWNLOAD MODAL ========== */
.download-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: rgba(30, 30, 45, 0.95);
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white !important;
}

.modal-close {
    background: none;
    border: none;
    color: white !important;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
}

.download-progress {
    margin-bottom: 25px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 1.5s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-primary) !important;
}

.download-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.download-info p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--text-primary) !important;
}

.download-info p:first-child {
    font-weight: 600;
    color: var(--text-primary) !important;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.podium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.podium-card.first:hover {
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

/* ========== LOADING STATES ========== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

.loading-row {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(15, 15, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 1000;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 15px 20px;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    .main-content {
        margin-top: 70px;
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .top-three-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .podium-card.first {
        order: -1;
        transform: none;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box input {
        min-width: auto;
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .ranking-table {
        font-size: 0.8rem;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 8px 6px;
    }
    
    .class-icon {
        width: 25px;
        height: 25px;
    }
    
    .position-medal {
        width: 20px;
        height: 20px;
    }
    
    .pagination-container {
        flex-direction: column;
        text-align: center;
    }
    
    .form-links {
        flex-direction: column;
        text-align: center;
    }
    
    .download-hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }
    
    .download-stats {
        flex-direction: column;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .btn-download {
        min-width: auto;
        width: 100%;
    }
    
.stat-item {
  position: relative;
  overflow: visible;
  min-width: auto;
  flex-direction: column;
  text-align: center;
  gap: 10px;
  animation: red-shadow-slide 4s linear infinite;
}

@keyframes red-shadow-slide {
  0% {
    box-shadow: -100px 0 50px rgba(220, 53, 69, 0);
  }
  50% {
    box-shadow:    0 0 50px rgba(220, 53, 69, 0.8);
  }
  100% {
    box-shadow:  100px 0 50px rgba(220, 53, 69, 0);
  }
}


    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .patch-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .patch-info {
        min-width: auto;
        width: 100%;
    }
    
    .btn-patch {
        align-self: flex-end;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .nav-menu {
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .ranking-table th:nth-child(4),
    .ranking-table td:nth-child(4),
    .ranking-table th:nth-child(5),
    .ranking-table td:nth-child(5) {
        display: none;
    }
    
    .podium-card {
        padding: 20px 15px;
    }
    
    .player-avatar {
        width: 60px;
        height: 60px;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .download-hero {
        padding: 30px;
    }
    
    .download-hero h2 {
        font-size: 1.8rem;
    }
    
    .download-hero p {
        font-size: 1rem;
    }
    
    .download-card,
    .help-card,
    .requirement-card,
    .step {
        padding: 20px;
    }
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

/* ========== FORÇA CORES FINAIS ========== */
/* Garantir que TODOS os textos sejam visíveis */
body, body *, 
h1, h2, h3, h4, h5, h6,
p, span, div, a, li, td, th,
.hero-title, .section-title, .page-title,
.nav-menu a, .btn, .card-content,
.news-title, .feature-title, .player-name,
.form-input, .form-group label {
    color: var(--text-primary) !important;
}

/* Textos secundários específicos */
.hero-subtitle, .news-excerpt, .feature-desc,
.card-content p, .help-card p, .step-content p,
.requirement-card li, .patch-info p,
.footer-col p, .footer-links a {
    color: var(--text-secondary) !important;
}

/* Textos esmaecidos */
.news-author, .news-date, .file-size,
.patch-size, .status-details p,
.stat-item small, .copyright,
.input-icon, .search-box i {
    color: var(--text-muted) !important;
}

/* Cores especiais mantidas */
.status-number, .position-number,
.pk-cell .pk-number {
    color: var(--primary) !important;
}

.player-class, .guild-cell,
.player-guild {
    color: var(--secondary) !important;
}

.status-icon.online, .status-online {
    color: var(--success) !important;
}

/* Botões com cores corretas */
.btn-primary, .main-download,
.btn-download-small, .btn-patch,
.pagination-btn {
    color: white !important;
}

.btn-outline, .torrent-download {
    color: var(--text-primary) !important;
}

.btn-outline:hover, .torrent-download:hover {
    color: var(--dark) !important;
}

/* Links com cores especiais */
.news-link, .help-link,
.link-primary {
    color: var(--primary) !important;
}

.news-link:hover, .help-link:hover {
    color: var(--secondary) !important;
} input {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
    padding: 10px 15px 10px 45px;
    border-radius: 8px;
    font-family: inherit;
    min-width: 250px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.2);
}

.search-box input::placeholder {
    color: var(--text-muted) !important;
}

/* Top 3 Section */
.top-three-section {
    margin-bottom: 50px;
}

.section-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-primary) !important;
}

.top-three-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
    align-items: end;
}

.podium-card {
    background: rgba(25, 25, 40, 0.8);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.podium-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.podium-card.first {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.podium-card.second {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(192, 192, 192, 0.05));
    border-color: rgba(192, 192, 192, 0.5);
}

.podium-card.third {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(205, 127, 50, 0.05));
    border-color: rgba(205, 127, 50, 0.5);
}

.podium-rank {
    font-size: 2rem;
    margin-bottom: 10px;
}

.podium-position {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.player-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.1);
    padding: 10px;
}

.avatar-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.5;
}

.podium-card.first .avatar-border {
    border-color: #ffd700;
    animation: pulse 2s infinite;
}

.podium-info .player-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary) !important;
}

.podium-info .player-class {
    color: var(--primary) !important;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.player-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
}

.player-guild {
    font-size: 0.8rem;
    color: var(--secondary) !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.no-guild {
    color: var(--text-muted) !important;
}

/* Ranking Table */
.ranking-table-section {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.ranking-stats {
    display: flex;
    gap: 15px;
}

.stat-badge {
    background: rgba(220, 53, 69, 0.2);
    color: var(--text-primary) !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-container {
    overflow-x: auto;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th {
    background: rgba(220, 53, 69, 0.3);
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 2px solid rgba(220, 53, 69, 0.5);
}

.ranking-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
}

.ranking-row {
    transition: all 0.3s ease;
    opacity: 0;
}

.ranking-row.fade-in {
    opacity: 1;
}

.ranking-row:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: scale(1.01);
}

.position-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.position-medal {
    width: 30px;
    height: 30px;
}

.position-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary) !important;
}

.class-cell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(220, 53, 69, 0.3));
}

.name-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-name-text {
    font-weight: 600;
    color: var(--text-primary) !important;
}

.top-badge {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.level-cell,
.pvp-cell,
.pk-cell {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary) !important;
    font-weight: 500;
}

.pk-cell .pk-number {
    color: var(--danger) !important;
    font-weight: 700;
}

.guild-cell {
    color: var(--secondary) !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-guild-text {
    color: var(--text-muted) !important;
    font-style: italic;
}

/* Pagination */
.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.pagination-info {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

/* ========== DOWNLOADS PAGE STYLES ========== */

/* Main Download Section */
.main-download-section {
    margin-bottom: 60px;
}

.download-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(30, 30, 45, 0.8);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.download-hero-content,
.download-preview {
    position: relative;
    z-index: 2;
}

.download-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: white !important;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
    animation: pulse 2s infinite;
}

.download-hero h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary) !important;
    background: linear-gradient(45deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@supports not (-webkit-background-clip: text) {
    .download-hero h2 {
        background: none !important;
        color: var(--text-primary) !important;
        -webkit-text-fill-color: var(--text-primary) !important;
    }
}

.download-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Download Stats */
.download-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 180px;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.3);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary) !important;
    width: 30px;
    text-align: center;
}

.stat-item span {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary) !important;
}

.stat-item small {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download > * {
    position: relative;
    z-index: 2;
}

.main-download {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
}

.main-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.6);
}

.torrent-download {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.torrent-download:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-download span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: inherit !important;
}

.btn-download strong {
    font-size: 1rem;
    margin-bottom: 2px;
    color: inherit !important;
}

.btn-download small {
    font-size: 0.8rem;
    opacity: 0.8;
    color: inherit !important;
}

/* Game Screenshots Slideshow */
.download-preview {
    position: relative;
}

.game-screenshots {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
}

.screenshot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.screenshot.active {
    opacity: 1;
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.screenshot-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

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

.dot.active,
.dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Alternative Downloads */
.alternative-downloads {
    margin-bottom: 80px;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.download-card {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 150%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.download-card:hover::before {
    opacity: 0.1;
}

.download-card > * {
    position: relative;
    z-index: 2;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: white !important;
}

.card-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary) !important;
}

.card-content p {
    color: var(--text-secondary) !important;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.file-size,
.file-version {
    font-size: 0.9rem;
    color: var(--text-muted) !important;
    font-weight: 500;
}

.file-version {
    color: var(--primary) !important;
}

.btn-download-small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-download-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* System Requirements */
.system-requirements {
    margin-bottom: 80px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.requirement-card {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.requirement-card.minimum {
    border-left: 4px solid var(--warning);
}

.requirement-card.recommended {
    border-left: 4px solid var(--primary);
}

.requirement-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requirement-card.minimum h4 {
    color: var(--warning) !important;
}

.requirement-card.recommended h4 {
    color: var(--primary) !important;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    margin-bottom: 12px;
    color: var(--text-secondary) !important;
    font-size: 0.95rem;
    line-height: 1.5;
}

.requirement-card strong {
    color: var(--text-primary) !important;
    font-weight: 600;
}

/* Installation Guide */
.installation-guide {
    margin-bottom: 80px;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.3);
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.step-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary) !important;
}

.step-content p {
    color: var(--text-secondary) !important;
    line-height: 1.5;
}

/* Patches Section */
.patches-section {
    margin-bottom: 80px;
}

.patches-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.patch-item {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    flex-wrap: wrap;
    gap: 20px;
}

.patch-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.3);
}

.patch-info {
    flex: 1;
    min-width: 250px;
}

.patch-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary) !important;
    margin-bottom: 8px;
}

.patch-info p {
    color: var(--text-secondary) !important;
    margin-bottom: 10px;
    line-height: 1.4;
}

.patch-date,
.patch-size {
    display: inline-block;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 15px;
    margin-right: 10px;
    margin-bottom: 5px;
}

.patch-date {
    background: rgba(220, 53, 69, 0.2);
    color: var(--primary) !important;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.patch-size {
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-muted) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-patch {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-patch:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Help Section */
.help-section {
    margin-bottom: 40px;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.help-card {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.help-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 150%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.help-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.help-card:hover::before {
    opacity: 0.1;
}

.help-card > * {
    position: relative;
    z-index: 2;
}

.help-card i {
    font-size: 3rem;
    color: var(--primary) !important;
    margin-bottom: 20px;
    display: block;
}

.help-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary) !important;
}

.help-card p {
    color: var(--text-secondary) !important;
    margin-bottom: 20px;
    line-height: 1.5;
}

.help-link {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.help-link:hover {
    color: var(--secondary) !important;
    transform: translateX(3px);
}

/* ========== FORM STYLES ========== *//* ========== VARIABLES CSS ========== */
:root {
    --primary: #dc3545;
    --primary-dark: #c82333;
    --secondary: #ff6b35;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --dark: #1a1a2e;
    --light: #ffffff;
    --gray: #9ca3af;
    --bg-dark: #0f0f1a;
    --bg-secondary: #1e1e2d;
    --text-primary: #ffffff;
    --text-secondary: #e5e7eb;
    --text-muted: #9ca3af;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* ========== RESET CSS ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto !important;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary) !important;
    line-height: 1.6;
    background-image: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 1 !important;
}

/* FORÇA TODAS AS CORES DE TEXTO */
*, *::before, *::after {
    color: var(--text-primary) !important;
}

/* Exceções específicas */
.text-muted, .news-excerpt, .feature-desc, .status-details p, .card-content p, .help-card p {
    color: var(--text-secondary) !important;
}

.news-author, .news-date, .patch-size, .file-size {
    color: var(--text-muted) !important;
}

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

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(10, 10, 25, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo span {
    color: var(--primary) !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
    position: relative;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary) !important;
    text-decoration: none;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover {
    color: var(--primary) !important;
    background-color: rgba(220, 53, 69, 0.1);
}

.nav-menu a span,
.nav-menu a i {
    color: inherit !important;
}

/* Botões especiais na navbar */
.btn-register {
    background-color: var(--primary) !important;
    color: var(--text-primary) !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-weight: 600 !important;
}

.btn-register:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-register span,
.btn-register i {
    color: var(--text-primary) !important;
}

.btn-login {
    border: 2px solid var(--text-primary) !important;
    border-radius: 20px !important;
    padding: 6px 16px !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
}

.btn-login:hover {
    background-color: var(--text-primary) !important;
    color: var(--dark) !important;
}

.btn-login:hover span,
.btn-login:hover i {
    color: var(--dark) !important;
}

.btn-login span,
.btn-login i {
    color: var(--text-primary) !important;
}

.nav-toggle {
    display: none;
    width: 30px;
    height: 30px;
    flex-direction: column;
    justify-content: space-around;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* ========== MAIN CONTENT ========== */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.page-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color: var(--text-primary) !important;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

/* ========== HOME PAGE STYLES ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    padding-top: 10px;
    min-height: 100vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('./img/bg.png'),
        url('img/bg.png'),
        url('../img/bg.png'),
        url('/img/bg.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 15, 26, 0.3) 0%, rgba(10, 10, 20, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(10vh - 14px);
    padding-top: 40px;
}

.logo-container .main-logo {
    /* tamanho base */
    width: 700px;   
    height: auto;

    /* remove qualquer “neon” antigo e já traz seu hover setup */
    filter: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.logo-container .main-logo:hover {
    transform: scale(1.1);
    filter: brightness(1.1) drop-shadow(0 8px 15px rgba(0,0,0,0.2));
    opacity: 0.95;
}



.main-logo {
    max-width: 600px;
    width: 95%;
    height: auto;
    filter: drop-shadow(0 0 25px rgba(220, 53, 69, 0.6)) drop-shadow(0 0 50px rgba(220, 53, 69, 0.3));
    position: relative;
    z-index: 10;
    max-height: 300px;
    object-fit: contain;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(220, 53, 69, 0.6), 0 0 40px rgba(220, 53, 69, 0.4);
    background: linear-gradient(45deg, #ffffff, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
    color: var(--text-primary) !important;
}

@supports not (-webkit-background-clip: text) {
    .hero-title {
        background: none !important;
        color: var(--text-primary) !important;
        -webkit-text-fill-color: var(--text-primary) !important;
    }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    margin-bottom: 0px;
    padding-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-primary) !important;
    border: 2px solid var(--text-primary);
}

.btn-outline-light:hover {
    background-color: var(--text-primary);
    color: var(--primary-dark) !important;
}

.btn-light {
    background-color: var(--text-primary);
    color: var(--primary-dark) !important;
}

.btn-light:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* Garantir cores dos botões */
.btn *, .btn span, .btn i {
    color: inherit !important;
}

.server-status {
    padding: 60px 0;
    background: rgba(30, 30, 45, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.status-card {
    background: rgba(220, 53, 69, 0.1);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.status-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.status-icon.online {
    background-color: rgba(40, 167, 69, 0.2);
    color: var(--success) !important;
    border: 2px solid var(--success);
}

.status-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary) !important;
    min-width: 50px;
}

.status-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary) !important;
}

.status-details p {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--text-primary) !important;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(220, 53, 69, 0.5);
}

.news-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img img {
    transform: scale(1.1);
}

.news-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    z-index: 10;
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-primary) !important;
}

.news-title a {
    color: var(--text-primary) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--primary) !important;
}

.news-excerpt {
    color: var(--text-secondary) !important;
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.news-author {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-link {
    color: var(--primary) !important;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--secondary) !important;
    transform: translateX(5px);
}

.features {
    background: linear-gradient(135deg, rgba(30, 30, 45, 0.9) 0%, rgba(20, 20, 35, 0.9) 100%);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(25, 25, 40, 0.8);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 150%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(220, 53, 69, 0.5);
}

.feature-card:hover::before {
    opacity: 0.1;
}

.feature-card > * {
    position: relative;
    z-index: 2;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white !important;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary) !important;
}

.feature-desc {
    color: var(--text-secondary) !important;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-primary) !important;
}

.cta-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6;
}

.footer {
    background: linear-gradient(135deg, rgba(10, 10, 25, 0.95) 0%, rgba(5, 5, 15, 0.95) 100%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--text-primary) !important;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.footer-col p {
    color: var(--text-secondary) !important;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white !important;
    font-size: 1.1rem;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.4);
}

.server-info {
    font-size: 0.9rem;
}

.info-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-item strong {
    color: var(--text-primary) !important;
}

.status-online {
    color: var(--success) !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-muted) !important;
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    color: var(--text-secondary) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: var(--primary) !important;
}

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

.welcome-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 30px;
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.welcome-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary) !important;
}

.welcome-content p {
    font-size: 1.1rem;
    color: var(--text-secondary) !important;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== RANKING PAGE STYLES ========== */
.ranking-filters {
    background: rgba(30, 30, 45, 0.8);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
    color: var(--text-primary) !important;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.5);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-color: var(--primary);
    color: white !important;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.filter-options {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-options select {
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary) !important;
    padding: 10px 15px;
    border-radius: 8px;
    font-family: inherit;
    cursor: pointer;
}

.filter-options select:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 15px;
    color: var(--text-muted) !important;
    z-index: 10;
}

.search-box

.dl-btn {
  display: inline-block;
  /* poderia centralizar com flex no pai, mas mantive simples */
}

.dl-icon {
  font-size: 1.3rem;    /* aumenta o ícone */
  margin-right: 0.4rem; /* espaço entre ícone e texto */
}
