/* CNY Landing Page Styles */
:root {
    --cny-red: #e60012;
    --cny-gold: #ffd700;
    --text-light: #ffffff;
    --text-gray: #999999;
}

/* Hero Banner */
.hero-banner {
    height: 600px;
    background: var(--cny-red);
    background-image: url("../images/grid-pattern.png")/*tpa=http://www.suddensiege.com/assets/images/grid-pattern.png*/;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.mascot {
    position: absolute;
}

.banner-text {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
}

.banner-text h1 {
    font-size: 64px;
    color: var(--cny-gold);
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.year-text {
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(to bottom, var(--cny-gold), #ff9933);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 36px;
    color: var(--cny-gold);
    margin-top: 10px;
}

/* Download Section */
.download-section {
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.download-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 10px;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.download-title {
    display: block;
    background: linear-gradient(180deg, #ffb700 0%, #ff8a00 100%);
    padding: 30px 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.download-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../images/honeycomb.svg")/*tpa=http://www.suddensiege.com/assets/images/honeycomb.svg*/ center/30px repeat;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.download-title:hover::before {
    opacity: 0.25;
}

.download-title:hover {
    background: linear-gradient(180deg, #ffc124, #ff9824);
}

.download-title h2 {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.download-title .en-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: url("../images/auth-bg.jpg")/*tpa=http://www.suddensiege.com/assets/images/auth-bg.jpg*/ no-repeat center/cover;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.btn-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    color: #ffb700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    gap: 8px;
    background: transparent;
}

.btn-download:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download .icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 1.5;
}

.btn-download span {
    font-size: 16px;
    font-weight: bold;
}

.btn-download:hover {
    background: rgba(0, 0, 0, 0.3);
}

.event-banner {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
}

.event-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.event-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.event-text h2 {
    font-size: 48px;
    color: #fff;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.event-text h3 {
    font-size: 24px;
    color: var(--cny-gold);
    margin: 10px 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    z-index: 3;
    transition: background-color 0.3s;
}

.slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-arrow i {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--cny-gold);
    transform: scale(1.2);
}

.quick-links {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
}

.quick-link {
    background: rgba(230, 0, 18, 0.9);
    border-radius: 5px;
    padding: 15px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s;
}

.quick-link:hover {
    background: var(--cny-red);
}

.quick-link img {
    width: 24px;
    height: 24px;
}

/* Quick Access Section */
.quick-access {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

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

.section-header h2 {
    color: var(--cny-gold);
    margin: 0;
}

.tabs {
    display: flex;
    gap: 20px;
}

.tab {
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.tab.active {
    color: var(--cny-gold);
}

.tab.more {
    color: var(--text-gray);
}

.quick-grid {
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
    position: relative;
    height: fit-content;
}

.quick-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.quick-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.quick-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 183, 0, 0.1), rgba(255, 138, 0, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-icon:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 183, 0, 0.2);
}

.quick-icon:hover::before {
    opacity: 1;
}

.quick-icon i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    color: var(--cny-gold);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.quick-icon:hover i {
    transform: scale(1.1);
}

.quick-icon span {
    font-size: 12px;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.news-tag {
    background: var(--cny-red);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
}

.news-item a {
    color: var(--text-light);
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item .date {
    color: var(--text-gray);
    font-size: 12px;
    margin-left: 10px;
}

.game-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 15px 0 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: linear-gradient(145deg, rgba(255, 183, 0, 0.05), rgba(255, 138, 0, 0.05));
    border-color: rgba(255, 183, 0, 0.2);
    transform: translateY(-2px);
}

.stat-item i {
    width: 24px;
    height: 24px;
    stroke-width: 1.5;
    color: var(--cny-gold);
}

.stat-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.stat-value {
    font-size: 16px;
    color: var(--cny-gold);
    font-weight: 600;
    font-family: 'Consolas', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat i {
    width: 16px;
    height: 16px;
    color: var(--cny-gold);
}

.stat-value {
    font-family: 'Consolas', monospace;
    font-weight: 500;
}

.kd-ratio {
    padding: 2px 8px;
    background: linear-gradient(145deg, rgba(255, 183, 0, 0.1), rgba(255, 138, 0, 0.1));
    border: 1px solid rgba(255, 183, 0, 0.2);
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 12px;
}

/* Bottom Section */
.bottom-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
}

.rankings-box,
.media-box {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
}

.rankings-content img,
.media-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.media-item {
    position: relative;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: url("../images/icons/play.png")/*tpa=http://www.suddensiege.com/assets/images/icons/play.png*/ center/contain no-repeat;
}

.customer-service img {
    width: 200px;
    height: auto;
}

.version-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.version-info i {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
    color: var(--cny-gold);
}

.version-info span {
    color: rgba(255, 255, 255, 0.6);
}

.version-info strong {
    color: var(--cny-gold);
    margin-left: auto;
    font-family: 'Consolas', monospace;
    letter-spacing: 0.5px;
}

/* FPS-themed ranking styles */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    margin-top: 15px;
}

.ranking-board {
    border: 1px solid rgba(255, 183, 0, 0.1);
    border-radius: 10px;
    padding: 15px;
    backdrop-filter: blur(10px);
}

.ranking-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 183, 0, 0.1);
}

.ranking-header i {
    width: 24px;
    height: 24px;
    color: var(--cny-gold);
}

.ranking-header h3 {
    color: var(--cny-gold);
    font-size: 16px;
    margin: 0;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ranking-item {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ranking-item > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.rank-grade {
    flex-shrink: 0;
}

.rank-grade img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.player-info .player-data{
    display: flex;
    justify-content: space-between;
    gap: 5px;
}

.player-name {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.player-stats {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 6px;
    flex-shrink: 0;
}

.stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .ranking-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .player-info {
        margin: 0 10px;
    }

    .player-stats {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
        margin-top: 5px;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 1200px) {
    .download-section {
        grid-template-columns: 220px 1fr 220px;
        gap: 15px;
    }

    .quick-grid {
        width: 220px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .ranking-board {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {
    .hero-banner {
        height: 400px;
    }

    .mascot {
        width: 200px;
        left: 5%;
    }

    .banner-text {
        right: 5%;
    }

    .banner-text h1 {
        font-size: 36px;
    }

    .year-text {
        font-size: 72px;
    }

    .subtitle {
        font-size: 24px;
    }

    .download-section {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .quick-grid {
        width: 100%;
        padding: 15px;
        order: 2;
    }

    .event-banner {
        order: 1;
    }

    .download-box {
        order: 3;
    }

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

    .quick-icon {
        padding: 15px 10px;
    }

    .quick-icon i {
        width: 28px;
        height: 28px;
    }

    .quick-icon span {
        font-size: 13px;
    }

    .bottom-section {
        grid-template-columns: 1fr;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .event-banner {
        height: 300px;
    }

    .event-text h2 {
        font-size: 36px;
    }

    .event-text h3 {
        font-size: 18px;
    }

    .version-info {
        margin-top: 12px;
        padding: 8px;
    }

    .game-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 12px;
    }

    .stat-item {
        padding: 10px;
    }

    .stat-item i {
        width: 20px;
        height: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-value {
        font-size: 14px;
    }

    .ranking-item {
        padding: 10px;
    }
    
    .player-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    .rank-medal img {
        width: 28px;
        height: 28px;
    }
}


/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    align-items: center;
}

.page-item {
    margin: 0;
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.page-item.active .page-link {
    background: var(--gold);
    color: var(--dark-bg);
    border-color: var(--gold);
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.page-link.prev,
.page-link.next {
    padding: 0;
    width: 36px;
}

.page-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

@media (max-width: 768px) {
    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 14px;
    }
}