/* ========================================
   토너먼트 페이지 CSS
   ======================================== */

/* 토너먼트 페이지 기본 */
.tournament-page {
    background: var(--bg-primary);
}

/* ========================================
   히어로 섹션
   ======================================== */
.tournament-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #0a0a0f 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.tournament-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse 50% 50% at center, rgba(240, 185, 11, 0.15) 0%, transparent 70%);
    animation: heroGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
    0% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-particles {
    position: absolute;
    inset: 0;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-200px) translateX(50px); opacity: 0; }
}

.tournament-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tournament-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.2) 0%, rgba(240, 185, 11, 0.05) 100%);
    border: 1px solid rgba(240, 185, 11, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.tournament-hero__badge i {
    font-size: 14px;
}

.tournament-hero__title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tournament-hero__title .gradient-text {
    background: linear-gradient(90deg, #f0b90b 0%, #fcd535 50%, #f0b90b 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

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

.tournament-hero__desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.tournament-hero__stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

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

.hero-stat__value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-primary);
}

.hero-stat__label {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* ========================================
   공지 티커
   ======================================== */
.announcement-ticker {
    background: rgba(240, 185, 11, 0.1);
    border-top: 1px solid rgba(240, 185, 11, 0.2);
    border-bottom: 1px solid rgba(240, 185, 11, 0.2);
    padding: 12px 0;
}

.announcement-ticker__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.announcement-ticker__label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.announcement-ticker__content {
    position: relative;
    flex: 1;
    overflow: hidden;
    height: 20px;
}

.announcement-ticker__item {
    position: absolute;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.announcement-ticker__item:first-child {
    opacity: 1;
}

/* ========================================
   필터 탭
   ======================================== */
.tournament-filters {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 64px;
    z-index: 100;
}

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

.filter-tabs {
    display: flex;
    gap: 8px;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    border-color: var(--color-primary);
    color: var(--text-primary);
}

.filter-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #0a0a0f;
}

.filter-sort select {
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
}

/* ========================================
   섹션 공통
   ======================================== */
.tournament-section {
    padding: 60px 0;
}

.tournament-section--featured {
    background: var(--bg-primary);
}

.tournament-section--leaderboard {
    background: var(--bg-secondary);
}

.tournament-section--upcoming {
    background: var(--bg-primary);
}

.tournament-section--rewards {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 80px 0;
}

.tournament-section--ended {
    background: var(--bg-secondary);
}

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

.section-header--center {
    flex-direction: column;
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.section-title i {
    color: var(--color-primary);
}

.section-desc {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 16px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--color-long);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.section-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 500;
    font-size: 14px;
}

.section-link:hover {
    text-decoration: underline;
}

/* ========================================
   토너먼트 카드 (메인)
   ======================================== */
.tournament-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.tournament-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all var(--transition-normal);
}

.tournament-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tournament-card--main {
    grid-column: span 2;
    padding: 32px;
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.1) 0%, transparent 50%);
    border-color: rgba(240, 185, 11, 0.3);
}

.tournament-card__badge {
    position: absolute;
    top: -12px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0a0a0f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tournament-card--main .tournament-card__badge {
    width: 56px;
    height: 56px;
    font-size: 24px;
}

.tournament-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tournament-card__type {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tournament-card__status {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.tournament-card__status--active {
    background: rgba(22, 199, 132, 0.2);
    color: var(--color-long);
}

.tournament-card__status--registration {
    background: rgba(240, 185, 11, 0.2);
    color: var(--color-primary);
}

.tournament-card__status--upcoming {
    background: rgba(100, 149, 237, 0.2);
    color: #6495ed;
}

.tournament-card__status--ended {
    background: rgba(128, 128, 128, 0.2);
    color: var(--text-tertiary);
}

.tournament-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.tournament-card--main .tournament-card__title {
    font-size: 28px;
}

.tournament-card__subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.tournament-card__prize {
    margin-bottom: 20px;
}

.prize-label {
    display: block;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.prize-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.prize-currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.prize-value {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--color-primary);
}

.tournament-card--main .prize-value {
    font-size: 48px;
}

.prize-unit {
    font-size: 14px;
    color: var(--text-tertiary);
    margin-left: 4px;
}

/* 보상 티어 */
.tournament-card__rewards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
}

.reward-tier {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
}

.reward-tier--1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.reward-tier--2 {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2) 0%, rgba(192, 192, 192, 0.05) 100%);
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.reward-tier--3 {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2) 0%, rgba(205, 127, 50, 0.05) 100%);
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.reward-tier__rank {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.reward-tier--1 .reward-tier__rank {
    color: #ffd700;
}

.reward-tier--1 .reward-tier__rank i {
    font-size: 16px;
}

.reward-tier__amount {
    display: block;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--text-primary);
}

