/*
Theme Name: DHAN7 Starter SEO
Theme URI: https://dhan7.game/
Author: DHAN7 SEO Studio
Author URI: https://dhan7.game/
Description: A radically different DHAN7 WordPress SEO theme built on an asymmetric Bento Grid homepage with Glassmorphism cards, animated counters, horizontal game rail, FAQ accordion, scroll-reveal motion, and an extended schema stack (FAQPage, VideoObject, BreadcrumbList, SoftwareApplication). Local assets, embedded videos, dynamic ALATEST NEWS, /lv.html routing.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dhan7-starter-seo
Tags: landing-page, gaming, seo, dark, responsive, bento-grid, glassmorphism
*/

:root {
    --dhan-bg: #080b1a;
    --dhan-bg-soft: #0c1024;
    --dhan-card: #12152e;
    --dhan-red: #6366f1;
    --dhan-red-bright: #a78bfa;
    --dhan-magenta: #ec4899;
    --dhan-text: #f7f7fb;
    --dhan-muted: #9ba3c7;
    --dhan-line: rgba(255,255,255,.12);
    --dhan-glass: rgba(255,255,255,.05);
    --dhan-radius: 24px;
    --dhan-shadow: 0 22px 70px rgba(0,0,0,.5);
    --dhan-container: 1280px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--dhan-bg);
    color: var(--dhan-text);
    font-family: Inter, Montserrat, Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img, video {
    max-width: 100%;
    display: block;
}

.dhan-container {
    width: min(100% - 32px, var(--dhan-container));
    margin: 0 auto;
}

.dhan-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 99;
    background: rgba(16,16,18,.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--dhan-line);
}

.dhan-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.dhan-logo {
    font-size: 30px;
    font-weight: 900;
    color: var(--dhan-red);
    letter-spacing: .03em;
}

.dhan-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #d8d8dd;
    font-size: 14px;
    letter-spacing: .08em;
}

.dhan-nav a:hover {
    color: var(--dhan-red-bright);
}

.dhan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dhan-red), #9b1230);
    color: white;
    font-weight: 800;
    letter-spacing: .04em;
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 12px 34px rgba(223,38,77,.28);
    transition: transform .25s ease, box-shadow .25s ease;
}

.dhan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(223,38,77,.42);
}

.dhan-btn-outline {
    background: transparent;
    color: var(--dhan-text);
    box-shadow: none;
}

.dhan-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--dhan-line);
    border-radius: 12px;
    background: transparent;
    color: white;
    font-size: 24px;
}

.dhan-main {
    padding-top: 72px;
}

.dhan-hero {
    min-height: calc(100vh - 72px);
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(223,38,77,.28), transparent 38%), #050506;
}

.dhan-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.dhan-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,8,9,.95) 0%, rgba(8,8,9,.58) 48%, rgba(8,8,9,.18) 100%);
}

.dhan-hero-center-download {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dhan-hero-center-download img {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 18px 38px rgba(0, 0, 0, .45));
    transition: transform .25s ease, filter .25s ease;
}

.dhan-hero-center-download a:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 22px 48px rgba(223, 38, 77, .45));
}

.dhan-hero-content {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 72px);
    display: grid;
    align-content: center;
    max-width: 740px;
    padding: 80px 0;
}

