/**
 * Estilos do Sistema de Torneios - FynixGlobal
 */

/* Modal Principal */
.tournaments-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournaments-modal-overlay.show {
    opacity: 1;
}

.tournaments-modal {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 20px;
    width: 95%;
    max-width: 950px;
    max-height: 85vh;
    overflow: hidden;
    border: 1px solid #ffd700;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.2);
}

.tournaments-modal-header {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tournaments-modal-header h2 {
    color: #000;
    margin: 0;
    font-size: 1.5em;
    font-weight: 700;
}

.tournaments-modal-close {
    color: #000;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

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

.tournaments-modal-content {
    padding: 20px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Card de Torneio */
.tournament-card {
    background: linear-gradient(145deg, #1e2a4a, #152238);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 0 !important;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.15);
}

.tournament-card.active {
    border-color: #00d4aa;
    box-shadow: 0 0 20px rgba(0, 212, 170, 0.2);
}

.tournament-card.scheduled {
    border-color: #ffd700;
}

.tournament-header {
    padding: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(0,0,0,0.2);
}

.tournament-type-icon {
    font-size: 2em;
}

.tournament-title h3 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1.1em;
}

.tournament-status {
    font-size: 0.75em;
    padding: 3px 8px;
    border-radius: 10px;
    display: inline-block;
}

.tournament-status.scheduled {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.tournament-status.active {
    background: rgba(0, 212, 170, 0.2);
    color: #00d4aa;
}

.tournament-status.finished {
    background: rgba(150, 150, 150, 0.2);
    color: #999;
}

.tournament-body {
    padding: 15px;
}

.tournament-desc {
    color: #aaa;
    font-size: 0.85em;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.tournament-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    color: #888;
    font-size: 0.7em;
}

.info-value {
    color: #fff;
    font-size: 0.9em;
    font-weight: 600;
}

.tournament-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.2);
}

.tournament-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tournament-btn.details {
    background: transparent;
    border: 1px solid #ffd700;
    color: #ffd700;
}

.tournament-btn.details:hover {
    background: rgba(255, 215, 0, 0.1);
}

.tournament-btn.join {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: #000;
}

.tournament-btn.join:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.tournament-btn.participating {
    background: linear-gradient(90deg, #00d4aa, #00a885);
    color: #fff;
}

/* Modal de Participação */
.tournament-join-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournament-join-overlay.show {
    opacity: 1;
}

.tournament-join-modal {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    border: 1px solid #ffd700;
    overflow: hidden;
}

.tournament-join-header {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tournament-join-header h3 {
    margin: 0;
    color: #000;
    font-size: 1.2em;
}

.tournament-join-close {
    color: #000;
    font-size: 24px;
    cursor: pointer;
}

.tournament-join-body {
    padding: 20px;
}

.join-tournament-name {
    color: #ffd700;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    margin: 0 0 20px 0;
}

.join-deposit-info {
    text-align: center;
    margin-bottom: 20px;
}

.join-deposit-info p {
    color: #aaa;
    margin: 0 0 5px 0;
    font-size: 0.9em;
}

.deposit-range {
    color: #00d4aa;
    font-weight: 600;
}

.join-input-group {
    margin-bottom: 20px;
}

.join-input-group label {
    display: block;
    color: #888;
    font-size: 0.85em;
    margin-bottom: 8px;
}

.join-input-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1em;
    text-align: center;
}

.join-input-group input:focus {
    outline: none;
    border-color: #ffd700;
}

.join-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 10px;
    padding: 15px;
}

.join-warning p {
    color: #ffc107;
    margin: 0 0 10px 0;
    font-size: 0.9em;
}

.join-warning ul {
    margin: 0;
    padding-left: 20px;
}

.join-warning li {
    color: #aaa;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.tournament-join-footer {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    background: rgba(0,0,0,0.2);
}

.tournament-join-footer .btn-cancel {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid #666;
    color: #888;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.tournament-join-footer .btn-cancel:hover {
    border-color: #999;
    color: #fff;
}

.tournament-join-footer .btn-confirm {
    flex: 2;
    padding: 12px;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    border: none;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tournament-join-footer .btn-confirm:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Modal de Detalhes */
.tournament-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tournament-details-overlay.show {
    opacity: 1;
}

.tournament-details-modal {
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    max-height: 85vh;
    border: 1px solid #ffd700;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tournament-details-header {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tournament-details-header h3 {
    margin: 0;
    color: #000;
    font-size: 1.2em;
}

.tournament-details-close {
    color: #000;
    font-size: 24px;
    cursor: pointer;
}

.tournament-details-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.details-section {
    margin-bottom: 20px;
}

.details-section h4 {
    color: #ffd700;
    margin: 0 0 10px 0;
    font-size: 1em;
}

.details-section p {
    color: #aaa;
    font-size: 0.9em;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    color: #ccc;
    font-size: 0.85em;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.details-list li:last-child {
    border-bottom: none;
}

.rules-list {
    padding-left: 20px;
    margin: 0;
}

.rules-list li {
    color: #aaa;
    font-size: 0.85em;
    margin-bottom: 8px;
}

/* Ranking */
.tournament-ranking {
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    padding: 15px;
}

.tournament-ranking h4 {
    color: #ffd700;
    margin: 0 0 15px 0;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    gap: 12px;
}

.ranking-item.top-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.ranking-item.top-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.15), rgba(192, 192, 192, 0.05));
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.ranking-item.top-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.15), rgba(205, 127, 50, 0.05));
    border: 1px solid rgba(205, 127, 50, 0.2);
}

