/*
====================
Home: Front Page Styles
====================
*/

/* ===================================
   PR Banner Section
   =================================== */

.pr-banner-section {
    background: transparent;
    padding: 24px 0;
    margin-bottom: 24px;
}

.pr-banner-placeholder {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    padding: 80px 40px;
    text-align: center;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pr-banner-placeholder p {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ===================================
   Hero Carousel
   =================================== */

.hero-carousel-section {
    margin-bottom: 0;
    padding: 16px 0;
}

.hero-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    height: 380px;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.hero-slide-item.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 40px;
    max-width: 600px;
    z-index: 2;
}

.hero-slide-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-block;
    padding: 4px 14px;
    background: var(--color-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
}

.hero-slide-title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-slide-excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin-bottom: 16px;
}

.hero-slide-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(93.83deg, #007E9A 0.04%, #2A60CD 19.04%, #0046D3 45.04%, #003BAE 73.04%, #00205F 100.04%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 70, 211, 0.3);
}

.hero-slide-btn:hover {
    background: linear-gradient(93.83deg, #009ABB 0.04%, #3A70DD 19.04%, #0056E3 45.04%, #004BBE 73.04%, #00306F 100.04%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 70, 211, 0.4);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
    border-radius: 50%;
}

.hero-nav:hover {
    background: rgba(0,0,0,0.8);
}

.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }

.hero-indicators {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hero-indicator.active {
    background: #fff;
}

/* ===================================
   Pickup Banners
   =================================== */

.pickup-banner-section {
    padding: 20px 0;
    margin-bottom: 8px;
}

.pickup-banners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pickup-banner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pickup-banner-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    text-decoration: none;
    color: #fff;
}

.pickup-banner-item i {
    font-size: 28px;
    flex-shrink: 0;
}

