/*
====================
Pages: Single Pages, Archives, Auth, 404
Premium Dark Theme — Glass + Gradient + Depth
====================
*/

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(65, 105, 225, 0.25);
}

.btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(65, 105, 225, 0.35);
}

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-lg { padding: 14px 24px; font-size: 16px; }

/* ===================================
   Single News Page
   =================================== */

.single-news-page {
    padding: 32px 0;
}

.single-news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.news-article-main {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.news-article-header {
    padding: 32px 32px 0;
}

.news-article-header .news-category {
    margin-bottom: 14px;
}

.news-article-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 60%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-lighter);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-article-meta i { margin-right: 4px; opacity: 0.6; }
.news-article-meta .updated-date { color: var(--color-primary-light); }
.news-author { color: var(--color-text-lighter); }

.news-article-thumbnail {
    margin: 0;
    overflow: hidden;
}

.news-article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.news-article-body {
    padding: 32px;
    line-height: 1.9;
    font-size: 15px;
}

.news-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(65, 105, 225, 0.12), transparent);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
}

.news-article-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-article-body p { margin-bottom: 18px; }
.news-article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }
.news-article-body ul, .news-article-body ol { padding-left: 24px; margin-bottom: 18px; }
.news-article-body li { margin-bottom: 6px; line-height: 1.7; }
.news-article-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 18px 24px;
    margin: 20px 0;
    background: rgba(65, 105, 225, 0.06);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--color-text-light);
}

.news-source-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    margin: 0 32px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-size: 13px;
    color: var(--color-text-lighter);
}

.news-source-info a {
    color: var(--color-link);
    font-weight: 600;
}

.news-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 32px 28px;
}

.article-tag {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    font-size: 12px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.article-tag:hover {
    border-color: rgba(65, 105, 225, 0.4);
    color: var(--color-link);
    background: rgba(65, 105, 225, 0.06);
    text-decoration: none;
}

/* Related News */
.related-news-section {
    padding: 28px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-news-section > .related-news-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--color-primary);
}

.related-news-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.related-news-item { border-radius: 10px; overflow: hidden; }

.related-news-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-news-link:hover {
    background: rgba(65, 105, 225, 0.06);
    border-color: rgba(65, 105, 225, 0.15);
    text-decoration: none;
}

.related-news-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
}

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

.related-news-content { flex: 1; min-width: 0; }
.related-news-content .related-news-title { font-size: 13px; font-weight: 600; line-height: 1.5; margin-bottom: 4px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-news-date { font-size: 11px; color: var(--color-text-lighter); }

/* News Sidebar */
.news-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-section {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* News widget list */
.news-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-widget-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.news-widget-list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    text-decoration: none;
    transition: color 0.2s;
}

.news-widget-list a:hover { text-decoration: none; }
.news-widget-list time { flex-shrink: 0; font-size: 11px; color: var(--color-text-lighter); padding-top: 2px; }
.news-widget-list span { font-size: 13px; font-weight: 500; color: var(--color-text-light); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-widget-list a:hover span { color: var(--color-link); }

/* Sidebar game list */
.sidebar-game-list { display: flex; flex-direction: column; gap: 2px; }

.sidebar-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

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

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

.rank-badge.rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 0 8px rgba(251, 191, 36, 0.3); }
.rank-badge.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rank-badge.rank-3 { background: linear-gradient(135deg, #d97706, #b45309); }

.sidebar-game-item .game-thumb {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    overflow: hidden;
}

.sidebar-game-item .game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-game-item .game-title { font-size: 13px; font-weight: 600; color: var(--color-text-light); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.sidebar-game-item:hover .game-title { color: #fff; }

.sidebar-back-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    color: var(--color-link);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s;
}

.sidebar-back-link:hover { text-decoration: underline; }
.sidebar-back-link i { margin-right: 2px; }

/* ===================================
   Single Game Page
   =================================== */

.game-single { padding: 24px 0; }

.game-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.game-content {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.8), rgba(12, 12, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    padding: 28px;
}

/* Game Header */
.game-header {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
}

.game-thumbnail {
    flex-shrink: 0;
    width: 320px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.game-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.status-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(6px);
    letter-spacing: 0.02em;
}

.status-pre_registration { background: linear-gradient(135deg, rgba(168, 85, 247, 0.85), rgba(139, 92, 246, 0.85)); }
.status-coming_soon { background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.85)); }
.status-new_release { background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.85)); }
.status-released { background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(22, 163, 74, 0.85)); }
.status-service_ended { background: rgba(100, 116, 139, 0.85); }

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

.game-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

/* Game Meta */
.game-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.meta-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
}

.meta-group i {
    color: var(--color-text-lighter);
    width: 16px;
    text-align: center;
    font-size: 12px;
}

.platform-tag,
.genre-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.platform-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--color-link);
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.platform-tag:hover {
    background: rgba(59, 130, 246, 0.2);
    color: #93bbfc;
    text-decoration: none;
}

.genre-tag {
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.genre-tag:hover {
    background: rgba(139, 92, 246, 0.2);
    color: #d4b4fc;
    text-decoration: none;
}

/* Rating Box */
.rating-box {
    display: flex;
    gap: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    margin-bottom: 20px;
}

.overall-rating {
    flex-shrink: 0;
    text-align: center;
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 90px;
}

.overall-rating .rating-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.rating-value.large {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.rating-max {
    font-size: 14px;
    color: var(--color-text-lighter);
    font-weight: 500;
}

.rating-details {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: center;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-item .rating-label {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-light);
    width: 80px;
}

.rating-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary-light), #fbbf24);
    border-radius: 3px;
    transition: width 0.6s ease;
}