.ranking-position {
    font-size: 1.2em;
    width: 30px;
    text-align: center;
}

.ranking-name {
    color: #fff;
    font-weight: 500;
    flex: 1;
}

.ranking-score {
    color: #00d4aa;
    font-size: 0.85em;
    font-weight: 600;
}

.no-ranking {
    color: #666;
    text-align: center;
    font-size: 0.9em;
    padding: 20px;
}

.user-position {
    margin-top: 15px;
    padding: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
}

.user-position p {
    color: #00d4aa;
    margin: 0;
    font-size: 0.9em;
}

.user-position strong {
    color: #ffd700;
}

.user-position .profit-positive {
    color: #00ff88;
}

.user-position .profit-negative {
    color: #ff4757;
}

.tournament-details-footer {
    padding: 15px 20px;
    background: rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.tournament-details-footer .btn-close {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    border: none;
    color: #000;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tournament-details-footer .btn-close:hover {
    transform: scale(1.02);
}

/* Notificações */
.tournament-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 10002;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
}

.tournament-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.tournament-notification.success {
    background: linear-gradient(90deg, #00d4aa, #00a885);
    color: #fff;
}

.tournament-notification.error {
    background: linear-gradient(90deg, #ff4757, #ff3344);
    color: #fff;
}

.notification-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.notification-message {
    font-size: 0.9em;
    opacity: 0.9;
}

/* Empty state */
.tournaments-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.1em;
    grid-column: 1 / -1;
}

/* ===== TORNEIO GRÁTIS - CARD ESPECIAL ===== */
.tournament-card.free-tournament {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 100%);
    position: relative;
    overflow: visible;
}

.free-tournament-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4);
    animation: ftBadgePulse 2s infinite;
    z-index: 10;
}

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

.tournament-card.free-tournament .info-value.free-value {
    color: #ffd700;
    font-weight: bold;
}

