/* ===================================
   Casino Neon - Cyberpunk Theme
   Vibrant Purple-Blue-Pink Gradients
   =================================== */

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

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0d0221 0%, #1a0b2e 50%, #16213e 100%);
    color: #e0e7ff;
    line-height: 1.7;
    overflow-x: hidden;
}

.cn-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Header ===== */
.cn-header {
    background: rgba(13, 2, 33, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #a855f7;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(168, 85, 247, 0.3);
}

.cn-header-inner {
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cn-logo mip-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8));
}

.cn-nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.cn-nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.cn-nav-item {
    position: relative;
}

.cn-nav-link {
    color: #c084fc;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.cn-nav-link:hover,
.cn-nav-link.active {
    color: #e879f9;
    text-shadow: 0 0 10px rgba(232, 121, 249, 0.5);
}

.cn-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #a855f7, #ec4899);
    transition: all 0.3s;
    transform: translateX(-50%);
}

.cn-nav-link:hover::before,
.cn-nav-link.active::before {
    width: 100%;
}

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

.cn-dropdown-trigger {
    cursor: pointer;
}

.cn-dropdown-icon {
    display: inline-block;
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.cn-nav-dropdown:hover .cn-dropdown-icon {
    transform: rotate(180deg);
}

.cn-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(13, 2, 33, 0.98);
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid #a855f7;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    margin-top: 15px;
}

.cn-nav-dropdown:hover .cn-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.cn-dropdown-link:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #e879f9;
    border-left-color: #a855f7;
    padding-left: 25px;
}

/* Header Actions */
.cn-header-actions {
    float: right;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.cn-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #a855f7;
    border-radius: 3px;
    transition: all 0.3s;
}

/* ===== Buttons ===== */
.cn-button {
    display: inline-block;
    padding: 16px 38px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.cn-button-primary {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.cn-button-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.6);
}

.cn-button-secondary {
    background: transparent;
    color: #a855f7;
    border: 2px solid #a855f7;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.2);
}

.cn-button-secondary:hover {
    background: rgba(168, 85, 247, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.4);
}

.cn-button-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cn-button-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.cn-button-xl {
    padding: 18px 48px;
    font-size: 20px;
}

/* ===== Hero Section ===== */
.cn-hero {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cn-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    animation: cn-rotate 20s linear infinite;
}

@keyframes cn-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cn-hero-wrapper {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cn-hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.cn-hero-heading {
    font-size: 64px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.15;
    text-shadow: 0 0 30px rgba(168, 85, 247, 0.8), 0 0 60px rgba(236, 72, 153, 0.5);
}

.cn-hero-text {
    font-size: 21px;
    color: #c084fc;
    margin-bottom: 45px;
    line-height: 1.9;
}

.cn-hero-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 70px;
}

.cn-hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 70px;
}

.cn-metric-box {
    background: rgba(168, 85, 247, 0.15);
    padding: 35px 25px;
    border-radius: 16px;
    border: 2px solid rgba(168, 85, 247, 0.4);
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.cn-metric-box:hover {
    border-color: #a855f7;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
    transform: translateY(-5px);
}

.cn-metric-value {
    display: block;
    font-size: 40px;
    font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.cn-metric-label {
    font-size: 17px;
    color: #c084fc;
    font-weight: 600;
}

/* ===== Game Slider ===== */
.cn-game-slider {
    padding: 90px 0;
    background: rgba(15, 5, 35, 0.6);
    overflow: hidden;
}

.cn-section-heading {
    font-size: 46px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
    text-align: center;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.6);
}

.cn-section-subheading {
    font-size: 19px;
    color: #a78bfa;
    text-align: center;
    margin-bottom: 55px;
}

.cn-slider-container {
    overflow: hidden;
    position: relative;
}

.cn-slider-track {
    display: flex;
    animation: cn-slide 40s linear infinite;
}

.cn-slider-track:hover {
    animation-play-state: paused;
}

.cn-slider-group {
    display: flex;
    gap: 22px;
    padding: 0 22px;
    flex-shrink: 0;
}

@keyframes cn-slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cn-game-tile {
    min-width: 210px;
    background: linear-gradient(145deg, #1a0b2e 0%, #0d0221 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.cn-game-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.cn-game-tile:hover::before {
    opacity: 1;
}

.cn-game-tile:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: #a855f7;
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.4);
}

