/* ============================================
   Jyxon.top - Homepage Specific Styles
   Bright, clean design
   ============================================ */

/* ============================================
   HERO BANNER — Full-width, bright gradient
   ============================================ */

.jx-hero {
    position: relative;
    width: 100%;
    padding: 56px 24px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 30%, #f8fafc 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jx-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.jx-hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.jx-hero-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 5px 16px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.jx-hero h1 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.25;
    margin-bottom: 14px;
}

.jx-hero h1 em {
    font-style: normal;
    color: #22c55e;
}

.jx-hero p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.jx-hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.jx-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.jx-hero-btn-primary {
    background: #22c55e;
    color: #fff;
}

.jx-hero-btn-primary:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.jx-hero-btn-ghost {
    background: #ffffff;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.jx-hero-btn-ghost:hover {
    color: #22c55e;
    border-color: #22c55e;
}

/* ============================================
   STATS STRIP
   ============================================ */

.jx-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.jx-stat {
    text-align: center;
}

.jx-stat-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #22c55e;
}

.jx-stat-label {
    font-size: 0.72rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* ============================================
   CATEGORY PILLS
   ============================================ */

.jx-cat-pills {
    display: flex;
    gap: 8px;
    padding: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.jx-cat-pills::-webkit-scrollbar { display: none; }

.jx-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.jx-cat-pill:hover,
.jx-cat-pill.jx-active {
    background: rgba(34, 197, 94, 0.06);
    border-color: #22c55e;
    color: #22c55e;
}

.jx-cat-pill .jx-cat-count {
    font-size: 0.7rem;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 1px 7px;
    border-radius: 10px;
}

.jx-cat-pill.jx-active .jx-cat-count {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

/* ============================================
   GAME OF THE DAY
   ============================================ */

.jx-gotd {
    display: flex;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jx-gotd-image {
    width: 360px;
    flex-shrink: 0;
    overflow: hidden;
}

.jx-gotd-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jx-gotd-content {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.jx-gotd-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.jx-gotd-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}

.jx-gotd-content p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.65;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jx-gotd-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jx-gotd-meta .jx-play-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.jx-gotd-meta .jx-gotd-info {
    font-size: 0.78rem;
    color: #9ca3af;
}

/* ============================================
   HORIZONTAL SCROLL ROW
   ============================================ */

.jx-scroll-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
    margin-bottom: 12px;
}

.jx-scroll-row::-webkit-scrollbar {
    height: 4px;
}

.jx-scroll-row::-webkit-scrollbar-track {
    background: transparent;
}

.jx-scroll-row::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.jx-scroll-row .jx-card {
    flex-shrink: 0;
    width: 180px;
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */

.jx-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 12px;
}

.jx-two-col .jx-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
}

/* ============================================
   FEATURES STRIP
   ============================================ */

.jx-features-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 32px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jx-feat {
    padding: 24px 20px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
}

.jx-feat:last-child { border-right: none; }

.jx-feat-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.jx-feat h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}

.jx-feat p {
    font-size: 0.78rem;
    color: #9ca3af;
    line-height: 1.5;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .jx-hero h1 { font-size: 1.8rem; }
    .jx-gotd-image { width: 280px; }
    .jx-two-col { grid-template-columns: 1fr; gap: 20px; }
    .jx-features-strip { grid-template-columns: repeat(2, 1fr); }
    .jx-feat:nth-child(2) { border-right: none; }
    .jx-stats { gap: 32px; }
}

@media (max-width: 768px) {
    .jx-hero { padding: 36px 16px; }
    .jx-hero h1 { font-size: 1.5rem; }
    .jx-hero p { font-size: 0.9rem; }
    .jx-hero-actions { flex-direction: column; align-items: center; gap: 10px; }

    .jx-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .jx-stat { flex: 0 0 40%; text-align: center; }

    .jx-gotd { flex-direction: column; }
    .jx-gotd-image { width: 100%; height: 200px; }
    .jx-gotd-content { padding: 20px; }

    .jx-features-strip { grid-template-columns: 1fr 1fr; }
    .jx-feat { border-right: none; border-bottom: 1px solid #e5e7eb; }
    .jx-feat:nth-child(2) { border-right: none; }

    .jx-scroll-row .jx-card { width: 150px; }
}

/* ============================================
   BLOG STRIP — Latest Articles
   ============================================ */

.jx-blog-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.jx-blog-card {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.jx-blog-card:hover {
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
    transform: translateY(-2px);
}

.jx-blog-card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.jx-blog-card-text h4 {
    font-size: 0.88rem;
    color: #1f2937;
    margin: 0 0 4px;
    line-height: 1.4;
}

.jx-blog-card-text p {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .jx-blog-strip { grid-template-columns: 1fr; }
    .jx-editor-picks { grid-template-columns: 1fr 1fr; }
    .jx-tips-grid { grid-template-columns: 1fr; }
}

/* ============================================
   GAME OF THE DAY — Why We Love It
   ============================================ */

.jx-gotd-why {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    border-radius: 0 6px 6px 0;
}

.jx-gotd-why strong {
    color: #16a34a;
}

/* ============================================
   EDITOR'S PICKS
   ============================================ */

.jx-editor-picks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 12px;
}

.jx-ep-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    border: 1px solid #e5e7eb;
    transition: all 0.25s;
}

.jx-ep-card:hover {
    transform: translateY(-3px);
    border-color: #22c55e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.jx-ep-card a { display: block; }

.jx-ep-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jx-ep-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 14px 14px;
    color: #fff;
}

.jx-ep-overlay h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.jx-ep-overlay p {
    font-size: 0.74rem;
    color: #d1d5db;
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   GAMING TIPS
   ============================================ */

.jx-gaming-tips {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jx-gaming-tips h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 16px;
}

.jx-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.jx-tip {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    padding: 14px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.jx-tip strong {
    color: #1f2937;
}

/* ============================================
   MISSION STRIP
   ============================================ */

.jx-mission-strip {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 28px 32px;
    margin-top: 24px;
    margin-bottom: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jx-mission-strip h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
}

.jx-mission-strip p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.75;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 480px) {
    .jx-hero h1 { font-size: 1.3rem; }
    .jx-gotd-content h2 { font-size: 1.15rem; }
    .jx-stats { gap: 16px; }
    .jx-editor-picks { grid-template-columns: 1fr; }
}