.dhan-kicker {
    color: var(--dhan-red-bright);
    font-weight: 900;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.dhan-hero h1 {
    margin: 0;
    font-size: clamp(46px, 8vw, 104px);
    line-height: .92;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.dhan-hero h1 span {
    color: var(--dhan-red);
}

.dhan-lead {
    margin: 26px 0 34px;
    color: #d6d6dc;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.7;
    max-width: 620px;
}

.dhan-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.dhan-scroll {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    color: rgba(255,255,255,.72);
    font-size: 12px;
    letter-spacing: .3em;
}

.dhan-section {
    padding: clamp(64px, 8vw, 110px) 0;
    background: var(--dhan-bg);
}

.dhan-section.alt {
    background: var(--dhan-bg-soft);
}

.dhan-section-title {
    text-align: center;
    margin: 0 auto 20px;
    color: var(--dhan-red);
    font-size: clamp(30px, 5vw, 56px);
    line-height: 1.05;
    text-transform: uppercase;
}

.dhan-section-desc {
    text-align: center;
    color: var(--dhan-muted);
    max-width: 850px;
    margin: 0 auto 46px;
    line-height: 1.8;
}

.dhan-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.dhan-card {
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border: 1px solid var(--dhan-line);
    border-radius: var(--dhan-radius);
    padding: 28px;
    box-shadow: var(--dhan-shadow);
}

.dhan-card h3 {
    margin: 0 0 12px;
    color: white;
    font-size: 22px;
}

.dhan-card p {
    margin: 0;
    color: var(--dhan-muted);
    line-height: 1.75;
}

.dhan-earth-video-wrap {
    margin: 38px auto 0;
    width: min(820px, 100%);
    aspect-ratio: 16 / 8.4;
    border-radius: 999px;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(223,38,77,.28), rgba(18,18,22,.9));
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 0 54px rgba(223,38,77,.26), var(--dhan-shadow);
}

.dhan-earth-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92;
}

.dhan-games {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.dhan-game {
    min-height: 150px;
    border-radius: 18px;
    background: linear-gradient(145deg, #24242a, #121216);
    border: 1px solid var(--dhan-line);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 16px;
    color: white;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

.dhan-game span {
    color: var(--dhan-red-bright);
    display: block;
    margin-bottom: 8px;
    font-size: 26px;
}

.dhan-showcase {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 54px;
    align-items: center;
}

.dhan-phone {
    aspect-ratio: 1 / 1.1;
    border-radius: 32px;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.24), transparent 18%), linear-gradient(145deg, #d7224b, #4e0719 58%, #111);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: var(--dhan-shadow);
    display: grid;
    place-items: center;
    padding: 34px;
    text-align: center;
}

.dhan-phone strong {
    font-size: clamp(42px, 8vw, 86px);
    line-height: .9;
}

.dhan-copy h2 {
    color: var(--dhan-red);
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.02;
    margin: 0 0 22px;
}

.dhan-copy p {
    color: var(--dhan-muted);
    line-height: 1.85;
    margin: 0 0 18px;
}

.dhan-earn-list {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.dhan-earn-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.035);
}

.dhan-earn-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--dhan-red), #7d1029);
    display: grid;
    place-items: center;
    font-size: 24px;
}

.dhan-earn-item h3 {
    margin: 0 0 4px;
}

.dhan-earn-item p {
    margin: 0;
    color: var(--dhan-muted);
}

.dhan-about {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.dhan-footer {
    border-top: 1px solid var(--dhan-line);
    background: #0b0b0d;
    padding: 48px 0 86px;
    color: var(--dhan-muted);
}

.dhan-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
}

.dhan-footer h3 {
    color: white;
    margin: 0 0 14px;
}

.dhan-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.dhan-footer a:hover {
    color: var(--dhan-red-bright);
}

.dhan-copyright {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--dhan-line);
    font-size: 13px;
}

.dhan-logo img {
    width: 142px;
    height: auto;
}

.dhan-menu-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dhan-download-img img {
    height: 44px;
    width: auto;
}

.dhan-swipe {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 18px;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    letter-spacing: .28em;
    z-index: 3;
}

.dhan-swipe span {
    display: block;
    width: 74px;
    height: 1px;
    background: rgba(255,255,255,.45);
}

.dhan-brand-section {
    overflow: hidden;
}

.dhan-earth-stage {
    width: min(820px, 100%);
    margin: 42px auto 54px;
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 0 70px rgba(223,38,77,.28);
}

