/* Import common header/footer styles */
@import url('index.css');

.main-content {
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.page-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-text-secondary);
    margin-bottom: 3rem;
}

.tournament-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: all 0.3s;
}

.info-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
}

.info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.info-card p {
    margin-bottom: 1rem;
    color: var(--dark-text-secondary);
    line-height: 1.8;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--dark-text-secondary);
    transition: color 0.3s;
}

.info-card:hover ul li {
    color: var(--dark-text);
}

.info-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
}

.tournament-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tournament-image-card {
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1), rgba(176, 38, 255, 0.1));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tournament-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

.tournament-image-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 243, 255, 0.4);
    transform: translateY(-5px);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 10px;
}

.tournament-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.tournament-image-card:hover .tournament-img {
    transform: scale(1.05);
}

.leaderboard-section {
    margin-top: 3rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leaderboard {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.2);
    overflow-x: auto;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.leaderboard-table thead {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.2), rgba(176, 38, 255, 0.2));
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.leaderboard-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.leaderboard-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
    color: var(--dark-text);
}

.leaderboard-table tbody tr:hover {
    background: rgba(0, 243, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.leaderboard-table tbody tr:nth-child(even) {
    background: rgba(0, 243, 255, 0.02);
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .tournament-info {
        grid-template-columns: 1fr;
    }

    .leaderboard {
        padding: 1rem;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

