/* ===================================
   Casino Galaxy Theme
   =================================== */

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', 'Courier New', monospace;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f0a1f 100%);
    color: #e0e0e0;
    line-height: 1.9;
}

.cgx-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.cgx-wrapper {
    min-height: calc(100vh - 200px);
}

/* ===== Header ===== */
.cgx-header {
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.cgx-header-inner {
    padding: 15px 0;
}

.cgx-logo {
    display: inline-block;
}

.cgx-logo mip-img {
    height: 50px;
    width: auto;
}

.cgx-nav {
    display: inline-block;
    margin-left: 40px;
}

.cgx-nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.cgx-nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.cgx-nav-link:hover,
.cgx-nav-link.active {
    color: #d4af37;
}

.cgx-nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4af37;
    transition: width 0.3s;
}

.cgx-nav-link:hover::after,
.cgx-nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu */
.cgx-dropdown {
    position: relative;
}

.cgx-dropdown-toggle {
    cursor: pointer;
}

.cgx-dropdown-arrow {
    display: inline-block;
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.cgx-dropdown:hover .cgx-dropdown-arrow {
    transform: rotate(180deg);
}

.cgx-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #d4af37;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.cgx-dropdown:hover .cgx-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cgx-dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.cgx-dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
    border-left-color: #d4af37;
    padding-left: 25px;
}

.cgx-header-actions {
    float: right;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cgx-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.cgx-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #d4af37;
    border-radius: 3px;
}

/* ===== Buttons ===== */
.cgx-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.cgx-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1e1b4b;
}

.cgx-btn-primary:hover {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.cgx-btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1e1b4b;
    padding: 15px 40px;
    font-size: 18px;
}

.cgx-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
}

.cgx-btn-outline {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 13px 38px;
    font-size: 18px;
}

.cgx-btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.cgx-btn-outline-light {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    font-size: 18px;
}

.cgx-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.cgx-btn-large {
    padding: 18px 50px;
    font-size: 20px;
}