.tournament-btn.free-join {
    background: linear-gradient(135deg, #ffd700, #ffaa00) !important;
    color: #000 !important;
    font-weight: bold;
}

.tournament-btn.free-join:hover {
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

/* Divisor ocupa linha inteira - OCULTO por padrão */
.tournaments-divider {
    display: none;
}

/* Header especial para modais do torneio grátis */
.tournament-details-header.free-header {
    background: linear-gradient(135deg, #ffd700, #ffaa00) !important;
    color: #000 !important;
}

.tournament-details-header.free-header h3 {
    color: #000 !important;
}

/* Barra de prêmios */
.free-prizes-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
}

.free-prizes-bar .prize-item {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
}

.free-prizes-bar .prize-item.gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.free-prizes-bar .prize-item.silver {
    background: linear-gradient(135deg, #c0c0c0, #a0a0a0);
    color: #000;
}

.free-prizes-bar .prize-item.bronze {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: #fff;
}

/* Barra de estatísticas */
.free-stats-bar {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px;
    color: #888;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* Ranking items especiais */
.ranking-item.my-row {
    background: rgba(255, 215, 0, 0.2) !important;
    border: 1px solid #ffd700;
}

.ranking-item .ranking-balance {
    color: #fff;
    font-weight: bold;
}

.ranking-item .ranking-profit {
    font-weight: bold;
}

.ranking-item .ranking-profit.profit-positive {
    color: #00ff88;
}

.ranking-item .ranking-profit.profit-negative {
    color: #ff4757;
}

/* Responsive - 1 coluna em telas menores */
@media (max-width: 768px) {
    .tournaments-modal-content {
        grid-template-columns: 1fr;
    }

    .tournament-info {
        grid-template-columns: 1fr 1fr;
    }

    .tournament-footer {
        flex-direction: column;
    }
}

/* =====================================================
   MEGA TOURNAMENT 30K - Banner no Topo
   ===================================================== */

.mega-tournament-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.mega-tournament-banner.active {
    border-color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.mega-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90" opacity="0.03">🏆</text></svg>');
    background-size: 150px;
    pointer-events: none;
}

.mega-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.mega-banner-left {
    flex: 1;
}

.mega-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: #1a1a2e;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.mega-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffd700;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.mega-desc {
    color: #aaa;
    font-size: 13px;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.mega-prizes {
    display: flex;
    gap: 10px;
}

.mega-prize {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
    min-width: 90px;
}

.mega-prize.gold {
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.2), rgba(255, 170, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.5);
}

.mega-prize.silver {
    background: linear-gradient(145deg, rgba(192, 192, 192, 0.2), rgba(160, 160, 160, 0.1));
    border: 1px solid rgba(192, 192, 192, 0.5);
}

.mega-prize.bronze {
    background: linear-gradient(145deg, rgba(205, 127, 50, 0.2), rgba(184, 134, 11, 0.1));
    border: 1px solid rgba(205, 127, 50, 0.5);
}

.mega-prize .prize-pos {
    font-size: 14px;
    margin-bottom: 3px;
}

.mega-prize .prize-val {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.mega-prize.gold .prize-val { color: #ffd700; }
.mega-prize.silver .prize-val { color: #c0c0c0; }
.mega-prize.bronze .prize-val { color: #cd7f32; }

.mega-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    min-width: 200px;
}

.mega-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.mega-status.active {
    background: linear-gradient(90deg, #00e676, #00c853);
    color: #fff;
    animation: pulse 2s infinite;
}

.mega-status.scheduled {
    background: #3a3a5a;
    color: #888;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
}

.mega-timer {
    color: #ffd700;
    font-size: 14px;
    font-weight: 600;
}

.mega-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: right;
}

.mega-info-item {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
}

.mega-info-item span {
    color: #888;
}

.mega-info-item strong {
    color: #fff;
}

.mega-actions {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.mega-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.mega-btn.details {
    background: #2a2a4a;
    color: #fff;
    border: 1px solid #3a3a5a;
}

.mega-btn.details:hover {
    background: #3a3a5a;
}

.mega-btn.join {
    background: linear-gradient(90deg, #ffd700, #ffaa00);
    color: #1a1a2e;
}

.mega-btn.join:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.mega-btn.ranking {
    background: linear-gradient(90deg, #00e676, #00c853);
    color: #fff;
}

.mega-btn:disabled {
    background: #3a3a5a;
    color: #666;
    cursor: not-allowed;
}

/* Grid dos torneios abaixo do banner */
.tournaments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Modal do Mega Tournament */
.tournament-details-modal.mega-modal {
    border-color: #ffd700;
}

.tournament-details-header.mega-header {
    background: linear-gradient(90deg, #ffd700 0%, #ffaa00 100%);
}

.mega-prizes-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
}

/* Responsive */
@media (max-width: 768px) {
    .mega-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mega-banner-right {
        align-items: center;
        width: 100%;
    }
    
    .mega-prizes {
        justify-content: center;
    }
    
    .mega-info {
        text-align: center;
    }
    
    .mega-info-item {
        justify-content: center;
    }
    
    .tournaments-grid {
        grid-template-columns: 1fr;
    }
}

/* FIX: Banner 30K ocupa 100% largura, fora do grid */
.mega-tournament-banner {
    width: 100% !important;
    grid-column: 1 / -1 !important;
    margin-bottom: 20px !important;
}

/* Garantir que o grid só afeta os cards abaixo */
.tournaments-modal-content {
    display: flex;
    flex-direction: column;
}

.tournaments-modal-content > .mega-tournament-banner {
    width: 100%;
}

.tournaments-modal-content > .tournaments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
}

/* FIX: Banner 30K com altura adequada */
.mega-tournament-banner {
    min-height: 120px !important;
    height: auto !important;
    padding: 15px 20px !important;
    display: flex !important;
    align-items: center !important;
}

.mega-banner-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.mega-banner-left {
    flex: 1;
    min-width: 0;
}

.mega-title {
    font-size: 20px !important;
    margin: 5px 0 !important;
    white-space: nowrap;
}

.mega-desc {
    font-size: 12px !important;
    margin: 0 0 10px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mega-prizes {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.mega-prize {
    padding: 6px 10px !important;
    min-width: 70px !important;
}

.mega-prize .prize-pos {
    font-size: 12px !important;
}

.mega-prize .prize-val {
    font-size: 12px !important;
}

.mega-banner-right {
    min-width: 180px !important;
    gap: 8px !important;
}

.mega-status {
    font-size: 11px !important;
    padding: 4px 12px !important;
}

.mega-timer {
    font-size: 12px !important;
}

.mega-info {
    display: none !important;
}

.mega-actions {
    margin-top: 8px !important;
}

.mega-btn {
    padding: 8px 15px !important;
    font-size: 11px !important;
}

.mega-badge {
    font-size: 10px !important;
    padding: 3px 10px !important;
}

/* FIX DEFINITIVO: Banner 30K completo visível */
.mega-tournament-banner {
    min-height: unset !important;
    height: auto !important;
    overflow: visible !important;
    padding: 20px !important;
}

.mega-banner-bg {
    display: none !important;
}

.mega-banner-content {
    flex-wrap: wrap !important;
}

.mega-badge {
    display: inline-block !important;
    visibility: visible !important;
}

.mega-title {
    white-space: normal !important;
    overflow: visible !important;
}

.mega-desc {
    display: block !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.mega-prizes {
    margin-top: 10px !important;
}

.mega-prize {
    display: flex !important;
    visibility: visible !important;
}

.mega-info {
    display: flex !important;
    flex-direction: column !important;
}

/* Modal com scroll se precisar */
.tournaments-modal-content {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 5px;
}