.rating-item .rating-value {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: #fbbf24;
    width: 28px;
    text-align: right;
}

/* Download Links */
.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn:hover { transform: translateY(-1px); text-decoration: none; color: #fff; }

.download-btn.app-store { background: linear-gradient(135deg, #333, #000); }
.download-btn.app-store:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
.download-btn.google-play { background: linear-gradient(135deg, #34a853, #1e7e34); border-color: rgba(52, 168, 83, 0.3); }
.download-btn.google-play:hover { box-shadow: 0 4px 16px rgba(52, 168, 83, 0.3); }
.download-btn.steam { background: linear-gradient(135deg, #1b2838, #2a475e); border-color: rgba(42, 71, 94, 0.5); }
.download-btn.steam:hover { box-shadow: 0 4px 16px rgba(42, 71, 94, 0.4); }
.download-btn.official { background: var(--gradient-primary); border-color: rgba(65, 105, 225, 0.3); }
.download-btn.official:hover { box-shadow: 0 4px 16px rgba(65, 105, 225, 0.3); }
.download-btn i { font-size: 16px; }

/* User Actions */
.user-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-light);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.action-btn.favorited { color: #f43f5e; border-color: rgba(244, 63, 94, 0.3); background: rgba(244, 63, 94, 0.08); }
.action-btn.favorited i { font-weight: 900; }

/* Game Sections */
.game-section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(90deg, rgba(65, 105, 225, 0.1), transparent);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
}

.section-heading i {
    color: var(--color-primary-light);
    font-size: 16px;
}

/* Highlights */
.highlights-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(34, 197, 94, 0.04);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.highlight-item i {
    color: #4ade80;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Game Description */
.game-description { line-height: 1.9; font-size: 15px; }
.game-description p { margin-bottom: 16px; }
.game-description img { border-radius: 10px; margin: 16px 0; }

/* Trailer */
.trailer-wrapper { border-radius: 12px; overflow: hidden; }

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

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

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    display: block;
    transition: all 0.3s ease;
}

.screenshot-item:hover { transform: scale(1.02); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; }

/* Game Sidebar */
.game-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-box {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.7), rgba(12, 12, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-heading {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

/* Info List */
.info-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
}

.info-list dt {
    padding: 10px 12px 10px 0;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-lighter);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.info-list dd {
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.info-list dt:last-of-type,
.info-list dd:last-of-type { border-bottom: none; }

.original-price { text-decoration: line-through; color: var(--color-text-lighter); font-size: 12px; }
.sale-price { color: #f43f5e; font-weight: 700; }

/* Rank Display */
.rank-display {
    text-align: center;
    padding: 8px 0;
}

.rank-platform {
    font-size: 12px;
    color: var(--color-text-lighter);
    margin-bottom: 6px;
}

.rank-number { margin-bottom: 12px; }

.rank-value {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.3));
}

.rank-suffix {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-lighter);
    margin-left: 2px;
}

/* Popular Games in Sidebar */
.popular-games-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.popular-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.popular-game-item:hover { background: rgba(255, 255, 255, 0.04); }

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

.popular-game-item:nth-child(1) .popular-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); box-shadow: 0 0 8px rgba(251, 191, 36, 0.3); }
.popular-game-item:nth-child(2) .popular-rank { background: linear-gradient(135deg, #94a3b8, #64748b); }
.popular-game-item:nth-child(3) .popular-rank { background: linear-gradient(135deg, #d97706, #b45309); }

.popular-thumbnail {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.popular-info { flex: 1; min-width: 0; }
.popular-title { font-size: 13px; font-weight: 600; margin: 0; line-height: 1.3; }
.popular-title a { color: var(--color-text-light); text-decoration: none; }
.popular-title a:hover { color: var(--color-link); }
.popular-rating { font-size: 12px; color: #fbbf24; margin: 2px 0 0; display: flex; align-items: center; gap: 3px; }
.popular-rating i { font-size: 10px; }

/* Ad Placeholder */
.ad-placeholder {
    padding: 40px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.15);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--color-text-lighter);
    font-size: 12px;
}

/* ===================================
   Auth Pages
   =================================== */

.auth-page { padding: 60px 0; }
.auth-container {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.8), rgba(12, 12, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 44px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.auth-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

.auth-form .form-group { margin-bottom: 20px; }
.auth-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-text-light); }
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.15);
}

.auth-form input::placeholder { color: var(--color-text-lighter); }
.auth-submit { width: 100%; padding: 14px; font-size: 16px; margin-top: 8px; }
.auth-links { text-align: center; margin-top: 20px; font-size: 14px; color: var(--color-text-lighter); }
.auth-links a { color: var(--color-link); font-weight: 600; }
.auth-error { padding: 12px 16px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 10px; color: #fca5a5; font-size: 14px; margin-bottom: 20px; }
.auth-success { padding: 12px 16px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.2); border-radius: 10px; color: #86efac; font-size: 14px; margin-bottom: 20px; }

/* ===================================
   Archive Pages Common
   =================================== */

.archive-game-page,
.archive-news-page,
.archive-column-page {
    padding: 32px 0;
}

.archive-page-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.archive-page-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, rgba(96, 165, 250, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.archive-page-description,
.archive-description {
    font-size: 14px;
    color: var(--color-text-lighter);
    margin-top: 8px;
    line-height: 1.7;
}

/* Pagination */
.pagination-wrapper { margin-top: 48px; text-align: center; }

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 3px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
}

.pagination-wrapper .page-numbers:hover {
    background: rgba(65, 105, 225, 0.1);
    border-color: rgba(65, 105, 225, 0.25);
    color: var(--color-primary-light);
    text-decoration: none;
}

.pagination-wrapper .page-numbers.current {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(65, 105, 225, 0.3);
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--color-text-lighter);
    font-size: 15px;
}

.no-results a { color: var(--color-link); text-decoration: none; font-weight: 600; }
.no-results a:hover { text-decoration: underline; }

/* ===================================
   Game Archive
   =================================== */

.game-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

a.game-card,
a.news-card,
a.column-card {
    text-decoration: none;
    color: inherit;
}

a.game-card:hover,
a.news-card:hover,
a.column-card:hover {
    text-decoration: none;
    color: inherit;
}

.game-card {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.65), rgba(12, 12, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.2);
}

.game-card-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.game-card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(12, 12, 30, 0.6));
    pointer-events: none;
    z-index: 1;
}

.game-card-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-thumbnail img { transform: scale(1.08); }

.game-card-content {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--color-text);
}

.game-card:hover .game-card-title { color: var(--color-link); }

.game-meta-info {
    font-size: 12px;
    color: var(--color-text-lighter);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.release-date i { margin-right: 4px; opacity: 0.6; }

.game-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.game-genres .genre-tag {
    font-size: 10px;
    padding: 2px 8px;
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-text-lighter);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
}

.game-rating {
    margin-top: auto;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #fbbf24;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Game Archive with Sidebar Filter */
.game-archive-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}

.game-filter-sidebar { position: sticky; top: 80px; align-self: start; }

.filter-sidebar-inner {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.7), rgba(12, 12, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.filter-section + .filter-section {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-text-lighter);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-section-title i {
    color: var(--color-primary-light);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filter-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.15s ease;
}

.filter-list-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
}

.filter-list-item.active {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.15), rgba(59, 130, 246, 0.1));
    color: var(--color-primary-light);
    font-weight: 600;
}