/* ===== Hero Section ===== */
.cgx-hero {
    background: linear-gradient(135deg, #0f0a1f 0%, #2a2a2a 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cgx-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

.cgx-hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cgx-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1e1b4b;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 25px;
}

.cgx-hero-title {
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.cgx-hero-subtitle {
    font-size: 20px;
    color: #b0b0b0;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cgx-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.cgx-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.cgx-stat {
    background: rgba(212, 175, 55, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.cgx-stat-number {
    font-size: 36px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 10px;
}

.cgx-stat-label {
    font-size: 16px;
    color: #b0b0b0;
}

/* ===== Game Carousel ===== */
.cgx-game-carousel {
    padding: 80px 0;
    background: #0f0f0f;
    overflow: hidden;
}

.cgx-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cgx-section-title {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
}

.cgx-section-subtitle {
    font-size: 18px;
    color: #b0b0b0;
}

.cgx-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.cgx-carousel-track {
    display: flex;
    animation: cgx-carousel-scroll 35s linear infinite;
}

.cgx-carousel-track:hover {
    animation-play-state: paused;
}

.cgx-carousel-slide {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    flex-shrink: 0;
}

@keyframes cgx-carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.cgx-game-card {
    min-width: 200px;
    background: linear-gradient(180deg, #0f0a1f 0%, #141414 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
    cursor: pointer;
}

.cgx-game-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

.cgx-game-card mip-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cgx-game-info {
    padding: 15px;
    text-align: center;
}

.cgx-game-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cgx-game-badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #1e1b4b;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

/* ===== Games Grid ===== */
.cgx-games-grid {
    padding: 80px 0;
    background: linear-gradient(180deg, #0f0a1f 0%, #0f0f0f 100%);
}

.cgx-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.cgx-grid-item {
    background: #141414;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
    cursor: pointer;
}

.cgx-grid-item:hover {
    border-color: #d4af37;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.cgx-grid-item mip-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cgx-grid-title {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

/* ===== Promo Section ===== */
.cgx-promo {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0a1f 0%, #2a2a2a 100%);
}

.cgx-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cgx-promo-card {
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
}

.cgx-promo-card:hover {
    border-color: #d4af37;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.cgx-promo-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.cgx-promo-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.cgx-promo-desc {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.7;
}

/* ===== FAQ Section ===== */
.cgx-faq {
    padding: 100px 0;
    background: #0f0f0f;
}

.cgx-faq-list {
    max-width: 1000px;
    margin: 0 auto;
}

.cgx-faq-item {
    background: linear-gradient(180deg, #0f0a1f 0%, #141414 100%);
    margin-bottom: 25px;
    padding: 35px;
    border-radius: 15px;
    border-left: 4px solid #d4af37;
}

.cgx-faq-question {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cgx-faq-answer {
    color: #b0b0b0;
    line-height: 1.8;
}

.cgx-faq-answer p {
    font-size: 16px;
    line-height: 2;
}

/* ===== CTA Section ===== */
.cgx-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

/* ===== Latest Articles Section ===== */
.cgx-latest-articles {
    padding: 100px 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #0f0a1f 100%);
}

/* ===== Featured Articles Section ===== */
.cgx-featured-articles {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0a1f 0%, #0f0f0f 100%);
}

.cgx-featured-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.cgx-featured-item {
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
}

.cgx-featured-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cgx-featured-item-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #d4af37;
}

.cgx-featured-item-title {
    font-size: 32px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.cgx-featured-item-meta {
    display: flex;
    gap: 25px;
    font-size: 15px;
    color: #808080;
}

.cgx-featured-item-date {
    color: #d4af37;
    font-weight: 600;
}

.cgx-featured-item-views {
    color: #b0b0b0;
}

.cgx-featured-item-image {
    margin-bottom: 30px;
}

.cgx-featured-item-image mip-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
}

.cgx-featured-item-content {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
}

.cgx-featured-item-content p {
    margin-bottom: 20px;
}

.cgx-featured-item-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.cgx-featured-item-content h1,
.cgx-featured-item-content h2,
.cgx-featured-item-content h3,
.cgx-featured-item-content h4 {
    color: #ffffff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.cgx-featured-item-content a {
    color: #d4af37;
    text-decoration: none;
}

.cgx-featured-item-content a:hover {
    text-decoration: underline;
}

.cgx-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.cgx-article-preview {
    background: linear-gradient(180deg, #0f0a1f 0%, #141414 100%);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
}

.cgx-article-preview:hover {
    border-color: #d4af37;
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.cgx-article-preview-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cgx-article-preview-image mip-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.cgx-article-preview-content {
    padding: 25px;
}

.cgx-article-preview-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cgx-article-preview-excerpt {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cgx-article-preview-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #808080;
}

.cgx-article-preview-date {
    color: #d4af37;
    font-weight: 600;
}

.cgx-article-preview-views {
    color: #b0b0b0;
}

.cgx-articles-more {
    text-align: center;
}

.cgx-articles-more .cgx-btn-outline {
    padding: 15px 40px;
    font-size: 16px;
}

.cgx-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cgx-cta-title {
    font-size: 48px;
    font-weight: 900;
    color: #1e1b4b;
    margin-bottom: 20px;
}

.cgx-cta-subtitle {
    font-size: 20px;
    color: #333333;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cgx-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cgx-cta-buttons .cgx-btn-gold {
    background: #1e1b4b;
    color: #d4af37;
}

.cgx-cta-buttons .cgx-btn-gold:hover {
    background: #0f0a1f;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Article List ===== */
.cgx-article-list {
    padding: 60px 0;
    background: #0f0f0f;
}

.cgx-breadcrumb {
    margin-bottom: 30px;
    font-size: 15px;
    color: #b0b0b0;
}

.cgx-breadcrumb a {
    color: #d4af37;
    text-decoration: none;
}

.cgx-breadcrumb a:hover {
    text-decoration: underline;
}

.cgx-breadcrumb-separator {
    margin: 0 10px;
}

.cgx-article-header {
    text-align: center;
    margin-bottom: 50px;
}

.cgx-article-title-main {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
}

.cgx-article-subtitle {
    font-size: 18px;
    color: #b0b0b0;
}

.cgx-article-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

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

.cgx-article-card {
    background: #0f0a1f;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
}

.cgx-article-card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

.cgx-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cgx-article-image mip-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.cgx-article-content {
    padding: 25px;
}

.cgx-article-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cgx-article-excerpt {
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 15px;
    line-height: 1.9;
}

.cgx-article-meta {
    font-size: 14px;
    color: #808080;
}

.cgx-article-date {
    color: #d4af37;
}

.cgx-pagination {
    margin-top: 50px;
    text-align: center;
}

.cgx-pagination a,
.cgx-pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #0f0a1f;
    color: #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.cgx-pagination a:hover,
.cgx-pagination .active {
    background: #d4af37;
    color: #1e1b4b;
}

/* ===== Sidebar ===== */
.cgx-sidebar-widget {
    background: #0f0a1f;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border: 2px solid #2a2a2a;
}

.cgx-widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4af37;
}

.cgx-popular-list,
.cgx-category-list,
.cgx-related-list {
    list-style: none;
}

.cgx-popular-item,
.cgx-category-item,
.cgx-related-item {
    margin-bottom: 15px;
}

.cgx-popular-link,
.cgx-category-link,
.cgx-related-link {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.cgx-popular-link:hover,
.cgx-category-link:hover,
.cgx-related-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.cgx-popular-title,
.cgx-related-title {
    font-size: 15px;
    font-weight: 600;
}

.cgx-category-count {
    float: right;
    color: #808080;
}

/* ===== Article Detail ===== */
.cgx-article-detail {
    padding: 60px 0;
    background: #0f0f0f;
}

.cgx-detail-title {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cgx-detail-meta {
    margin-bottom: 30px;
    color: #808080;
    font-size: 15px;
}

.cgx-detail-meta span {
    margin-right: 20px;
}

.cgx-detail-date {
    color: #d4af37;
}

.cgx-detail-image {
    margin-bottom: 30px;
}

.cgx-detail-image mip-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.cgx-detail-content {
    font-size: 17px;
    line-height: 1.9;
    color: #e0e0e0;
}

.cgx-detail-content p {
    margin-bottom: 20px;
}

.cgx-detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.cgx-article-navigation {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #2a2a2a;
}

.cgx-nav-prev,
.cgx-nav-next {
    display: block;
    padding: 20px;
    background: #0f0a1f;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.cgx-nav-prev:hover,
.cgx-nav-next:hover {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
}

.cgx-nav-label {
    display: block;
    font-size: 13px;
    color: #808080;
    margin-bottom: 8px;
}

.cgx-nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

/* ===== Footer ===== */
.cgx-footer {
    background: #1e1b4b;
    padding: 60px 0 30px;
    border-top: 2px solid #d4af37;
}

.cgx-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.cgx-footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
}

.cgx-footer-text,
.cgx-footer-links {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.8;
}

.cgx-footer-links {
    list-style: none;
}

.cgx-footer-links li {
    margin-bottom: 10px;
}

.cgx-footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.cgx-footer-links a:hover {
    color: #d4af37;
}

.cgx-footer-divider {
    height: 1px;
    background: #2a2a2a;
    margin-bottom: 30px;
}

.cgx-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cgx-footer-copyright {
    color: #808080;
    font-size: 14px;
}

.cgx-footer-partners {
    color: #808080;
    font-size: 14px;
}

.cgx-footer-partners a {
    color: #b0b0b0;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.cgx-footer-partners a:hover {
    color: #d4af37;
}

/* ===== 404 Page ===== */
.cgx-404-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f0a1f 100%);
}

.cgx-404-content {
    text-align: center;
}

.cgx-404-title {
    font-size: 150px;
    font-weight: 900;
    color: #d4af37;
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(212, 175, 55, 0.5);
}

.cgx-404-message {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cgx-404-description {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 40px;
}

/* ===== Mobile Menu ===== */
.cgx-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #141414;
    z-index: 2000;
    transition: right 0.3s;
    overflow-y: auto;
}

.cgx-mobile-menu.active {
    right: 0;
}

.cgx-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #2a2a2a;
}

.cgx-mobile-logo mip-img {
    height: 40px;
    width: auto;
}

.cgx-mobile-close {
    background: none;
    border: none;
    color: #d4af37;
    font-size: 28px;
    cursor: pointer;
}

.cgx-mobile-nav {
    padding: 20px;
}

.cgx-mobile-nav-item {
    display: block;
    padding: 15px 20px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.cgx-mobile-nav-item:hover,
.cgx-mobile-nav-item.active {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}

.cgx-mobile-cta {
    background: linear-gradient(135deg, #d4af37, #f4d03f) !important;
    color: #1e1b4b !important;
    text-align: center;
    margin-top: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .cgx-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .cgx-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cgx-promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cgx-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cgx-article-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cgx-nav {
        display: none;
    }
    
    .cgx-menu-toggle {
        display: flex;
    }
    
    /* Mobile Dropdown */
    .cgx-mobile-dropdown {
        position: relative;
    }
    
    .cgx-mobile-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .cgx-mobile-dropdown-arrow {
        font-size: 12px;
        transition: transform 0.3s;
    }
    
    .cgx-mobile-dropdown.active .cgx-mobile-dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .cgx-mobile-dropdown-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        background: rgba(212, 175, 55, 0.05);
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .cgx-mobile-dropdown.active .cgx-mobile-dropdown-menu {
        max-height: 500px;
        padding: 10px;
    }
    
    .cgx-mobile-dropdown-item {
        display: block;
        padding: 12px 20px;
        color: #e0e0e0;
        text-decoration: none;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .cgx-mobile-dropdown-item:hover,
    .cgx-mobile-dropdown-item:active {
        background: rgba(212, 175, 55, 0.1);
        color: #d4af37;
    }
    
    .cgx-hero-title {
        font-size: 36px;
    }
    
    .cgx-hero-subtitle {
        font-size: 16px;
    }
    
    .cgx-hero-cta {
        flex-direction: column;
    }
    
    .cgx-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cgx-section-title {
        font-size: 32px;
    }
    
    .cgx-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cgx-promo-grid {
        grid-template-columns: 1fr;
    }
    
    .cgx-article-grid {
        grid-template-columns: 1fr;
    }
    
    .cgx-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .cgx-featured-item {
        padding: 25px;
    }
    
    .cgx-featured-item-title {
        font-size: 24px;
    }
    
    .cgx-featured-item-content {
        font-size: 16px;
    }
    
    .cgx-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cgx-footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cgx-article-navigation {
        grid-template-columns: 1fr;
    }
    
    .cgx-cta-title {
        font-size: 32px;
    }
    
    .cgx-cta-buttons {
        flex-direction: column;
    }
    
    .cgx-faq-question {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .cgx-hero {
        padding: 60px 0;
    }
    
    .cgx-hero-title {
        font-size: 28px;
    }
    
    .cgx-stat-number {
        font-size: 28px;
    }
    
    .cgx-section-title {
        font-size: 26px;
    }
    
    .cgx-grid {
        grid-template-columns: 1fr;
    }
    
    .cgx-game-card {
        min-width: 180px;
    }
    
    .cgx-game-card mip-img {
        height: 180px;
    }
}

/* ==================== 补全：文章详情页 / 导航 / 页脚 ==================== */
.cgx-nav-item {
    display: inline-block;
    position: relative;
}

.cgx-article-detail-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
    margin-bottom: 30px;
}

.cgx-breadcrumb-current {
    color: rgba(255, 255, 255, 0.5);
    cursor: default;
}

.cgx-detail-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.cgx-article-main {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    padding: 30px 0;
}

.cgx-article-sidebar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 24px;
    margin-top: 40px;
}

.cgx-footer-section {
    margin-bottom: 30px;
}

.cgx-footer-section h4 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 700;
}

.cgx-footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cgx-footer-section li {
    margin-bottom: 10px;
}

.cgx-footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.cgx-footer-section a:hover {
    color: #FFD700;
}

@media (max-width: 768px) {
    .cgx-article-main {
        padding: 20px 16px;
    }
    .cgx-article-sidebar {
        padding: 20px 16px;
    }
    .cgx-article-detail-header {
        padding: 30px 16px 20px;
    }
}