.dhan-brand-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.dhan-feature-card {
    min-height: 260px;
    padding: 26px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
    box-shadow: var(--dhan-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dhan-feature-card h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 22px;
}

.dhan-feature-card p {
    color: var(--dhan-muted);
    line-height: 1.65;
    margin: 0 0 18px;
}

.dhan-feature-card > img {
    max-height: 128px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.dhan-yx-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.dhan-yx-icons img {
    width: 46px;
    height: 57px;
    object-fit: contain;
    margin: auto;
}

.dhan-games-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-height: 820px;
    overflow: hidden;
    position: relative;
}

.dhan-games-wall::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(transparent, var(--dhan-bg-soft));
    pointer-events: none;
}

.dhan-game-img img {
    width: 100%;
    border-radius: 16px;
    background: #181819;
    box-shadow: 0 10px 28px rgba(0,0,0,.32);
    transition: transform .25s ease;
}

.dhan-game-img:hover img {
    transform: translateY(-4px);
}

.dhan-banner-grid {
    display: grid;
    gap: 30px;
}

.dhan-banner-card {
    display: grid;
    grid-template-columns: minmax(260px, 520px) 1fr;
    align-items: center;
    gap: 46px;
    padding: 34px;
    border-radius: 28px;
    background: #181819;
    border: 1px solid rgba(255,255,255,.1);
}

.dhan-banner-card img {
    width: 100%;
    border-radius: 20px;
}

.dhan-banner-card h3 {
    color: var(--dhan-red);
    font-size: clamp(28px, 4vw, 50px);
    margin: 0 0 18px;
}

.dhan-banner-card p {
    color: var(--dhan-muted);
    line-height: 1.8;
}

.dhan-earn-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.dhan-section-title.left,
.dhan-section-desc.left {
    text-align: left;
    margin-left: 0;
}

.dhan-download-mini img {
    height: 46px;
    width: auto;
    margin-bottom: 26px;
}

.dhan-earn-item img {
    width: 66px;
    height: 66px;
    object-fit: contain;
}

.dhan-earn-img {
    width: 100%;
}

.dhan-about-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.dhan-about-img-card {
    min-height: 360px;
    padding: 44px;
    background-size: cover;
    background-position: center;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.1);
}

.dhan-about-img-card h3 {
    color: #fff;
    max-width: 420px;
    margin: 0 0 24px;
}

.dhan-about-img-card p {
    color: #c1c1c7;
    line-height: 1.8;
    max-width: 520px;
}

.dhan-news-card {
    display: block;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}

.dhan-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 48px rgba(223, 38, 77, .18);
}

.dhan-news-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dhan-news-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dhan-manufacturers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 42px 70px;
    align-items: center;
    justify-items: center;
    max-width: 900px;
    margin: 42px auto 0;
}

.dhan-manufacturers img {
    max-height: 58px;
    width: auto;
    object-fit: contain;
}

.dhan-footer-logo {
    width: 150px;
    margin-bottom: 16px;
}

