/* ===============
   HERO
   =============== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,229,255,0.12) 0%, transparent 70%),
                radial-gradient(ellipse 50% 40% at 80% 80%, rgba(245,197,24,0.07) 0%, transparent 60%),
                var(--bg);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 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='%2300e5ff' fill-opacity='0.03'%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");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: var(--primary);
    color: #0b0c1a;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    transition: background var(--speed), box-shadow var(--speed), transform var(--speed);
}

.btn-hero:hover {
    background: #fff;
    box-shadow: 0 0 32px rgba(0,229,255,0.4);
    transform: translateY(-3px);
}

/* ===============
   SECTION TITLE
   =============== */
.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin: 72px 0 40px;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ===============
   GAME GRID
   =============== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--speed), box-shadow var(--speed), border-color var(--speed);
    backdrop-filter: blur(8px);
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), var(--glow);
    border-color: var(--primary);
}

.game-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-img {
    transform: scale(1.05);
}

.game-card > a {
    display: block;
    overflow: hidden;
}

.game-card-content {
    padding: 20px;
}

.game-card-content h3 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.game-card-content p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============
   NEWS GRID
   =============== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 72px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--speed), border-color var(--speed);
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,229,255,0.3);
}

.news-card > a {
    display: block;
    padding: 0;
}

.news-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.news-card > a > .news-meta,
.news-card > a > h4,
.news-card > a > p {
    display: block;
    padding: 0 18px;
}

.news-meta {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent);
    padding: 14px 18px 6px;
}

.news-card h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    padding: 0 18px;
    color: var(--text);
    transition: color var(--speed);
    line-height: 1.4;
}

.news-card:hover h4 { color: var(--primary); }

.news-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.55;
    padding: 0 18px 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 768px) {
    .hero { padding: 100px 0 70px; }
    .section-title { margin: 52px 0 28px; }
    .game-grid, .news-grid { gap: 16px; margin-bottom: 52px; }
}

@media (max-width: 480px) {
    .hero { padding: 80px 0 56px; }
    .game-grid { grid-template-columns: 1fr 1fr; }
    .news-grid { grid-template-columns: 1fr; }
}

/* ===============
   STATS BAR
   =============== */
.stats-bar {
    background: linear-gradient(90deg, rgba(0,229,255,0.07) 0%, rgba(245,197,24,0.05) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 36px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===============
   FEATURED SPOTLIGHT
   =============== */
.featured-spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 72px;
    transition: box-shadow var(--speed);
}

.featured-spotlight:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), var(--glow);
}

.featured-img-wrap {
    position: relative;
    display: block;
    overflow: hidden;
}

.featured-img-wrap img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-spotlight:hover .featured-img-wrap img { transform: scale(1.05); }

.featured-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--accent);
    color: #0b0c1a;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

.featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.featured-body h3 {
    font-family: var(--font-head);
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--text);
}

.featured-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-featured {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    background: var(--primary);
    color: #0b0c1a;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    width: fit-content;
    transition: background var(--speed), box-shadow var(--speed), transform var(--speed);
}

.btn-featured:hover {
    background: #fff;
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

/* ===============
   WHY CHOOSE US
   =============== */
.why-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 0;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
    backdrop-filter: blur(8px);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,229,255,0.3);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.why-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    line-height: 1;
}