.filter-item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-item-count {
    flex-shrink: 0;
    font-size: 10px;
    color: var(--color-text-lighter);
    background: rgba(255, 255, 255, 0.05);
    padding: 1px 7px;
    border-radius: 10px;
}

.filter-list-item.active .filter-item-count {
    background: rgba(65, 105, 225, 0.2);
    color: var(--color-primary-light);
}

.sidebar-search-form { display: flex; flex-direction: column; gap: 8px; }

.sidebar-search-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.sidebar-search-input::placeholder { color: var(--color-text-lighter); }
.sidebar-search-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.12); }

.sidebar-search-btn {
    width: 100%;
    padding: 9px;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-search-btn:hover { opacity: 0.9; }

.filter-reset-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    background: transparent;
    transition: all 0.15s;
}

.filter-reset-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.game-archive-main { min-width: 0; }
.game-archive-main .game-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important; gap: 16px !important; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.1), rgba(59, 130, 246, 0.06));
    border: 1px solid rgba(65, 105, 225, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary-light);
}

.active-filter-tag .remove-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-lighter);
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    transition: all 0.15s;
}

.active-filter-tag .remove-filter:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ===================================
   News Archive
   =================================== */

.news-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 40px;
    list-style: none;
    padding: 0;
}

.news-card {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.65), rgba(12, 12, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.news-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.2);
}

.news-card .news-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.news-card .news-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(12, 12, 30, 0.7));
    pointer-events: none;
    z-index: 1;
}

.news-card .news-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-thumbnail img { transform: scale(1.08); }