.dhan-socials {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.dhan-socials img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

@media (max-width: 960px) {
    .dhan-menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .dhan-menu-list,
    .dhan-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 82px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border: 1px solid var(--dhan-line);
        border-radius: 18px;
        background: rgba(16,16,18,.96);
    }

    .dhan-nav.is-open,
    .dhan-nav.is-open .dhan-menu-list {
        display: flex;
    }

    .dhan-nav a {
        padding: 14px;
        border-bottom: 1px solid var(--dhan-line);
    }

    .dhan-header-cta {
        display: none;
    }

    .dhan-brand-grid,
    .dhan-showcase,
    .dhan-about,
    .dhan-footer-grid,
    .dhan-brand-feature-grid,
    .dhan-banner-card,
    .dhan-earn-layout,
    .dhan-about-img-grid {
        grid-template-columns: 1fr;
    }

    .dhan-games,
    .dhan-games-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .dhan-manufacturers {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

@media (max-width: 560px) {
    .dhan-hero-content {
        padding: 54px 0 90px;
    }

    .dhan-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .dhan-games,
    .dhan-games-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    .dhan-hero-center-download img {
        height: 58px;
        width: auto;
    }

    .dhan-swipe {
        bottom: 22px;
    }

    .dhan-swipe span {
        width: 36px;
    }

    .dhan-about-img-card {
        padding: 28px;
    }
}

/* ===== WordPress Inner Templates ===== */
.dhan-inner-hero {
    padding: 140px 0 76px;
    background: radial-gradient(circle at 72% 20%, rgba(223,38,77,.28), transparent 34%), linear-gradient(180deg, #111114, #181819);
    border-bottom: 1px solid var(--dhan-line);
}

.dhan-inner-hero h1 {
    margin: 0;
    max-width: 980px;
    color: #fff;
    font-size: clamp(34px, 5vw, 68px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.dhan-archive-desc {
    max-width: 760px;
    margin-top: 18px;
    color: var(--dhan-muted);
    line-height: 1.8;
}

.dhan-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.dhan-post-card {
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border: 1px solid var(--dhan-line);
    box-shadow: var(--dhan-shadow);
}

.dhan-post-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    background: #09090a;
    overflow: hidden;
}

.dhan-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.dhan-post-card:hover .dhan-post-thumb img {
    transform: scale(1.05);
}

.dhan-post-card-body {
    padding: 24px;
}

.dhan-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
    color: var(--dhan-red-bright);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dhan-post-card h2 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.25;
}

.dhan-post-card h2 a:hover,
.dhan-post-meta a:hover {
    color: var(--dhan-red-bright);
}

.dhan-post-excerpt {
    color: var(--dhan-muted);
    line-height: 1.75;
    margin-bottom: 18px;
}

.dhan-read-more {
    color: var(--dhan-red-bright);
    font-weight: 900;
    letter-spacing: .08em;
}

.dhan-pagination {
    margin-top: 42px;
    display: flex;
    justify-content: center;
}

.dhan-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dhan-pagination a,
.dhan-pagination span {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.04);
}

.dhan-pagination .current,
.dhan-pagination a:hover {
    background: var(--dhan-red);
    color: #fff;
}

.dhan-content-wrap {
    max-width: 920px;
}

.dhan-single-article {
    padding: clamp(26px, 5vw, 52px);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
    border: 1px solid var(--dhan-line);
    box-shadow: var(--dhan-shadow);
}

.dhan-single-header h1 {
    margin: 0 0 28px;
    color: #fff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.dhan-single-thumb {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: 22px;
    background: #09090a;
}

.dhan-single-thumb img {
    width: 100%;
    height: auto;
}

.dhan-entry-content {
    color: #d7d7dd;
    font-size: 17px;
    line-height: 1.9;
}

.dhan-entry-content p,
.dhan-entry-content ul,
.dhan-entry-content ol,
.dhan-entry-content blockquote,
.dhan-entry-content table {
    margin-top: 0;
    margin-bottom: 22px;
}

.dhan-entry-content h2,
.dhan-entry-content h3,
.dhan-entry-content h4 {
    color: #fff;
    margin: 34px 0 16px;
    line-height: 1.25;
}

.dhan-entry-content a {
    color: var(--dhan-red-bright);
    font-weight: 700;
}

.dhan-entry-content img {
    border-radius: 18px;
    margin: 28px auto;
}

.dhan-entry-content blockquote {
    padding: 20px 24px;
    border-left: 4px solid var(--dhan-red);
    background: rgba(255,255,255,.04);
    border-radius: 14px;
}

.dhan-single-footer {
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--dhan-line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.dhan-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dhan-tags a {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(223,38,77,.13);
    color: var(--dhan-red-bright);
}

.dhan-post-nav {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.dhan-post-nav a {
    display: block;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.04);
}

.dhan-post-nav a:hover {
    background: rgba(223,38,77,.16);
    color: #fff;
}

.dhan-empty-state {
    text-align: center;
    padding: 70px 24px;
    border-radius: 28px;
    border: 1px solid var(--dhan-line);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
}

.dhan-empty-state h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 34px;
}

.dhan-empty-state p {
    color: var(--dhan-muted);
    margin-bottom: 26px;
}

.dhan-search-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
}

.dhan-search-form label {
    flex: 1;
}

.dhan-search-field {
    width: 100%;
    height: 48px;
    border-radius: 999px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: 0 18px;
    outline: none;
}

.dhan-search-field:focus {
    border-color: var(--dhan-red);
}

.dhan-search-submit {
    height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    background: var(--dhan-red);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.dhan-search-box {
    margin-top: 26px;
}

.dhan-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.dhan-comments {
    margin-top: 34px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.04);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 960px) {
    .dhan-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dhan-post-grid,
    .dhan-post-nav {
        grid-template-columns: 1fr;
    }

    .dhan-search-form {
        flex-direction: column;
    }

    .dhan-single-article {
        padding: 24px;
    }
}


/* ===================================================================
   DHAN7 Starter SEO — Bento Grid + Glassmorphism + Motion
   =================================================================== */

body {
    background:
        radial-gradient(circle at 15% 8%, rgba(99,102,241,.16), transparent 30%),
        radial-gradient(circle at 85% 18%, rgba(236,72,153,.14), transparent 32%),
        radial-gradient(circle at 60% 90%, rgba(167,139,250,.12), transparent 34%),
        linear-gradient(180deg, #060814 0%, #0a0e20 50%, #05070f 100%);
    background-attachment: fixed;
}

/* Hero tuning for indigo palette */
.dhan-hero {
    background: radial-gradient(circle at center, rgba(99,102,241,.28), transparent 40%), #05070f;
}

.dhan-hero-overlay {
    background: linear-gradient(180deg, rgba(6,8,20,.55) 0%, rgba(6,8,20,.25) 45%, rgba(6,8,20,.85) 100%);
}

.dhan-swipe b {
    color: var(--dhan-red-bright);
}

/* Floating gradient orbs for depth */
.dhan-bento-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.dhan-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
}

.dhan-orb-1 {
    width: 460px;
    height: 460px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(99,102,241,.6), transparent 70%);
}

