.tournament-hero { background: linear-gradient(135deg, #dc2626 0%, #7c2d12 100%); }

/* Status tabs */
.tournament-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.tournament-tab {
    padding: 8px 18px; border-radius: 999px; background: #f3f4f6; color: #374151;
    text-decoration: none; font-weight: 600; font-size: 14px; transition: background .15s ease, color .15s ease;
}
.tournament-tab:hover { background: #e5e7eb; color: #111827; }
.tournament-tab.active { background: var(--primary-color); color: #fff; }
.tournament-tab .count { opacity: .75; margin-left: 4px; }

/* Tournament cards */
.tournament-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 20px; }
.tournament-card {
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden;
    display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease;
}
.tournament-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,.09); transform: translateY(-2px); }
.tournament-card-banner {
    height: 140px; background: linear-gradient(135deg, #1f2937, #374151); position: relative;
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2.2rem;
}
.tournament-card-banner img { width: 100%; height: 100%; object-fit: cover; }
.tournament-status-badge {
    position: absolute; top: 10px; left: 10px; padding: 4px 12px; border-radius: 999px;
    font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 5px;
}
.tournament-status-badge.status-upcoming { background: #fef3c7; color: #92400e; }
.tournament-status-badge.status-ongoing { background: #dcfce7; color: #15803d; }
.tournament-status-badge.status-completed { background: #e5e7eb; color: #4b5563; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.tournament-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tournament-card-game { font-size: 12px; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: .04em; }
.tournament-card-title { font-size: 1.1rem; font-weight: 800; color: #111827; margin: 0; }
.tournament-card-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #6b7280; }
.tournament-card-meta i { width: 16px; color: #9ca3af; }
.tournament-card-teams { font-size: 13px; color: #374151; font-weight: 600; }
.tournament-card-actions { display: flex; gap: 8px; margin-top: 10px; }
.tournament-card-actions .btn { flex: 1; font-size: 13px; }

/* Detail page */
.tournament-detail-banner {
    border-radius: 20px; overflow: hidden; height: 260px; background: linear-gradient(135deg, #1f2937, #374151);
    display: flex; align-items: center; justify-content: center; color: #fff; font-size: 3.5rem; margin-bottom: 24px;
    position: relative;
}
.tournament-detail-banner img { width: 100%; height: 100%; object-fit: cover; }
.tournament-info-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 20px; margin-bottom: 16px; }
.tournament-info-card h2, .tournament-info-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.tournament-stat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.tournament-stat-list li { display: flex; justify-content: space-between; font-size: 14px; padding-bottom: 10px; border-bottom: 1px dashed #e5e7eb; }
.tournament-stat-list li:last-child { border-bottom: none; padding-bottom: 0; }
.tournament-stat-list .label { color: #6b7280; }
.tournament-stat-list .value { font-weight: 700; color: #111827; }

/* Feature grid (reused on the list-page hero, matches previous "coming soon" look) */
.tournament-feature-card { background: #fff; border: 1px solid var(--border-color); border-radius: 16px; padding: 16px; text-align: center; }
.tournament-feature-icon { width: 44px; height: 44px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-size: 18px; }

/* WhatsApp CTA */
.whatsapp-cta {
    background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 16px 18px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.whatsapp-cta .btn-whatsapp { background: #25d366; color: #fff; border: none; }
.whatsapp-cta .btn-whatsapp:hover { background: #1fb855; color: #fff; }

/* Participation form */
.participate-form-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; }
.player-row { border: 1px solid #e5e7eb; border-radius: 10px; padding: 12px; margin-bottom: 10px; background: #f9fafb; }
.player-row-label { font-size: 12px; font-weight: 700; color: #6b7280; text-transform: uppercase; margin-bottom: 8px; }

/* Registration status */
.status-checklist { list-style: none; padding: 0; margin: 0; }
.status-checklist li {
    display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid #e5e7eb; font-weight: 600; color: #6b7280;
}
.status-checklist li:last-child { border-bottom: none; }
.status-checklist .step-icon {
    width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: #f3f4f6; color: #9ca3af; font-size: 13px;
}
.status-checklist li.done { color: #111827; }
.status-checklist li.done .step-icon { background: #dcfce7; color: #16a34a; }

@media (max-width: 576px) {
    .tournament-grid { grid-template-columns: 1fr; }
    .tournament-detail-banner { height: 180px; }
}