.news-card .news-content {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.category-release { background: linear-gradient(135deg, #ef4444, #dc2626); }
.category-update { background: linear-gradient(135deg, #f59e0b, #d97706); }
.category-event { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.category-campaign { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.category-esports { background: linear-gradient(135deg, #0d9488, #0f766e); }
.category-industry { background: var(--gradient-primary); }
.category-other { background: linear-gradient(135deg, #6b7280, #4b5563); }
.category-record { background: linear-gradient(135deg, #ea580c, #c2410c); }

.news-category-badge { /* alias */ }

.news-card .news-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--color-text);
}

.news-card:hover .news-title { color: var(--color-link); }

.news-excerpt {
    font-size: 13px;
    color: var(--color-text-lighter);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card .news-meta {
    margin-top: auto;
    font-size: 12px;
    color: var(--color-text-lighter);
    display: flex;
    align-items: center;
    gap: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Badge variants */
.badge-industry { background: var(--gradient-primary); }
.badge-record { background: #d97706; }
.badge-other { background: #6b7280; }

/* News Filter Tabs */
.news-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.news-filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.25s ease;
}

.news-filter-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(65, 105, 225, 0.06);
    text-decoration: none;
}

.news-filter-tab.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(65, 105, 225, 0.25);
}

.news-filter-tab.tab-release.active { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 2px 10px rgba(239, 68, 68, 0.25); }
.news-filter-tab.tab-update.active { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 2px 10px rgba(59, 130, 246, 0.25); }
.news-filter-tab.tab-event.active { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 2px 10px rgba(139, 92, 246, 0.25); }
.news-filter-tab.tab-campaign.active { background: linear-gradient(135deg, #a855f7, #7c3aed); box-shadow: 0 2px 10px rgba(168, 85, 247, 0.25); }
.news-filter-tab.tab-esports.active { background: linear-gradient(135deg, #14b8a6, #0d9488); box-shadow: 0 2px 10px rgba(20, 184, 166, 0.25); }
.news-filter-tab.tab-industry.active { background: linear-gradient(135deg, #64748b, #475569); box-shadow: 0 2px 10px rgba(100, 116, 139, 0.25); }
.news-filter-tab.tab-record.active { background: linear-gradient(135deg, #f97316, #ea580c); box-shadow: 0 2px 10px rgba(249, 115, 22, 0.25); }
.news-filter-tab.tab-other.active { background: linear-gradient(135deg, #6b7280, #4b5563); box-shadow: 0 2px 10px rgba(107, 114, 128, 0.25); }

/* ===================================
   Taxonomy Filter Bar
   =================================== */

.archive-filter-bar {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.6), rgba(12, 12, 30, 0.7));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.filter-group { margin-bottom: 14px; }
.filter-group:last-child { margin-bottom: 0; }

.filter-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-text-lighter);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.filter-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
}

.filter-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    background: rgba(65, 105, 225, 0.08);
    text-decoration: none;
}

.filter-tag.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.filter-sort-options { display: flex; gap: 4px; }

.sort-option {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--color-text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
}

.sort-option:hover { border-color: var(--color-primary); color: var(--color-primary-light); text-decoration: none; }
.sort-option.active { background: var(--gradient-primary); color: #fff; border-color: var(--color-primary); }

.filter-search-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.filter-search-wrapper { display: flex; max-width: 400px; }

.filter-search-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-size: 14px;
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: border-color 0.2s;
}

.filter-search-input:focus { border-color: var(--color-primary); }
.filter-search-input::placeholder { color: var(--color-text-lighter); }

.filter-search-btn {
    padding: 10px 18px;
    background: var(--gradient-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.filter-search-btn:hover { opacity: 0.9; }

/* ===================================
   Column Archive & Single
   =================================== */

.archive-column-page .archive-page-description {
    color: var(--color-text-light);
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.7;
}

.column-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.column-filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.column-filter-tab:hover { color: var(--color-primary-light); border-color: var(--color-primary); text-decoration: none; }

.column-filter-tab.active {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(65, 105, 225, 0.25);
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.column-card {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.65), rgba(12, 12, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.column-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.2);
}

.column-card-thumbnail { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.column-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.column-card:hover .column-card-thumbnail img { transform: scale(1.08); }

.column-card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(12, 12, 30, 0.6));
    pointer-events: none;
}

.difficulty-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.difficulty-beginner { background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(22, 163, 74, 0.85)); }
.difficulty-intermediate { background: linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(217, 119, 6, 0.85)); }
.difficulty-advanced { background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.85)); }

.column-card-content { padding: 18px; }

.column-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(65, 105, 225, 0.12);
    color: var(--color-link);
}

.cat-beginner { background: rgba(34, 197, 94, 0.12); color: #4ade80; }
.cat-intermediate { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.cat-advanced { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.cat-streaming { background: rgba(168, 85, 247, 0.12); color: #c084fc; }
.cat-tools { background: rgba(59, 130, 246, 0.12); color: #60a5fa; }
.cat-technique { background: rgba(245, 158, 11, 0.12); color: #fbbf24; }
.cat-community { background: rgba(236, 72, 153, 0.12); color: #f472b6; }
.cat-interview { background: rgba(20, 184, 166, 0.12); color: #2dd4bf; }

.column-card-title { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; color: var(--color-text); }
.column-card:hover .column-card-title { color: var(--color-link); }

.column-card-excerpt {
    font-size: 13px;
    color: var(--color-text-lighter);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    color: var(--color-text-lighter);
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.column-card-meta i { margin-right: 3px; opacity: 0.6; }

/* Single Column Layout */
.single-column-page { padding: 32px 0; }

.column-single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
}

.column-article {
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.column-article-header { padding: 32px; padding-bottom: 0; }
.column-article-badges { display: flex; gap: 8px; margin-bottom: 14px; }

.column-article-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 60%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.column-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-lighter);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.column-article-meta i { margin-right: 3px; opacity: 0.6; }
.column-article-meta .updated-date { color: var(--color-primary-light); }
.column-author { color: var(--color-text-lighter); }

.column-article-thumbnail { margin: 0; }
.column-article-thumbnail img { width: 100%; height: auto; display: block; }

.column-article-body {
    padding: 32px;
    line-height: 1.9;
    font-size: 15px;
}

.column-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 40px 0 16px;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(65, 105, 225, 0.12), transparent);
    border-left: 5px solid var(--color-primary);
    border-bottom: 5px solid var(--color-primary);
    border-radius: 0 8px 8px 0;
}

.column-article-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 32px 0 12px;
    padding-bottom: 10px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #00BBFF 0%, #118AE6 100%) 1;
    color: #fff;
}

.column-article-body h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 28px 0 10px;
    padding-left: 12px;
    border-left: 5px solid #00BBFF;
    color: #fff;
}

.column-article-body .wp-block-accordion-item h3 {
    font-size: 15px;
    margin: 0;
    padding: 0;
    border: none;
}

.column-article-body p { margin: 18px 0; }
.column-article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 20px 0; }

.column-article-body ul,
.column-article-body ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.column-article-body ul { list-style: none; }

.column-article-body ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 4px;
    line-height: 1.7;
}

.column-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(90deg, #00BBFF, #118AE6);
}

.column-article-body ol li {
    margin-bottom: 8px;
    line-height: 1.7;
    padding-left: 4px;
}

.column-article-body ol li::marker {
    color: #00BBFF;
    font-weight: 700;
}

/* Table */
.column-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
}

.column-article-body figure.wp-block-flexible-table-block-table {
    margin: 24px 0;
    overflow-x: auto;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td {
    border-color: #f0f0f1;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr th {
    background: #0046D3;
    color: #fff;
    font-weight: 700;
    text-align: left;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td {
    background: transparent;
    color: var(--color-text-light);
}

/* Accordion */
.column-article-body .wp-block-accordion {
    margin: 24px 0;
}

.column-article-body .wp-block-accordion-heading__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: left;
}

.column-article-body .wp-block-accordion-heading__toggle:hover {
    background: rgba(0, 187, 255, 0.06);
}

.column-article-body .wp-block-accordion-heading__toggle-icon {
    font-size: 18px;
    color: #00BBFF;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.2s ease;
}

.column-article-body .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
    transform: rotate(45deg);
}

.column-article-body .wp-block-accordion-panel {
    padding: 0 18px 16px;
    color: var(--color-text-light);
    font-size: 14px;
    line-height: 1.8;
}

/* Button Block */
.column-article-body .wp-block-buttons {
    margin: 24px 0 48px;
    justify-content: center;
}

.column-article-body .wp-block-button {
    width: 100%;
    max-width: 480px;
}

.column-article-body .wp-block-button__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 70, 211, 0.3);
}

.column-article-body .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 70, 211, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Blockquote */
.column-article-body blockquote,
.column-article-body .wp-block-quote {
    border-left: 4px solid #00BBFF;
    padding: 20px 24px;
    margin: 24px 0;
    background: linear-gradient(135deg, rgba(0, 187, 255, 0.06), rgba(17, 138, 230, 0.03));
    border-radius: 0 10px 10px 0;
    position: relative;
}

.column-article-body blockquote::before,
.column-article-body .wp-block-quote::before {
    content: '\201C';
    position: absolute;
    top: -20px;
    left: 14px;
    font-size: 96px;
    color: rgba(0, 187, 255, 0.6);
    font-family: Georgia, serif;
    line-height: 1;
}

.column-article-body blockquote p,
.column-article-body .wp-block-quote p {
    margin-bottom: 8px;
    color: var(--color-text-light);
}

.column-article-body blockquote cite,
.column-article-body .wp-block-quote cite {
    display: block;
    font-size: 13px;
    color: var(--color-text-lighter);
    font-style: normal;
    margin-top: 8px;
}

.column-article-body blockquote cite::before,
.column-article-body .wp-block-quote cite::before {
    content: '\2014\00a0';
    color: #00BBFF;
}

.column-article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 32px 28px; }

.column-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 24px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.column-post-navigation a {
    display: block;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.column-post-navigation a:hover {
    border-color: rgba(65, 105, 225, 0.3);
    background: rgba(65, 105, 225, 0.05);
    text-decoration: none;
    transform: translateY(-1px);
}

.column-post-navigation .nav-label {
    display: block;
    font-size: 11px;
    color: var(--color-text-lighter);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.column-post-navigation .nav-title {
    display: block;
    font-size: 13px;
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.4;
}

.column-post-navigation .nav-next { text-align: right; grid-column: 2; }

/* Column Sidebar */
.column-sidebar {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.column-sidebar .sidebar-section {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.column-sidebar .sidebar-section-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-column-list { list-style: none; padding: 0; margin: 0; }
.sidebar-column-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.sidebar-column-list li:last-child { border-bottom: none; }

.sidebar-column-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--color-text);
    transition: color 0.2s;
}

.sidebar-column-list a:hover { color: var(--color-link); text-decoration: none; }

.sidebar-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
}

.sidebar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-item-title { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===================================
   Child Pages
   =================================== */

.child-pages-list { display: flex; flex-direction: column; gap: 8px; }

.child-page-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text-light);
    transition: all 0.25s ease;
}

.child-page-item:hover {
    background: rgba(65, 105, 225, 0.06);
    border-color: rgba(65, 105, 225, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--color-text-light);
    transform: translateX(3px);
}

.child-page-thumb { flex-shrink: 0; width: 60px; height: 60px; border-radius: 10px; overflow: hidden; }
.child-page-thumb img { width: 100%; height: 100%; object-fit: cover; }
.child-page-info { flex: 1; min-width: 0; }
.child-page-title { font-size: 15px; font-weight: 600; margin: 0 0 4px; color: #fff; }
.child-page-excerpt { font-size: 13px; color: var(--color-text-lighter); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.child-page-arrow { flex-shrink: 0; color: rgba(255, 255, 255, 0.15); font-size: 14px; transition: all 0.2s; }
.child-page-item:hover .child-page-arrow { color: var(--color-primary-light); transform: translateX(3px); }

/* Child Page Layout */
.game-child-page .back-to-parent { margin-bottom: 16px; }
.game-child-page .back-to-parent a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--color-link); text-decoration: none; transition: all 0.2s; }
.game-child-page .back-to-parent a:hover { text-decoration: underline; }

.child-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.child-header .game-title { font-size: 26px; margin-bottom: 8px; }
.child-meta { font-size: 13px; color: var(--color-text-lighter); }
.child-meta .updated { margin-left: 4px; color: var(--color-primary-light); }

.child-thumbnail { margin-bottom: 24px; border-radius: 12px; overflow: hidden; }
.child-thumbnail img { width: 100%; height: auto; display: block; }

.child-body { line-height: 1.9; font-size: 15px; }
.child-body h2 { font-size: 20px; margin: 40px 0 16px; padding: 12px 18px; background: linear-gradient(90deg, rgba(65, 105, 225, 0.12), transparent); border-left: 3px solid var(--color-primary); border-radius: 0 8px 8px 0; }
.child-body h3 { font-size: 17px; margin: 32px 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.child-body p { margin-bottom: 18px; }
.child-body img { max-width: 100%; height: auto; border-radius: 10px; }

/* Parent Game Box */
.parent-game-box .parent-thumb { display: block; margin-bottom: 12px; border-radius: 10px; overflow: hidden; }
.parent-game-box .parent-thumb img { width: 100%; height: auto; display: block; }

/* Sibling Navigation */
.sibling-nav-list { list-style: none; margin: 0; padding: 0; }
.sibling-nav-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.04); }
.sibling-nav-list li:last-child { border-bottom: none; }
.sibling-nav-list li a { display: block; padding: 10px 12px; font-size: 13px; color: var(--color-text-light); text-decoration: none; border-radius: 6px; transition: all 0.15s; }
.sibling-nav-list li a:hover { background: rgba(255, 255, 255, 0.04); color: var(--color-link); }
.sibling-nav-list li.current a { background: linear-gradient(135deg, rgba(65, 105, 225, 0.12), rgba(59, 130, 246, 0.06)); color: var(--color-primary-light); font-weight: 600; border-left: 3px solid var(--color-primary); }

/* ===================================
   News Content Wrapper (legacy)
   =================================== */

.news-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.news-content-wrapper .news-content { padding: 28px; }

/* ===================================
   404 Error Page
   =================================== */

.error-404-page { min-height: 60vh; display: flex; align-items: center; }

.error-404-content {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
    padding: 60px 20px;
}

.error-404-icon {
    font-size: 48px;
    color: var(--color-primary-light);
    margin-bottom: 12px;
    opacity: 0.5;
}

.error-404-title {
    font-size: 80px;
    font-weight: 900;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #60a5fa 0%, #4169e1 40%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(65, 105, 225, 0.2));
}

.error-404-message {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.error-404-description {
    font-size: 14px;
    color: var(--color-text-lighter);
    margin-bottom: 40px;
    line-height: 1.7;
}

.error-search-wrapper {
    display: flex;
    max-width: 420px;
    margin: 0 auto 40px;
}

.error-search-input {
    flex: 1;
    padding: 13px 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-radius: 12px 0 0 12px;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.error-search-input::placeholder { color: var(--color-text-lighter); }
.error-search-input:focus { border-color: var(--color-primary); }

.error-search-btn {
    padding: 13px 20px;
    background: var(--gradient-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: 0 12px 12px 0;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
}

.error-search-btn:hover { opacity: 0.9; }

.error-404-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.error-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.error-link:hover {
    background: rgba(65, 105, 225, 0.08);
    border-color: rgba(65, 105, 225, 0.3);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ===================================
   Responsive
   =================================== */

@media screen and (max-width: 1024px) {
    .game-archive-layout { grid-template-columns: 200px 1fr; gap: 20px; }
    .game-archive-main .game-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important; }
    .game-content-wrapper { grid-template-columns: 1fr 280px; }
}

@media screen and (max-width: 900px) {
    .news-content-wrapper,
    .game-content-wrapper { grid-template-columns: 1fr; }
    .news-content-wrapper .news-content { padding: 20px; }
    .news-sidebar { position: static; }
    .related-news-list { grid-template-columns: 1fr; }

    .game-header { flex-direction: column; gap: 20px; }
    .game-thumbnail { width: 100%; max-width: 400px; margin: 0 auto; }
    .rating-box { flex-direction: column; align-items: stretch; }
    .overall-rating { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding-right: 0; padding-bottom: 16px; margin-bottom: 16px; }
    .rating-details { grid-template-columns: 1fr; }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .game-sidebar { margin-top: 24px; position: static; }
}

@media screen and (max-width: 768px) {
    .single-news-layout { grid-template-columns: 1fr; }
    .news-article-header { padding: 24px 24px 0; }
    .news-article-title { font-size: 22px; }
    .news-article-body { padding: 24px; }
    .news-article-tags { padding: 0 24px 24px; }
    .news-source-info { margin: 0 24px 20px; }
    .social-share-bar { padding: 16px 24px; flex-wrap: wrap; }
    .share-btn { min-width: calc(50% - 4px); }

    .game-archive-layout { grid-template-columns: 1fr; gap: 16px; }
    .game-filter-sidebar { position: static; }
    .filter-sidebar-inner { padding: 16px; gap: 14px; }
    .filter-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .filter-list-item { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; font-size: 12px; white-space: nowrap; }
    .filter-list-item.active { background: var(--gradient-primary); border-color: transparent; color: #fff; }
    .filter-item-count { display: none; }
    .game-archive-main .game-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }

    .game-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
    .news-grid { grid-template-columns: 1fr !important; gap: 14px !important; }

    .archive-page-title { font-size: 24px; }
    .game-sidebar, .news-sidebar { margin-top: 24px; position: static; }
    .pagination-wrapper .page-numbers { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }

    .auth-container { padding: 28px 20px; margin: 0 15px; border-radius: 16px; }
    .auth-title { font-size: 24px; }

    .archive-filter-bar { padding: 16px; }
    .filter-sort-options { flex-wrap: wrap; }
    .filter-search-wrapper { max-width: 100%; }

    .news-filter-tabs { gap: 6px; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 14px; }
    .news-filter-tabs::-webkit-scrollbar { display: none; }
    .news-filter-tab { padding: 7px 16px; font-size: 12px; flex-shrink: 0; }

    .column-filter-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 14px; }
    .column-filter-tabs::-webkit-scrollbar { display: none; }
    .column-filter-tab { flex-shrink: 0; padding: 7px 16px; font-size: 12px; }

    .column-grid { grid-template-columns: 1fr; }
    .column-single-layout { grid-template-columns: 1fr; }
    .column-article-header { padding: 24px; padding-bottom: 0; }
    .column-article-title { font-size: 22px; }
    .column-article-body { padding: 24px; }
    .column-article-tags { padding: 0 24px 24px; }
    .column-post-navigation { grid-template-columns: 1fr; padding: 20px 24px; }
    .column-post-navigation .nav-next { text-align: left; grid-column: 1; }
    .column-sidebar { margin-top: 24px; position: static; }

    .child-header .game-title { font-size: 22px; }
    .child-page-thumb { width: 48px; height: 48px; }
    .game-content { padding: 20px; }
    .game-sidebar { order: -1; margin-bottom: 24px; }

    .related-news-section { padding: 24px; }
}

@media screen and (max-width: 600px) {
    .game-card-title { font-size: 14px; }
    .news-card .news-title { font-size: 14px; }
    .column-card-title { font-size: 14px; }
    .download-links { flex-direction: column; }
    .download-btn { justify-content: center; }
}

@media screen and (max-width: 480px) {
    .error-404-title { font-size: 56px; }
    .error-404-links { flex-direction: column; }
    .error-link { justify-content: center; }
    .game-grid { grid-template-columns: 1fr !important; }
    .game-card-content, .news-card .news-content, .column-card-content, .event-card-content { padding: 14px; }
    .archive-page-header { margin-bottom: 16px; padding-bottom: 16px; }
    .archive-page-title { font-size: 22px; }
    .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
    .child-body h2, .news-article-body h2, .column-article-body h2, .event-article-body h2 { font-size: 18px; padding: 10px 14px; }
    .game-content { padding: 16px; }
    .section-heading { font-size: 16px; padding: 8px 14px; }
    .event-card-title { font-size: 14px; }
    .event-grid { grid-template-columns: 1fr !important; }
}

/* ===================================
   RTA Event Archive Page
   =================================== */

.archive-event-page {
    padding: 32px 0;
}

/* Event Filter Tabs (Status) */
.event-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.event-filter-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.25s ease;
}

.event-filter-tab:hover { color: var(--color-primary-light); border-color: var(--color-primary); text-decoration: none; }

.event-filter-tab.active {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 2px 10px rgba(65, 105, 225, 0.25);
}

/* Event Type Tabs */
.event-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.event-type-tab {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-lighter);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.25s ease;
}

.event-type-tab:hover { color: var(--color-primary-light); border-color: rgba(65, 105, 225, 0.3); text-decoration: none; }

.event-type-tab.active {
    color: var(--color-primary-light);
    background: rgba(65, 105, 225, 0.1);
    border-color: rgba(65, 105, 225, 0.3);
}

/* Event Grid */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Event Card */
a.event-card { text-decoration: none; color: inherit; }

.event-card {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.65), rgba(12, 12, 30, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.event-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.2);
}

.event-card-thumbnail { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.event-card-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.event-card:hover .event-card-thumbnail img { transform: scale(1.08); }

.event-card-thumbnail::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(12, 12, 30, 0.6));
    pointer-events: none;
}

/* Event Status Badge */
.event-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(6px);
    z-index: 2;
}

.event-status-badge.status-recruiting { background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(22, 163, 74, 0.85)); }
.event-status-badge.status-ongoing { background: linear-gradient(135deg, rgba(59, 130, 246, 0.85), rgba(37, 99, 235, 0.85)); }
.event-status-badge.status-ended { background: linear-gradient(135deg, rgba(107, 114, 128, 0.85), rgba(75, 85, 99, 0.85)); }
.event-status-badge.status-cancelled { background: linear-gradient(135deg, rgba(239, 68, 68, 0.85), rgba(220, 38, 38, 0.85)); }

/* Small status badge (inline) */
.event-status-badge-sm {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
}

.event-status-badge-sm.status-recruiting { background: rgba(34, 197, 94, 0.8); }
.event-status-badge-sm.status-ongoing { background: rgba(59, 130, 246, 0.8); }
.event-status-badge-sm.status-ended { background: rgba(107, 114, 128, 0.7); }
.event-status-badge-sm.status-cancelled { background: rgba(239, 68, 68, 0.8); }

.event-card-content { padding: 18px; }

.event-type-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    background: rgba(65, 105, 225, 0.12);
    color: var(--color-link);
}

.event-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--color-text);
}

.event-card:hover .event-card-title { color: var(--color-link); }

.event-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-lighter);
    margin-bottom: 8px;
}

.event-card-info i { margin-right: 4px; opacity: 0.6; }

.event-card-date,
.event-card-format {
    display: flex;
    align-items: center;
}

.event-card-games {
    font-size: 12px;
    color: var(--color-text-lighter);
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-games i { margin-right: 6px; opacity: 0.6; }

/* ===================================
   Single RTA Event Page
   =================================== */

.single-event-page { padding: 32px 0; }

.event-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

/* Event Article */
.event-article {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.8), rgba(12, 12, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    overflow: hidden;
}

.event-article-header {
    padding: 28px 28px 0;
}

.event-article-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.event-article-badges .event-status-badge {
    position: static;
}

.event-article-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 16px;
}

.event-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--color-text-lighter);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.event-article-meta i { margin-right: 4px; opacity: 0.7; }

.event-article-thumbnail {
    margin: 0;
}

.event-article-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.event-article-body {
    padding: 28px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--color-text-light);
}

