/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #0a0a0a;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Clan Rank Section */
.clan-rank-section {
    padding: 120px 0 80px 0;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: #00ffff;
    background: linear-gradient(120deg, #00ffff 0%, #0080ff 50%, #00ffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-flow 3s ease-in-out infinite;
}

@keyframes gradient-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Top Ranks Container */
.top-ranks-container {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 60px;
}

/* Top Rank Card */
.top-rank {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 12px;
    padding: 32px 24px;
    width: 260px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.top-rank:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 255, 255, 0.6);
}

.top-rank h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #00ffff;
    text-shadow: 0 0 8px #00ffff;
}

.rank-details {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* Clan Rankings List */
.rankings-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Clan Rank Item */
.clan-rank-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px 28px;
    box-shadow: 0 4px 12px rgba(0, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.clan-rank-item:hover {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    transform: translateY(-4px);
}

.clan-rank-number {
    font-size: 1.8rem;
    font-weight: 700;
    width: 60px;
    color: #00ffff;
    text-shadow: 0 0 6px #00ffff;
}

.clan-name {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 600;
    padding-left: 20px;
    color: #e0f7f7;
}

.clan-points {
    font-size: 1.2rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-ranks-container {
        flex-direction: column;
        align-items: center;
    }

    .top-rank {
        width: 100%;
        max-width: 320px;
    }

    .rankings-list {
        gap: 16px;
    }
}