.pickup-banner-blue { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.pickup-banner-red { background: linear-gradient(135deg, #991b1b, #dc2626); }
.pickup-banner-purple { background: linear-gradient(135deg, #5b21b6, #8b5cf6); }
.pickup-banner-green { background: linear-gradient(135deg, #065f46, #10b981); }

.pickup-banner-text {
    display: flex;
    flex-direction: column;
}

.pickup-banner-label {
    font-size: 11px;
    opacity: 0.85;
    font-weight: 500;
}

.pickup-banner-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

/* ===================================
   Tabbed News Section
   =================================== */

.tabbed-news-section {
    padding: 24px 0 16px;
    margin-bottom: 16px;
}

.section-header-with-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header-with-tabs .section-title-gw {
    margin-bottom: 0;
}

.section-title-gw i {
    margin-right: 8px;
    color: var(--color-primary);
}

.news-category-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.news-category-tabs::-webkit-scrollbar {
    display: none;
}

.news-cat-tab {
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #d1d5db;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s;
}

.news-cat-tab.active {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.news-cat-tab:hover:not(.active) {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.news-tab-content {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.news-tab-content::-webkit-scrollbar {
    height: 5px;
}

.news-tab-content::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}

.news-list-item {
    flex: 0 0 240px;
    background: rgba(34, 34, 34, 0.6);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.news-list-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.news-list-item.hidden {
    display: none;
}

.news-list-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.news-list-thumb {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.news-list-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.news-list-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    border-radius: 2px;
}

.news-list-date {
    font-size: 12px;
    color: #9ca3af;
}

.news-list-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.section-more-link {
    text-align: center;
    padding: 16px;
}

.section-more-link a {
    display: inline-block;
    padding: 10px 32px;
    background: #00BBFF;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: 2px solid #00BBFF;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.section-more-link a:hover {
    background: #00BBFF;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    background-clip: unset;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 187, 255, 0.3);
}

.section-more-link a i {
    margin-left: 4px;
    font-size: 12px;
}

/* ===================================
   Home Container - 3 Column Layout
   =================================== */

.home-container-gw {
    display: grid;
    grid-template-columns: 240px 1fr 336px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px 40px;
}

/* Left Sidebar */
.home-sidebar-left {
    position: sticky;
    top: 80px;
    align-self: start;
}

.home-sidebar-left .sidebar-widget-gw {
    margin-bottom: 16px;
    padding: 0;
    overflow: hidden;
}

.widget-title-gw {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 14px;
    margin: 0;
    background: var(--gradient-primary);
    color: #fff;
}

.sidebar-nav-gw {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav-gw li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-nav-gw li:last-child {
    border-bottom: none;
}

.sidebar-nav-gw li a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.15s ease;
    line-height: 1.4;
}

.sidebar-nav-gw li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    padding-left: 18px;
}

/* Main Content Area */
.home-main-content {
    min-width: 0;
}

/* Home Articles Section */
.home-articles-section {
    margin-bottom: 32px;
}

.home-articles-section .section-title-gw {
    margin-bottom: 16px;
}

/* ===================================
   Article Grid
   =================================== */

.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.article-card-gw {
    background: rgba(34, 34, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.article-card-gw:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.article-card-gw .article-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.article-card-gw .article-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.article-card-gw .article-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card-gw:hover .article-card-thumb img {
    transform: scale(1.03);
}

.article-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
}

.badge-news { background: var(--gradient-primary); }
.badge-release { background: #e53935; }
.badge-update { background: #1e88e5; }
.badge-event { background: #f9a825; color: #111; }
.badge-record { background: #d97706; }
.badge-feature { background: #7b1fa2; }
.badge-upcoming { background: #00897b; }

.article-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    font-size: 13px;
    color: var(--color-text-lighter);
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: auto;
}

.hashtag {
    font-size: 11px;
    color: var(--color-primary-light);
    background: rgba(65, 105, 225, 0.1);
    padding: 2px 8px;
    border-radius: 3px;
}

/* ===================================
   Ranking Section (GW)
   =================================== */

.ranking-section-gw {
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section-title-gw {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
    padding-left: 12px;
    border-left: 4px solid var(--color-primary);
}

.section-subtitle-gw {
    font-size: 13px;
    color: var(--color-text-lighter);
    margin-bottom: 20px;
    padding-left: 16px;
}

.platform-tabs-gw {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.platform-tabs-gw::-webkit-scrollbar {
    display: none;
}

.platform-tab-gw {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.platform-tab-gw:hover {
    border-color: var(--color-primary-light);
    color: #fff;
}

.platform-tab-gw.active {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.ranking-list-gw {
    transition: opacity 0.2s ease;
}

.no-ranking-data {
    text-align: center;
    padding: 32px 16px;
    color: var(--color-text-light);
    font-size: 14px;
}

.ranking-item-gw {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s ease;
}

.ranking-item-gw:last-child {
    border-bottom: none;
}

.ranking-item-gw:hover {
    background: rgba(255, 255, 255, 0.03);
}

.rank-number-gw {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.rank-number-gw.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #111; }
.rank-number-gw.rank-2 { background: linear-gradient(135deg, #C0C0C0, #A8A8A8); color: #111; }
.rank-number-gw.rank-3 { background: linear-gradient(135deg, #CD7F32, #B87333); color: #fff; }

.ranking-item-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
}

.ranking-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-item-content {
    flex: 1;
    min-width: 0;
}

.ranking-item-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 4px;
}

.ranking-item-title a {
    color: #fff;
    text-decoration: none;
}

.ranking-item-title a:hover {
    color: var(--color-link);
}

.ranking-item-excerpt {
    font-size: 12px;
    color: var(--color-text-lighter);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================================
   Right Sidebar
   =================================== */

.home-sidebar-right {
    position: sticky;
    top: 80px;
    align-self: start;
}

.sidebar-widget-gw {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    margin-bottom: 20px;
}

.widget-title-gw-small {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-primary);
    color: #fff;
}

/* Game Icon Grid */
.game-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.game-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.game-icon-item:hover {
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.game-icon-item img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.game-icon-name {
    font-size: 10px;
    color: var(--color-text-light);
    text-align: center;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.more-link-gw {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.more-link-gw a {
    font-size: 13px;
    color: var(--color-link);
    text-decoration: none;
    font-weight: 500;
}

.more-link-gw a:hover {
    text-decoration: underline;
}

/* Discord Widget */
.discord-widget .discord-content {
    text-align: center;
}

.discord-widget .discord-content img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.discord-link {
    display: inline-block;
    padding: 8px 20px;
    background: #5865F2;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.discord-link:hover {
    opacity: 0.9;
    text-decoration: none;
    color: #fff;
}

.discord-desc {
    font-size: 12px;
    color: #d1d5db;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Community List */
.community-list-gw {
    list-style: none;
    padding: 0;
    margin: 0;
}

.community-list-gw li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.community-list-gw li:last-child {
    border-bottom: none;
}

.community-list-gw li a {
    display: block;
    padding: 10px 0;
    text-decoration: none;
    transition: opacity 0.15s;
}

.community-list-gw li a:hover {
    opacity: 0.8;
    text-decoration: none;
}

.community-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.community-count {
    display: block;
    font-size: 12px;
    color: var(--color-text-lighter);
}

/* ===================================
   Sale Section
   =================================== */

.sale-section {
    margin-bottom: 32px;
}

.sale-games-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.sale-games-scroll::-webkit-scrollbar {
    height: 4px;
}

.sale-games-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.sale-game-card {
    flex: 0 0 200px;
    text-decoration: none;
    color: inherit;
    background: rgba(34,34,34,0.6);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sale-game-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    text-decoration: none;
    color: inherit;
}

.sale-game-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.sale-game-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 2px;
}

.sale-game-info {
    padding: 10px 12px;
}

.sale-game-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.4;
}

.sale-price-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sale-end-date {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

/* ===================================
   Genre Showcase Section
   =================================== */

.genre-showcase-section {
    margin-bottom: 32px;
}

.genre-showcase-block {
    margin-bottom: 20px;
}

.genre-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.genre-showcase-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.genre-showcase-title i {
    margin-right: 8px;
}

.genre-more-link {
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
}

.genre-more-link:hover {
    text-decoration: underline;
}

.genre-games-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.genre-games-scroll::-webkit-scrollbar {
    display: none;
}

.genre-game-card {
    flex: 0 0 160px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.genre-game-card:hover {
    text-decoration: none;
    color: inherit;
}

.genre-game-thumb {
    width: 100%;
    padding-top: 60%;
    position: relative;
    overflow: hidden;
    background: rgba(0,0,0,0.3);
}

.genre-game-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.genre-game-title {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-top: 6px;
    line-height: 1.4;
}

/* ===================================
   Upcoming Games Section
   =================================== */

.upcoming-games-section {
    margin-bottom: 32px;
}

.upcoming-games-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(34,34,34,0.6);
    overflow: hidden;
}

.upcoming-game-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
    background: rgba(34,34,34,0.8);
    transition: background 0.15s;
}

.upcoming-game-item:hover {
    background: rgba(65, 105, 225, 0.1);
    text-decoration: none;
    color: inherit;
}

.upcoming-game-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.upcoming-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upcoming-game-info {
    flex: 1;
    min-width: 0;
}

.upcoming-game-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.upcoming-game-date {
    font-size: 12px;
    color: #9ca3af;
    display: block;
    margin-bottom: 6px;
}

.upcoming-game-date i {
    margin-right: 4px;
}

.upcoming-game-platforms {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===================================
   Columns Section (Home)
   =================================== */

.columns-section {
    margin-bottom: 32px;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.columns-section .column-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(34,34,34,0.6);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.columns-section .column-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    text-decoration: none;
    color: inherit;
}

.column-card-thumb {
    position: relative;
    padding-top: 56.25%;
    overflow: hidden;
}

.column-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-type-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 3px 10px;
    background: rgba(0,0,0,0.7);
    color: #60a5fa;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
}

.column-card-body {
    padding: 12px;
}

.columns-section .column-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.5;
}

.columns-section .column-card-excerpt {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.5;
    margin: 0;
}

/* ===================================
   Sidebar CTA Banner
   =================================== */

.sidebar-cta-banner {
    margin-bottom: 16px;
}

.sidebar-cta-link {
    display: block;
    text-decoration: none;
}

.sidebar-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: var(--radius-md);
    text-align: center;
    transition: transform 0.2s;
}

.sidebar-cta-content:hover {
    transform: translateY(-2px);
}

.sidebar-cta-content i {
    font-size: 32px;
    color: #60a5fa;
    margin-bottom: 8px;
}

.sidebar-cta-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.sidebar-cta-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.sidebar-platform-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-platform-nav a::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    color: #9ca3af;
}

/* ===================================
   Beginner Guide Banner
   =================================== */

.beginner-guide-banner {
    margin-bottom: 24px;
}

.guide-banner-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.guide-banner-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, #1e3a5f, #2563eb);
    border-radius: var(--radius-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

.guide-banner-inner:hover {
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.guide-banner-icon {
    font-size: 36px;
    color: #60a5fa;
    flex-shrink: 0;
}

.guide-banner-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.guide-banner-text p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.guide-banner-arrow {
    margin-left: auto;
    font-size: 20px;
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

/* ===================================
   Events Widget (Sidebar)
   =================================== */

.events-list-sidebar {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-item-sidebar {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.event-item-sidebar-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.event-item-sidebar-link:hover {
    opacity: 0.8;
}

.event-item-sidebar:last-child {
    border-bottom: none;
}

.no-events-message {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    padding: 10px 0;
}

.event-date-badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}

.event-info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.event-name-sidebar {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
}

.event-status {
    font-size: 11px;
    font-weight: 600;
}

.event-status.online { color: #10b981; }
.event-status.offline { color: #f59e0b; }

/* ===================================
   Streamer List (Sidebar)
   =================================== */

.streamer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.streamer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.streamer-item:last-child {
    border-bottom: none;
}

.streamer-avatar {
    position: relative;
    flex-shrink: 0;
}

.streamer-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    bottom: -2px;
    right: -4px;
    padding: 1px 5px;
    background: #dc2626;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 3px;
}

.streamer-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.streamer-name {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}

.streamer-game {
    font-size: 11px;
    color: #9ca3af;
}

/* ===================================
   Sidebar PR Banner
   =================================== */

.sidebar-pr-banner {
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.2);
    padding: 40px 16px;
    text-align: center;
}

.sidebar-pr-banner p {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
    margin: 0;
}

/* ===================================
   Latest Horizontal Scroll
   =================================== */

.latest-horizontal-section {
    margin-bottom: 32px;
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.horizontal-card {
    flex: 0 0 300px;
    background: rgba(34, 34, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.horizontal-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.horizontal-card-thumb {
    position: relative;
    padding-top: 56.25%;
    background: rgba(0, 0, 0, 0.3);
}

.horizontal-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.horizontal-card-body {
    padding: 12px;
}

.horizontal-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===================================
   Responsive - Home
   =================================== */

@media screen and (max-width: 1200px) {
    .home-container-gw {
        grid-template-columns: 200px 1fr 280px;
        gap: 16px;
    }

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

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

    .hero-carousel-wrapper {
        height: 320px;
    }

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

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

@media screen and (max-width: 1024px) {
    .home-container-gw {
        grid-template-columns: 1fr 280px;
    }

    .home-sidebar-left {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .home-container-gw {
        grid-template-columns: 1fr;
    }

    .home-sidebar-left,
    .home-sidebar-right {
        position: static;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-carousel-wrapper {
        height: 280px;
    }

    .hero-slide-title {
        font-size: 20px;
    }

    .hero-slide-content {
        padding: 24px;
    }

    .pickup-banners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .pickup-banner-item {
        padding: 12px;
    }

    .pickup-banner-item i {
        font-size: 22px;
    }

    .pickup-banner-title {
        font-size: 13px;
    }

    .section-header-with-tabs {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-category-tabs {
        overflow-x: auto;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    /* News: card to list layout */
    .news-tab-content {
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow-x: visible;
        background: rgba(34, 34, 34, 0.6);
        padding-bottom: 0;
    }

    .news-list-item {
        flex: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        background: transparent;
    }

    .news-list-item:last-child {
        border-bottom: none;
    }

    .news-list-item:hover {
        transform: none;
        box-shadow: none;
        background: rgba(65, 105, 225, 0.08);
    }

    .news-list-link {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
    }

    .news-list-thumb {
        width: 80px;
        height: 48px;
        padding-top: 0;
        position: relative;
        flex-shrink: 0;
    }

    .news-list-thumb img {
        position: static;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .news-list-body {
        padding: 0;
    }

    .news-list-item:nth-child(n+6) {
        display: none;
    }

    .news-list-title {
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        white-space: normal;
        font-size: 12px;
    }

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

@media screen and (max-width: 768px) {
    .home-container-gw {
        grid-template-columns: 1fr;
    }

    .home-sidebar-right {
        display: none;
    }

    .article-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .ranking-list-gw {
        display: grid;
        grid-template-rows: repeat(5, auto);
        grid-auto-flow: column;
        grid-auto-columns: 85%;
        gap: 0 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 8px;
    }

    .ranking-list-gw::-webkit-scrollbar {
        display: none;
    }

    .ranking-item-gw {
        height: 100%;
    }

    .ranking-item-gw:nth-child(5n) {
        border-bottom: none;
    }
}

@media screen and (max-width: 480px) {
    .article-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .article-card-gw {
        position: relative;
    }

    .article-card-gw .article-card-thumb {
        padding-top: 75%;
    }

    .article-card-gw .article-card-body {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 8px 4px 4px;
        background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.95) 100%);
        z-index: 2;
    }

    .article-card-gw .article-card-title {
        font-size: 12px;
        line-height: 1.4;
        margin: 0;
        color: #ffffff;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .article-badge {
        top: 4px;
        left: 4px;
        padding: 2px 6px;
        font-size: 9px;
        z-index: 3;
    }

    .article-card-gw .article-card-excerpt,
    .article-card-gw .article-hashtags {
        display: none;
    }

    .ranking-section-gw {
        padding: 4px;
    }

    .article-card-title {
        font-size: 14px;
    }

    .article-card-excerpt {
        display: none;
    }

    .hero-carousel-section .container {
        padding: 0;
    }

    .hero-carousel-wrapper {
        height: 240px;
        border-radius: 0;
    }

    .hero-slide-title {
        font-size: 17px;
    }

    .hero-slide-excerpt {
        display: none;
    }

    .hero-slide-content {
        padding: 16px;
    }

    .hero-nav {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .pickup-banners-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pickup-banner-item {
        padding: 10px;
        gap: 8px;
    }

    .pickup-banner-item i {
        font-size: 20px;
    }

    .pickup-banner-title {
        font-size: 12px;
    }

    .pickup-banner-label {
        font-size: 10px;
    }

    .news-cat-tab {
        padding: 5px 12px;
        font-size: 12px;
    }

    .news-list-link {
        padding: 10px 12px;
    }

    .news-list-title {
        font-size: 12px;
    }

    .guide-banner-inner {
        padding: 14px 16px;
    }

    .guide-banner-icon {
        font-size: 28px;
    }

    .guide-banner-text h3 {
        font-size: 14px;
    }

    .sale-game-card {
        flex: 0 0 160px;
    }

    .genre-game-card {
        flex: 0 0 130px;
    }

    .horizontal-card {
        flex: 0 0 240px;
    }

    .horizontal-scroll-wrapper {
        gap: 12px;
    }

    .horizontal-card-title {
        font-size: 12px;
        padding: 2px;
    }

    .horizontal-card-body {
        padding: 2px;
    }
}