.why-card h4 {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ===============
   CTA BANNER
   =============== */
.cta-section {
    background: linear-gradient(135deg, rgba(0,229,255,0.12) 0%, rgba(245,197,24,0.08) 100%);
    border-top: 1px solid rgba(0,229,255,0.15);
    border-bottom: 1px solid rgba(0,229,255,0.15);
    padding: 72px 0;
    margin-top: 80px;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: var(--primary);
    color: #0b0c1a;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background var(--speed), box-shadow var(--speed), transform var(--speed);
    flex-shrink: 0;
}

.btn-cta:hover {
    background: #fff;
    box-shadow: 0 0 32px rgba(0,229,255,0.4);
    transform: translateY(-3px);
}

/* ===============
   RESPONSIVE — NEW SECTIONS
   =============== */
@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2) { border-right: none; }
    .stat-item:nth-child(3) { border-right: 1px solid var(--border); }

    .featured-spotlight { grid-template-columns: 1fr; }
    .featured-img-wrap img { min-height: 240px; }
    .featured-body { padding: 28px; }

    .cta-inner { flex-direction: column; text-align: center; }
    .cta-text p { max-width: 100%; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-item:nth-child(3) { border-right: none; }
    .why-section { padding: 56px 0; }
    .cta-section { padding: 52px 0; }
}

/* ===============
   CATEGORIES STRIP
   =============== */
.categories-strip {
    padding: 16px 0 8px;
}

.categories-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
    -webkit-overflow-scrolling: touch;
}

.categories-scroll::-webkit-scrollbar { height: 4px; }
.categories-scroll::-webkit-scrollbar-track { background: transparent; }
.categories-scroll::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 2px; }

.category-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 100px;
    padding: 16px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: border-color var(--speed), transform var(--speed), box-shadow var(--speed);
    text-align: center;
}

.category-chip:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.category-chip img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 10px;
}

.category-chip span {
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.3;
    transition: color var(--speed);
}

.category-chip:hover span { color: var(--primary); }

/* ===============
   TRENDING POSTS
   =============== */
.trending-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 64px 0;
}

.trending-inner { }

.trending-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.trending-label {
    background: rgba(245,197,24,0.12);
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(245,197,24,0.25);
}

.trending-header h2 {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.5px;
    flex: 1;
}

.trending-view-all {
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--speed);
}

.trending-view-all:hover { color: var(--accent); }

.trending-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    list-style: none;
    counter-reset: trending-counter;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    transition: border-color var(--speed), transform var(--speed);
    counter-increment: trending-counter;
}

.trending-item:hover {
    border-color: rgba(0,229,255,0.3);
    transform: translateX(4px);
}

.trending-num {
    font-family: var(--font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--border);
    min-width: 32px;
    line-height: 1;
}

.trending-num::before {
    content: counter(trending-counter, decimal-leading-zero);
}

.trending-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.trending-info { flex: 1; min-width: 0; }

.trending-info h4 {
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 6px;
    color: var(--text);
    transition: color var(--speed);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trending-item:hover .trending-info h4 { color: var(--primary); }

.trending-date {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ===============
   HOW IT WORKS
   =============== */
.how-section {
    padding: 80px 0;
}

.how-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 8px;
}

.how-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0 16px;
}

.how-step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,229,255,0.15), rgba(0,229,255,0.05));
    border: 2px solid rgba(0,229,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
    transition: background var(--speed), box-shadow var(--speed);
}

.how-step:hover .how-step-num {
    background: rgba(0,229,255,0.2);
    box-shadow: var(--glow);
}

.how-step-body h4 {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.how-step-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.how-connector {
    flex-shrink: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    margin-top: 32px;
    opacity: 0.3;
}

/* ===============
   TESTIMONIALS
   =============== */
.testimonials-section {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 0;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform var(--speed), border-color var(--speed), box-shadow var(--speed);
    backdrop-filter: blur(8px);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,229,255,0.25);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.testimonial-stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 800;
    color: #0b0c1a;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-head);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===============
   RESPONSIVE — EXTRA SECTIONS
   =============== */
@media (max-width: 900px) {
    .how-steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .how-step { flex-direction: row; text-align: left; width: 100%; max-width: 480px; }
    .how-step-body { text-align: left; }

    .how-connector {
        width: 2px;
        height: 32px;
        background: linear-gradient(180deg, var(--primary), transparent);
        margin-top: 0;
    }

    .trending-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .how-section { padding: 56px 0; }
    .testimonials-section { padding: 56px 0; }
    .trending-section { padding: 48px 0; }
}