.cn-game-tile mip-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.cn-game-tile-info {
    padding: 18px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cn-game-tile-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.cn-rtp-badge {
    display: inline-block;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

/* ===== Showcase Grid ===== */
.cn-showcase {
    padding: 90px 0;
    background: linear-gradient(180deg, #0d0221 0%, #1a0b2e 100%);
}

.cn-showcase-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.cn-showcase-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.cn-showcase-card:hover {
    border-color: #ec4899;
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(236, 72, 153, 0.4);
}

.cn-showcase-card mip-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.3s;
}

.cn-showcase-card:hover mip-img {
    transform: scale(1.1);
}

.cn-showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(13, 2, 33, 0.95));
    padding: 30px 15px 18px;
}

.cn-showcase-overlay h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

/* ===== Bonus Section ===== */
.cn-bonus-section {
    padding: 110px 0;
    background: linear-gradient(135deg, #1a0b2e 0%, #0d0221 50%, #16213e 100%);
}

.cn-bonus-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.cn-bonus-item {
    background: linear-gradient(145deg, rgba(26, 11, 46, 0.8), rgba(13, 2, 33, 0.8));
    padding: 45px 32px;
    border-radius: 24px;
    text-align: center;
    border: 2px solid rgba(168, 85, 247, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cn-bonus-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cn-bonus-item:hover::after {
    opacity: 1;
}

.cn-bonus-item:hover {
    border-color: #a855f7;
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(168, 85, 247, 0.3);
}

.cn-bonus-badge {
    font-size: 65px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.cn-bonus-heading {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.cn-bonus-text {
    font-size: 16px;
    color: #c084fc;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ===== FAQ Section ===== */
.cn-faq-section {
    padding: 110px 0;
    background: #0d0221;
}

.cn-faq-wrapper {
    max-width: 1050px;
    margin: 0 auto;
}

.cn-faq-block {
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    margin-bottom: 28px;
    padding: 38px;
    border-radius: 18px;
    border-left: 5px solid #a855f7;
    position: relative;
    overflow: hidden;
}

.cn-faq-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #a855f7, #ec4899);
}

.cn-faq-heading {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    line-height: 1.45;
}

.cn-faq-content {
    color: #c084fc;
    line-height: 1.9;
}

.cn-faq-content p {
    font-size: 17px;
    line-height: 2.1;
}

/* ===== Featured Posts ===== */
.cn-featured-posts {
    padding: 110px 0;
    background: linear-gradient(180deg, #1a0b2e 0%, #0d0221 100%);
}

.cn-featured-wrapper {
    display: flex;
    flex-direction: column;
    gap: 55px;
}

.cn-featured-post {
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    border-radius: 24px;
    padding: 45px;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s;
}

.cn-featured-post:hover {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 12px 45px rgba(168, 85, 247, 0.25);
}

.cn-featured-post-top {
    margin-bottom: 32px;
    padding-bottom: 22px;
    border-bottom: 3px solid #a855f7;
}

.cn-featured-post-title {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
    line-height: 1.35;
}

.cn-featured-post-info {
    display: flex;
    gap: 28px;
    font-size: 16px;
    color: #7c3aed;
}

.cn-featured-post-time {
    color: #a855f7;
    font-weight: 700;
}

.cn-featured-post-view {
    color: #c084fc;
}

.cn-featured-post-body {
    font-size: 18px;
    line-height: 2;
    color: #e0e7ff;
}

.cn-featured-post-body p {
    margin-bottom: 22px;
}

.cn-featured-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 22px 0;
}

/* ===== Recent Posts ===== */
.cn-recent-posts {
    padding: 110px 0;
    background: linear-gradient(135deg, #0d0221 0%, #1a0b2e 100%);
}

.cn-posts-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 55px;
}

.cn-post-card {
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cn-post-card:hover {
    border-color: #ec4899;
    transform: translateY(-12px);
    box-shadow: 0 18px 45px rgba(236, 72, 153, 0.35);
}

.cn-post-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cn-post-card-thumb mip-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.cn-post-card-body {
    padding: 28px;
}

.cn-post-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cn-post-card-excerpt {
    font-size: 16px;
    color: #c084fc;
    line-height: 1.8;
    margin-bottom: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cn-post-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: #7c3aed;
}

.cn-post-card-time {
    color: #a855f7;
    font-weight: 700;
}

.cn-post-card-view {
    color: #c084fc;
}

.cn-posts-action {
    text-align: center;
}

.cn-posts-action .cn-button-secondary {
    padding: 16px 42px;
    font-size: 17px;
}

/* ===== Final CTA ===== */
.cn-final-cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    position: relative;
    overflow: hidden;
}

.cn-final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.cn-cta-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cn-cta-heading {
    font-size: 52px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 22px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cn-cta-text {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 45px;
    line-height: 1.8;
}

.cn-cta-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.cn-cta-actions .cn-button-primary {
    background: #ffffff;
    color: #a855f7;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cn-cta-actions .cn-button-primary:hover {
    background: #f3f4f6;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* ===== Article Section ===== */
.cn-article-section {
    padding: 80px 0;
    background: #0d0221;
}

.cn-breadcrumb {
    margin-bottom: 35px;
    font-size: 15px;
    color: #a78bfa;
}

.cn-breadcrumb a {
    color: #a855f7;
    text-decoration: none;
    transition: color 0.3s;
}

.cn-breadcrumb a:hover {
    color: #ec4899;
}

.cn-breadcrumb-sep {
    margin: 0 10px;
    color: #7c3aed;
}

.cn-breadcrumb-now {
    color: #c084fc;
}

.cn-article-top {
    text-align: center;
    margin-bottom: 55px;
}

.cn-article-heading {
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 18px;
}

.cn-article-lead {
    font-size: 19px;
    color: #a78bfa;
}

.cn-article-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 45px;
}

.cn-article-area {
    min-width: 0;
}

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

.cn-article-item {
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cn-article-item:hover {
    border-color: #a855f7;
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.35);
}

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

.cn-article-thumb mip-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.cn-article-body {
    padding: 28px;
}

.cn-article-card-heading {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.4;
}

.cn-article-card-text {
    font-size: 15px;
    color: #c084fc;
    line-height: 1.7;
    margin-bottom: 18px;
}

.cn-article-card-info {
    font-size: 14px;
    color: #7c3aed;
}

.cn-article-card-date {
    color: #a855f7;
    font-weight: 700;
}

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

.cn-pagination a,
.cn-pagination span {
    display: inline-block;
    padding: 11px 16px;
    margin: 0 6px;
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    color: #c084fc;
    border-radius: 10px;
    text-decoration: none;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s;
}

.cn-pagination a:hover,
.cn-pagination .active {
    background: linear-gradient(135deg, #a855f7, #ec4899);
    color: #ffffff;
    border-color: #a855f7;
}

/* Sidebar */
.cn-sidebar {
    min-width: 0;
}

.cn-sidebar-box {
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    padding: 32px;
    border-radius: 18px;
    margin-bottom: 32px;
    border: 2px solid rgba(168, 85, 247, 0.3);
}

.cn-sidebar-heading {
    font-size: 23px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 3px solid #a855f7;
}

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

.cn-popular-item,
.cn-category-item,
.cn-related-item {
    margin-bottom: 16px;
}

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

.cn-popular-link:hover,
.cn-category-link:hover,
.cn-related-link:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #ec4899;
    padding-left: 16px;
}

.cn-popular-name,
.cn-related-name {
    font-size: 15px;
    font-weight: 600;
}

.cn-category-num {
    float: right;
    color: #7c3aed;
}

/* Article Detail */
.cn-detail-section {
    padding: 80px 0;
    background: #0d0221;
}

.cn-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 45px;
}

.cn-detail-area {
    min-width: 0;
}

.cn-detail-top {
    margin-bottom: 45px;
}

.cn-detail-heading {
    font-size: 40px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 22px;
    line-height: 1.3;
}

.cn-detail-info {
    margin-bottom: 28px;
    color: #7c3aed;
    font-size: 15px;
}

.cn-detail-info span {
    margin-right: 22px;
}

.cn-detail-date {
    color: #a855f7;
    font-weight: 700;
}

.cn-detail-thumb {
    margin-bottom: 35px;
}

.cn-detail-thumb mip-img {
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.cn-detail-body {
    font-size: 18px;
    line-height: 2;
    color: #e0e7ff;
}

.cn-detail-body p {
    margin-bottom: 22px;
}

.cn-detail-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 22px 0;
}

.cn-detail-body h1,
.cn-detail-body h2,
.cn-detail-body h3,
.cn-detail-body h4 {
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 18px;
}

.cn-detail-body a {
    color: #a855f7;
    text-decoration: none;
}

.cn-detail-body a:hover {
    text-decoration: underline;
}

/* Article Navigation */
.cn-detail-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 55px;
    padding-top: 32px;
    border-top: 2px solid rgba(168, 85, 247, 0.3);
}

.cn-nav-prev,
.cn-nav-next {
    display: block;
    padding: 22px;
    background: linear-gradient(145deg, #1a0b2e, #0d0221);
    border-radius: 14px;
    text-decoration: none;
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: all 0.3s;
}

.cn-nav-prev:hover,
.cn-nav-next:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: #a855f7;
}

.cn-nav-label {
    display: block;
    font-size: 13px;
    color: #7c3aed;
    margin-bottom: 9px;
}

.cn-nav-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .cn-article-layout,
    .cn-detail-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cn-article-grid {
        grid-template-columns: 1fr;
    }
    
    .cn-article-heading {
        font-size: 32px;
    }
    
    .cn-detail-heading {
        font-size: 30px;
    }
    
    .cn-detail-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cn-article-section,
    .cn-detail-section {
        padding: 60px 0;
    }
    
    .cn-article-heading {
        font-size: 26px;
    }
    
    .cn-detail-heading {
        font-size: 24px;
    }
}

/* ===== 404 Page ===== */
.cn-404-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d0221 0%, #1a0b2e 100%);
    position: relative;
    overflow: hidden;
}

.cn-404-wrapper {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cn-404-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}

.cn-404-code {
    font-size: 180px;
    font-weight: 900;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    text-shadow: 0 0 60px rgba(168, 85, 247, 0.8);
}

.cn-404-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
}

.cn-404-text {
    font-size: 20px;
    color: #c084fc;
    margin-bottom: 45px;
    line-height: 1.7;
}

/* ===== Footer ===== */
.cn-footer {
    background: #05010a;
    padding: 65px 0 35px;
    border-top: 3px solid #a855f7;
}

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

.cn-footer-heading {
    font-size: 22px;
    font-weight: 800;
    color: #a855f7;
    margin-bottom: 22px;
}

.cn-footer-text,
.cn-footer-links {
    font-size: 16px;
    color: #a78bfa;
    line-height: 1.9;
}

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

.cn-footer-links li {
    margin-bottom: 12px;
}

.cn-footer-links a {
    color: #a78bfa;
    text-decoration: none;
    transition: all 0.3s;
}

.cn-footer-links a:hover {
    color: #ec4899;
    padding-left: 8px;
}

.cn-footer-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #a855f7, transparent);
    margin-bottom: 35px;
}

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