/* 정보 */
.tournament-card__info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--text-tertiary);
}

/* 진행률 */
.tournament-card__progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #fcd535 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-tertiary);
}

/* 액션 버튼 */
.tournament-card__actions {
    margin-top: auto;
}

/* ========================================
   리더보드
   ======================================== */
.leaderboard-tabs {
    display: flex;
    gap: 8px;
}

.leaderboard-tab {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.leaderboard-tab:hover {
    border-color: var(--color-primary);
}

.leaderboard-tab.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #0a0a0f;
}

.leaderboard-preview {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
}

/* 포디움 */
.leaderboard-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px 0;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    border-radius: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 180px;
    position: relative;
    transition: all var(--transition-normal);
}

.podium-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.podium-item--1 {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    padding: 32px;
    width: 200px;
    order: 2;
}

.podium-item--2 {
    order: 1;
}

.podium-item--3 {
    order: 3;
}

.podium-crown {
    position: absolute;
    top: -20px;
    font-size: 32px;
    color: #ffd700;
    animation: crownBounce 2s ease-in-out infinite;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border-color);
    margin-bottom: 12px;
}

.podium-item--1 .podium-avatar {
    width: 80px;
    height: 80px;
    border-color: #ffd700;
}

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

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

.podium-name {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.podium-pnl {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-mono);
}

.podium-item--1 .podium-pnl {
    font-size: 24px;
}

.podium-rank {
    position: absolute;
    bottom: -12px;
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.podium-item--1 .podium-rank {
    background: #ffd700;
    border-color: #ffd700;
    color: #0a0a0f;
}

.podium-item--2 .podium-rank {
    background: #c0c0c0;
    border-color: #c0c0c0;
    color: #0a0a0f;
}

.podium-item--3 .podium-rank {
    background: #cd7f32;
    border-color: #cd7f32;
    color: #0a0a0f;
}

/* 리더보드 테이블 */
.leaderboard-table-wrapper {
    overflow-x: auto;
}

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

.leaderboard-table th,
.leaderboard-table td {
    padding: 14px 16px;
    text-align: left;
}

.leaderboard-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table td {
    border-bottom: 1px solid var(--border-color);
}

.leaderboard-table tr:hover td {
    background: var(--bg-secondary);
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.rank-num--top {
    background: linear-gradient(135deg, var(--color-primary) 0%, #fcd535 100%);
    color: #0a0a0f;
}

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

.trader-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.trader-name {
    font-weight: 500;
}

.leaderboard-footer {
    text-align: center;
    margin-top: 24px;
}

/* ========================================
   토너먼트 리스트
   ======================================== */
.tournament-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tournament-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.tournament-list-item:hover {
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.tournament-list-item__badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #0a0a0f;
    flex-shrink: 0;
}

.tournament-list-item__info {
    flex: 1;
}

.tournament-list-item__meta {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
}

.type-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
}

.status-badge--upcoming {
    background: rgba(100, 149, 237, 0.2);
    color: #6495ed;
}

.status-badge--registration {
    background: rgba(240, 185, 11, 0.2);
    color: var(--color-primary);
}

.status-badge--active {
    background: rgba(22, 199, 132, 0.2);
    color: var(--color-long);
}

.status-badge--ended {
    background: rgba(128, 128, 128, 0.2);
    color: var(--text-tertiary);
}

.tournament-list-item__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.tournament-list-item__subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.tournament-list-item__details {
    display: flex;
    gap: 32px;
}

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

.detail-label {
    display: block;
    font-size: 11px;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-value.prize {
    color: var(--color-primary);
}

.tournament-list-item__action {
    flex-shrink: 0;
}

/* ========================================
   보상 카드
   ======================================== */
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reward-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-normal);
}

.reward-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.reward-card--prize {
    border-color: rgba(240, 185, 11, 0.3);
}

.reward-card--badge {
    border-color: rgba(139, 92, 246, 0.3);
}

.reward-card--vip {
    border-color: rgba(22, 199, 132, 0.3);
}

.reward-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #fcd535 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #0a0a0f;
}

