/* style/player-community-leaderboards.css */

/* Biến CSS */
:root {
    --primary-color: #1A1A2E;
    --secondary-color: #FFD700;
    --text-light: #E0E0E0;
    --text-dark: #1A1A2E;
    --background-dark: #1A1A2E;
    --background-light: #F8F8F8;
    --border-color: #333;
    --table-header-bg: #2A2A3E;
    --table-row-even-bg: #202030;
    --table-row-odd-bg: #1A1A2E;
}

/* Base styles for the specific page content */
.page-player-community-leaderboards {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
}

.page-player-community-leaderboards__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-player-community-leaderboards__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a3a52 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-color);
}

.page-player-community-leaderboards__title {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-player-community-leaderboards__description {
    font-size: 1.2em;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-player-community-leaderboards__hero-image {
    max-width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-player-community-leaderboards__section {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-player-community-leaderboards__section--dark-bg {
    background-color: #0F0F1A;
    color: var(--text-light);
}

.page-player-community-leaderboards__subtitle {
    font-size: 2.8em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-player-community-leaderboards__text-content {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

/* Leaderboard Categories */
.page-player-community-leaderboards__leaderboard-category {
    background-color: var(--primary-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-player-community-leaderboards__category-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-player-community-leaderboards__category-description {
    font-size: 1.05em;
    color: var(--text-light);
    margin-bottom: 30px;
    text-align: justify;
}

/* Leaderboard Tables */
.page-player-community-leaderboards__leaderboard-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.page-player-community-leaderboards__leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    background-color: var(--table-row-odd-bg);
    border-radius: 8px;
    overflow: hidden;
}

.page-player-community-leaderboards__leaderboard-table th,
.page-player-community-leaderboards__leaderboard-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.page-player-community-leaderboards__leaderboard-table th {
    background-color: var(--table-header-bg);
    color: var(--secondary-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
}

.page-player-community-leaderboards__leaderboard-table tbody tr:nth-child(even) {
    background-color: var(--table-row-even-bg);
}

.page-player-community-leaderboards__leaderboard-table tbody tr:hover {
    background-color: #33334A;
    transition: background-color 0.3s ease;
}

.page-player-community-leaderboards__leaderboard-table td {
    color: var(--text-light);
    font-size: 1em;
}

/* Leaderboard Images */
.page-player-community-leaderboards__leaderboard-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-player-community-leaderboards__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    text-align: center;
}

.page-player-community-leaderboards__btn--primary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--secondary-color);
}

.page-player-community-leaderboards__btn--primary:hover {
    background-color: #E6C200;
    border-color: #E6C200;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-player-community-leaderboards__btn--secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-player-community-leaderboards__btn--secondary:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section */
.page-player-community-leaderboards__cta-section {
    text-align: center;
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.page-player-community-leaderboards__cta-section .page-player-community-leaderboards__subtitle {
    color: var(--secondary-color);
}

.page-player-community-leaderboards__checklist {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 800px;
    text-align: left;
}

.page-player-community-leaderboards__checklist li {
    background-color: #2A2A3E;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-size: 1.1em;
}

.page-player-community-leaderboards__checklist li::before {
    content: '✅';
    margin-right: 15px;
    font-size: 1.2em;
    line-height: 1;
    color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-player-community-leaderboards__title {
        font-size: 2.8em;
    }
    .page-player-community-leaderboards__subtitle {
        font-size: 2.2em;
    }
    .page-player-community-leaderboards__category-title {
        font-size: 1.8em;
    }
    .page-player-community-leaderboards__hero {
        padding: 60px 0;
    }
    .page-player-community-leaderboards__section {
        padding: 40px 0;
    }
    .page-player-community-leaderboards__leaderboard-category {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-player-community-leaderboards__title {
        font-size: 2.2em;
    }
    .page-player-community-leaderboards__description {
        font-size: 1em;
    }
    .page-player-community-leaderboards__subtitle {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-player-community-leaderboards__category-title {
        font-size: 1.6em;
    }
    .page-player-community-leaderboards__leaderboard-table th,
    .page-player-community-leaderboards__leaderboard-table td {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    .page-player-community-leaderboards__btn {
        padding: 10px 20px;
        font-size: 1em;
        margin: 5px;
    }
    .page-player-community-leaderboards__checklist li {
        font-size: 1em;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .page-player-community-leaderboards__title {
        font-size: 1.8em;
    }
    .page-player-community-leaderboards__subtitle {
        font-size: 1.5em;
    }
    .page-player-community-leaderboards__category-title {
        font-size: 1.4em;
    }
    .page-player-community-leaderboards__hero {
        padding: 40px 0;
    }
    .page-player-community-leaderboards__section {
        padding: 30px 0;
    }
    .page-player-community-leaderboards__leaderboard-category {
        padding: 15px;
    }
    .page-player-community-leaderboards__leaderboard-table th,
    .page-player-community-leaderboards__leaderboard-table td {
        font-size: 0.8em;
    }
    .page-player-community-leaderboards__btn {
        display: block;
        width: calc(100% - 20px);
        margin: 10px auto;
    }
    .page-player-community-leaderboards__checklist li {
        font-size: 0.9em;
        padding: 8px 10px;
    }
}