.dhan-orb-2 {
    width: 520px;
    height: 520px;
    top: 40%;
    right: -160px;
    background: radial-gradient(circle, rgba(236,72,153,.5), transparent 70%);
}

.dhan-orb-3 {
    width: 400px;
    height: 400px;
    bottom: -140px;
    left: 30%;
    background: radial-gradient(circle, rgba(167,139,250,.5), transparent 70%);
}

/* ---- Bento Grid ---- */
.dhan-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
    max-width: var(--dhan-container);
    margin: 0 auto;
    padding: 64px 20px 96px;
}

.dhan-bento-item {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--dhan-radius);
    border: 1px solid rgba(255,255,255,.12);
    background: var(--dhan-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--dhan-shadow);
}

.dhan-bento-item h2 {
    margin: 0 0 14px;
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.05;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--dhan-red-bright), var(--dhan-magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dhan-bento-item h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
}

.dhan-bento-item p {
    margin: 0;
    color: var(--dhan-muted);
    line-height: 1.7;
}

.dhan-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(167,139,250,.4);
    background: rgba(99,102,241,.12);
    color: var(--dhan-red-bright);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.dhan-inline-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--dhan-red-bright);
    font-weight: 800;
    letter-spacing: .04em;
}

.dhan-bento-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.dhan-bento-head h2 {
    margin: 0;
}

/* ---- Grid placement (desktop) ---- */
.dhan-bento-brand { grid-column: span 2; }
.dhan-bento-earth { grid-column: span 2; }
.dhan-bento-stats { grid-column: span 1; }
.dhan-bento-games-featured { grid-column: span 1; grid-row: span 2; }
.dhan-bento-games-grid { grid-column: span 3; grid-row: span 2; }
.dhan-bento-banner-main { grid-column: span 2; }
.dhan-bento-banners { grid-column: span 2; }
.dhan-bento-earn { grid-column: span 2; grid-row: span 2; }
.dhan-bento-partners { grid-column: span 2; }
.dhan-bento-about-1 { grid-column: span 2; }
.dhan-bento-about-2 { grid-column: span 2; }
.dhan-bento-news { grid-column: span 4; }
.dhan-bento-faq { grid-column: span 4; }