.event-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    padding: 12px 16px;
    margin: 36px 0 20px;
    border-left: 4px solid var(--color-primary);
    background: rgba(65, 105, 225, 0.06);
    border-radius: 0 8px 8px 0;
    color: #fff;
}

.event-article-body h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(65, 105, 225, 0.2);
    color: #fff;
}

.event-article-body p { margin-bottom: 18px; }

/* Event Games Section */
.event-games-section {
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.event-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

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

.event-games-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.event-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text-light);
    transition: all 0.2s ease;
}

.event-game-item:hover {
    background: rgba(65, 105, 225, 0.08);
    border-color: rgba(65, 105, 225, 0.2);
    color: var(--color-link);
    text-decoration: none;
}

.event-game-thumb {
    width: 48px;
    height: 28px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.event-game-name {
    font-size: 13px;
    font-weight: 600;
}

/* Event Tags */
.event-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Related Events */
.related-events-section {
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.related-events-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-event-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text-light);
    transition: all 0.2s ease;
}

.related-event-item:hover {
    background: rgba(65, 105, 225, 0.06);
    border-color: rgba(65, 105, 225, 0.15);
    text-decoration: none;
}

.related-event-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-event-thumb img { width: 100%; height: 100%; object-fit: cover; }

.related-event-content { flex: 1; min-width: 0; }