.cn-footer-copy {
    color: #7c3aed;
    font-size: 15px;
}

.cn-footer-partners {
    color: #7c3aed;
    font-size: 15px;
}

.cn-footer-partners a {
    color: #a78bfa;
    text-decoration: none;
    margin-left: 18px;
    transition: color 0.3s;
}

.cn-footer-partners a:hover {
    color: #ec4899;
}

/* ===== Mobile Navigation ===== */
.cn-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #0d0221 0%, #1a0b2e 100%);
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.cn-mobile-nav.active {
    right: 0;
}

.cn-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid rgba(168, 85, 247, 0.3);
}

.cn-mobile-brand mip-img {
    height: 40px;
    width: auto;
}

.cn-mobile-close {
    background: none;
    border: none;
    color: #a855f7;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px;
}

.cn-mobile-close:hover {
    color: #ec4899;
    transform: rotate(90deg);
}

.cn-mobile-content {
    padding: 20px;
}

.cn-mobile-link {
    display: block;
    padding: 15px 20px;
    color: #c084fc;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.cn-mobile-link:hover,
.cn-mobile-link.active {
    background: rgba(168, 85, 247, 0.1);
    color: #e879f9;
}

.cn-mobile-cta {
    background: linear-gradient(135deg, #a855f7, #ec4899) !important;
    color: #ffffff !important;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.cn-mobile-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.6);
}

/* Mobile Accordion */
.cn-mobile-accordion {
    margin-bottom: 10px;
}

.cn-mobile-accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    color: #c084fc;
    font-weight: 600;
    font-size: 16px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.cn-mobile-accordion-trigger:hover {
    background: rgba(168, 85, 247, 0.1);
    color: #e879f9;
}

.cn-mobile-accordion-icon {
    font-size: 12px;
    transition: transform 0.3s;
}

.cn-mobile-accordion.open .cn-mobile-accordion-icon {
    transform: rotate(180deg);
}

.cn-mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(168, 85, 247, 0.05);
    border-radius: 12px;
    margin-top: 10px;
}

.cn-mobile-accordion.open .cn-mobile-accordion-content {
    max-height: 500px;
    padding: 10px;
}

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

@media (max-width: 1024px) {
    .cn-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cn-bonus-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cn-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cn-nav-menu {
        display: none;
    }
    
    .cn-mobile-toggle {
        display: flex;
    }
    
    .cn-hero-heading {
        font-size: 40px;
    }
    
    .cn-hero-text {
        font-size: 18px;
    }
    
    .cn-hero-actions {
        flex-direction: column;
    }
    
    .cn-hero-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cn-section-heading {
        font-size: 34px;
    }
    
    .cn-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cn-bonus-cards {
        grid-template-columns: 1fr;
    }
    
    .cn-posts-masonry {
        grid-template-columns: 1fr;
    }
    
    .cn-featured-post {
        padding: 28px;
    }
    
    .cn-featured-post-title {
        font-size: 26px;
    }
    
    .cn-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cn-footer-bottom {
        flex-direction: column;
        gap: 22px;
        text-align: center;
    }
    
    .cn-cta-heading {
        font-size: 34px;
    }
    
    .cn-cta-actions {
        flex-direction: column;
    }
    
    .cn-faq-heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .cn-hero {
        padding: 70px 0;
    }
    
    .cn-hero-heading {
        font-size: 32px;
    }
    
    .cn-metric-value {
        font-size: 32px;
    }
    
    .cn-section-heading {
        font-size: 28px;
    }
    
    .cn-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .cn-game-tile {
        min-width: 190px;
    }
    
    .cn-game-tile mip-img {
        height: 190px;
    }
}

/* ==================== casino_neon 补全 ==================== */
.cn-main {
    min-height: 60vh;
    padding: 40px 0;
}

.cn-detail-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(168, 85, 247, 0.8);
    font-size: 14px;
}

.cn-footer-col {
    flex: 1;
    min-width: 200px;
    margin-bottom: 24px;
}

.cn-footer-col h4 {
    color: #a855f7;
    margin-bottom: 14px;
    font-size: 18px;
}

.cn-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cn-footer-col li {
    margin-bottom: 8px;
}

.cn-footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
}

.cn-footer-col a:hover {
    color: #a855f7;
}