/* ---- Earth video card ---- */
.dhan-bento-earth {
    padding: 0;
    min-height: 240px;
}

.dhan-bento-earth .dhan-earth-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .9;
}

.dhan-bento-earth figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(6,8,20,.9));
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: 14px;
}

/* ---- Stats counters ---- */
.dhan-stat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    height: 100%;
    align-content: center;
}

.dhan-stat {
    text-align: center;
}

.dhan-stat-num {
    display: block;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--dhan-red), var(--dhan-red-bright));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dhan-stat-label {
    display: block;
    margin-top: 8px;
    color: var(--dhan-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

/* ---- Featured game ---- */
.dhan-bento-games-featured {
    padding: 0;
}

.dhan-featured-link {
    display: block;
    position: relative;
    height: 100%;
    min-height: 300px;
}

.dhan-featured-link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.dhan-featured-link:hover img {
    transform: scale(1.08);
}

.dhan-featured-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 22px;
    background: linear-gradient(transparent, rgba(6,8,20,.92));
}

.dhan-featured-caption h3 {
    margin: 6px 0 4px;
    font-size: 24px;
}

/* ---- Games horizontal rail ---- */
.dhan-scroll-ctrl {
    display: flex;
    gap: 10px;
}

.dhan-scroll-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.06);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.dhan-scroll-btn:hover {
    background: var(--dhan-red);
    transform: translateY(-2px);
}

.dhan-games-rail {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--dhan-red) transparent;
}

.dhan-games-rail::-webkit-scrollbar {
    height: 8px;
}

.dhan-games-rail::-webkit-scrollbar-thumb {
    background: var(--dhan-red);
    border-radius: 999px;
}

.dhan-game-tile {
    position: relative;
    flex: 0 0 auto;
    width: 168px;
    scroll-snap-align: start;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--dhan-line);
    background: #10142c;
    transition: transform .3s ease, box-shadow .3s ease, z-index 0s;
}

.dhan-game-tile img {
    width: 100%;
    display: block;
    transition: transform .3s ease;
}

.dhan-game-tile:hover {
    transform: scale(1.15);
    z-index: 5;
    box-shadow: 0 20px 50px rgba(99,102,241,.4);
}

.dhan-game-name {
    position: absolute;
    inset: auto 0 0 0;
    padding: 12px 10px;
    background: linear-gradient(transparent, rgba(6,8,20,.95));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.dhan-game-tile:hover .dhan-game-name {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Main banner card ---- */
.dhan-bento-banner-main {
    display: flex;
    align-items: flex-end;
    min-height: 240px;
    background-size: cover;
    background-position: center;
}

.dhan-bento-banner-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,8,20,.9), rgba(6,8,20,.2));
}

.dhan-banner-main-copy {
    position: relative;
    z-index: 1;
}

.dhan-banner-main-copy h3 {
    font-size: clamp(24px, 3vw, 36px);
    color: #fff;
    margin: 0 0 8px;
}

/* ---- Mini banners ---- */
.dhan-banner-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    height: 100%;
}

.dhan-banner-mini {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--dhan-line);
    background: #10142c;
}

.dhan-banner-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.dhan-banner-mini:hover img {
    transform: scale(1.06);
}

.dhan-banner-mini span {
    position: absolute;
    left: 12px;
    bottom: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .05em;
    text-shadow: 0 2px 10px rgba(0,0,0,.8);
}

/* ---- Earn card ---- */
.dhan-earn-mini {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.dhan-earn-mini li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.035);
}

.dhan-earn-mini img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.dhan-earn-mini h4 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 15px;
}