.reward-card--badge .reward-card__icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.reward-card--vip .reward-card__icon {
    background: linear-gradient(135deg, var(--color-long) 0%, #34d399 100%);
}

.reward-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.reward-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* 상금 예시 */
.reward-card__example {
    text-align: left;
}

.example-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.example-row:last-child {
    border-bottom: none;
}

.example-row .rank {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.example-row .rank--1 { color: #ffd700; }
.example-row .rank--2 { color: #c0c0c0; }
.example-row .rank--3 { color: #cd7f32; }

.example-row .percent {
    font-weight: 600;
    font-family: var(--font-mono);
    color: var(--color-primary);
}

/* 뱃지 */
.reward-card__badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: 12px;
}

.badge-item i {
    font-size: 24px;
}

.badge-item span {
    font-size: 12px;
    font-weight: 600;
}

.badge-item--gold { color: #ffd700; }
.badge-item--silver { color: #c0c0c0; }
.badge-item--bronze { color: #cd7f32; }
.badge-item--special { color: #ff6b6b; }

/* VIP 혜택 */
.reward-card__list {
    text-align: left;
    list-style: none;
}

.reward-card__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.reward-card__list li:last-child {
    border-bottom: none;
}

.reward-card__list i {
    color: var(--color-long);
}

/* ========================================
   종료된 대회
   ======================================== */
.ended-tournaments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.ended-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all var(--transition-fast);
}

.ended-card:hover {
    border-color: var(--text-tertiary);
}

.ended-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ended-date {
    font-size: 11px;
    color: var(--text-tertiary);
}

.ended-card__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.ended-card__stats {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.ended-card__stats .stat {
    flex: 1;
}

.ended-card__stats .stat-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-mono);
}

.ended-card__stats .stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
}

.ended-card__link {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.ended-card__link:hover {
    color: var(--color-primary);
}

/* ========================================
   CTA 섹션
   ======================================== */
.tournament-cta {
    background: linear-gradient(135deg, rgba(240, 185, 11, 0.15) 0%, transparent 50%);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.cta-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ========================================
   애니메이션
   ======================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   반응형
   ======================================== */
@media (max-width: 1200px) {
    .tournament-featured-grid {
        grid-template-columns: 1fr;
    }

    .tournament-card--main {
        grid-column: span 1;
    }

    .rewards-grid {
        grid-template-columns: 1fr;
    }

    .ended-tournaments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .tournament-hero {
        padding: 80px 0 60px;
    }

    .tournament-hero__title {
        font-size: 36px;
    }

    .tournament-hero__stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-stat {
        flex: 0 0 45%;
    }

    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .filter-tab {
        padding: 8px 14px;
        font-size: 13px;
        white-space: nowrap;
    }

    .leaderboard-podium {
        flex-wrap: wrap;
    }

    .podium-item {
        width: 140px;
    }

    .podium-item--1 {
        width: 160px;
        order: 0;
        flex-basis: 100%;
    }

    .tournament-list-item {
        flex-wrap: wrap;
    }

    .tournament-list-item__details {
        flex-basis: 100%;
        justify-content: space-between;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
    }

    .tournament-list-item__action {
        flex-basis: 100%;
        margin-top: 12px;
    }

    .tournament-list-item__action .btn {
        width: 100%;
    }

    .ended-tournaments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}