.related-event-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-event-date {
    font-size: 11px;
    color: var(--color-text-lighter);
}

/* Event Sidebar */
.event-sidebar { position: sticky; top: 80px; }

/* Event Info Box */
.event-info-box {
    background: linear-gradient(160deg, rgba(22, 22, 50, 0.8), rgba(12, 12, 30, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
}

.event-info-box-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(65, 105, 225, 0.3);
}

.event-info-box-title i {
    margin-right: 8px;
    color: var(--color-primary);
}

.event-info-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.event-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.event-info-item dt {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-lighter);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-info-item dt i { margin-right: 4px; opacity: 0.7; }

.event-info-item dd {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.event-info-detail {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.event-info-detail h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.event-info-detail h4 i {
    margin-right: 6px;
    color: var(--color-primary);
}

.event-info-detail p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-lighter);
}

/* Action Buttons */
.event-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.event-entry-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(93.83deg, #007E9A 0.04%, #2A60CD 19.04%, #0046D3 45.04%, #003BAE 73.04%, #00205F 100.04%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 70, 211, 0.3);
}

.event-entry-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);
}

.event-stream-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #00BBFF 0%, #118AE6 99.99%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(17, 138, 230, 0.3);
}

.event-stream-btn:hover {
    background: linear-gradient(90deg, #33CCFF 0%, #2A9AF0 99.99%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 138, 230, 0.4);
}

/* Share bar (reuse existing styles) */
.single-event-page .social-share-bar {
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===================================
   RTA Event Responsive
   =================================== */

@media screen and (max-width: 1024px) {
    .event-single-layout {
        grid-template-columns: 1fr;
    }
    .event-sidebar { position: static; }
}

@media screen and (max-width: 768px) {
    .event-filter-tabs,
    .event-type-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 14px;
    }
    .event-filter-tabs::-webkit-scrollbar,
    .event-type-tabs::-webkit-scrollbar { display: none; }
    .event-filter-tab { flex-shrink: 0; padding: 7px 16px; font-size: 12px; }
    .event-type-tab { flex-shrink: 0; }

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

    .related-events-list { grid-template-columns: 1fr; }

    .event-article-header { padding: 20px 20px 0; }
    .event-article-body { padding: 20px; }
    .event-article-title { font-size: 22px; }
    .event-games-section { padding: 20px; }
    .event-article-tags { padding: 16px 20px; }
    .related-events-section { padding: 20px; }
    .single-event-page .social-share-bar { padding: 16px 20px; }
}