.dhan-earn-mini p {
    margin: 0;
    font-size: 13px;
}

.dhan-download-mini {
    display: inline-block;
    margin-top: 20px;
}

.dhan-download-mini img {
    height: 46px;
    width: auto;
}

/* ---- Partners ---- */
.dhan-partner-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 24px;
    align-items: center;
    justify-items: center;
    margin-top: 8px;
}

.dhan-partner-logos img {
    max-height: 46px;
    width: auto;
    object-fit: contain;
    opacity: .8;
    transition: opacity .25s ease, transform .25s ease;
}

.dhan-partner-logos img:hover {
    opacity: 1;
    transform: scale(1.08);
}

/* ---- About cards ---- */
.dhan-bento-about-1,
.dhan-bento-about-2 {
    min-height: 220px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.dhan-bento-about-1::before,
.dhan-bento-about-2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent, rgba(6,8,20,.88));
}

.dhan-bento-about-1 h3,
.dhan-bento-about-2 h3,
.dhan-bento-about-1 p,
.dhan-bento-about-2 p {
    position: relative;
    z-index: 1;
}

/* ---- News rail ---- */
.dhan-news-rail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.dhan-news-item {
    display: block;
    padding: 22px;
    border-radius: 18px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.04);
    color: inherit;
    transition: transform .25s ease, border-color .25s ease;
}

.dhan-news-item:hover {
    transform: translateY(-4px);
    border-color: rgba(167,139,250,.5);
}

.dhan-news-date {
    color: var(--dhan-red-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dhan-news-item h3 {
    margin: 10px 0 8px;
    font-size: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dhan-news-item p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}

/* ---- FAQ accordion ---- */
.dhan-faq-list {
    display: grid;
    gap: 12px;
}

.dhan-faq-item {
    border-radius: 16px;
    border: 1px solid var(--dhan-line);
    background: rgba(255,255,255,.035);
    overflow: hidden;
}

.dhan-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.dhan-faq-icon {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(99,102,241,.2);
    color: var(--dhan-red-bright);
    font-style: normal;
    font-size: 22px;
    transition: transform .3s ease, background .3s ease;
}

.dhan-faq-item.is-open .dhan-faq-icon {
    transform: rotate(45deg);
    background: var(--dhan-red);
    color: #fff;
}

.dhan-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.dhan-faq-item.is-open .dhan-faq-a {
    max-height: 320px;
}

.dhan-faq-a p {
    margin: 0;
    padding: 0 24px 22px;
    line-height: 1.8;
}

/* ---- Scroll reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .dhan-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dhan-bento-brand,
    .dhan-bento-earth,
    .dhan-bento-stats,
    .dhan-bento-games-featured,
    .dhan-bento-games-grid,
    .dhan-bento-banner-main,
    .dhan-bento-banners,
    .dhan-bento-earn,
    .dhan-bento-partners,
    .dhan-bento-about-1,
    .dhan-bento-about-2,
    .dhan-bento-news,
    .dhan-bento-faq {
        grid-column: span 2;
        grid-row: auto;
    }

    .dhan-bento-games-featured {
        min-height: 260px;
    }

    .dhan-news-rail {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dhan-bento-grid {
        grid-template-columns: 1fr;
        padding: 40px 16px 72px;
    }

    .dhan-bento-brand,
    .dhan-bento-earth,
    .dhan-bento-stats,
    .dhan-bento-games-featured,
    .dhan-bento-games-grid,
    .dhan-bento-banner-main,
    .dhan-bento-banners,
    .dhan-bento-earn,
    .dhan-bento-partners,
    .dhan-bento-about-1,
    .dhan-bento-about-2,
    .dhan-bento-news,
    .dhan-bento-faq {
        grid-column: span 1;
    }

    .dhan-news-rail {
        grid-template-columns: 1fr;
    }

    .dhan-banner-mini-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dhan-hero-center-download img {
        height: 58px;
        width: auto;
    }
}
