/* ═══════════════════════════════════════════════ */
/* CSS CUSTOM PROPERTIES (Design Tokens)           */
/* ═══════════════════════════════════════════════ */
:root{
    --color-primary:#1c3e60;
    --color-primary-light:#3a5b82;
    --color-accent:#1a73e8;
    --color-pink:#d81b60;
    --color-pink-light:#ff4081;
    --color-green:#2ecc71;
    --color-red:#e74c3c;
    --color-gold:#FFD700;
    --color-bg:#f0f2f5;
    --color-card-bg:#ffffff;
    --color-text-main:#1c1c1e;
    --color-text-secondary:#4a5568;
    --color-text-muted:#5f738c;
    --color-border:#d1d9e6;
    --radius-card:12px;
    --radius-btn:8px;
    --shadow-card:0 2px 8px rgba(0,0,0,0.10);
    --shadow-btn:0 2px 4px rgba(0,0,0,0.1);
    --tf:0.18s ease;
    --tn:0.3s ease;
    --header-height:57px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;margin:0;background-color:var(--color-bg);display:flex;flex-direction:column;min-height:100vh;color:var(--color-text-main);-webkit-font-smoothing:antialiased;text-rendering:optimizeSpeed}
img{max-width:100%;display:block;height:auto}
a{text-decoration:none;color:inherit}
button{cursor:pointer;font-family:inherit}
p{margin:0}

/* HEADER */
.header{background-color:var(--color-primary);color:#fff;height:var(--header-height);position:sticky;top:0;z-index:101;display:flex;align-items:center;justify-content:space-between;padding:0 15px;box-shadow:0 2px 6px rgba(0,0,0,0.2);contain:layout style}
.header>a:first-child{align-self:center;width:36px;height:36px;border-radius:9px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:2}
.header-logo{display:block;width:36px;height:36px;object-fit:cover}
.header-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;text-align:center;font-weight:900;font-family:'Georgia','Times New Roman',serif;font-size:24px;letter-spacing:2px;text-transform:uppercase;color:#FFFDE7;-webkit-text-stroke:1px #D4AF37;animation:flamingGold 2s infinite alternate;user-select:none;opacity:1;transition:opacity 0.25s ease,transform 0.35s ease;will-change:opacity,transform;pointer-events:auto}
@keyframes flamingGold{
    0%{text-shadow:0 0 4px #FFD700,0 -2px 8px #FF8C00,0 -4px 12px #FF4500}
    100%{text-shadow:0 0 8px #FFFF00,0 -3px 12px #FF6600,0 -6px 18px #FF0000}
}
.header-title span{display:inline-block}
.header-title span:nth-child(odd){animation:letterOddAnim 5s ease-in-out infinite}
.header-title span:nth-child(even){animation:letterEvenAnim 5s ease-in-out infinite}
@keyframes letterOddAnim{0%,45%,100%{transform:translateY(0)}15%{transform:translateY(-4px)}30%{transform:translateY(4px)}}
@keyframes letterEvenAnim{0%,45%,100%{transform:translateY(0)}15%{transform:translateY(4px)}30%{transform:translateY(-4px)}}
.header-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;color:#fff;cursor:pointer;flex-shrink:0;background:transparent;border:0;padding:0;border-radius:50%;position:relative;z-index:2;transition:background-color var(--tf),transform var(--tf)}
.header-icon:hover{background-color:rgba(255,255,255,0.10)}
.header-icon:active{transform:scale(0.92)}
.header-icon svg{width:24px;height:24px;display:block}

/* INLINE SEARCH BAR — PREMIUM (slides into header where title was) */
.search-toggle .icon-search,.search-toggle .icon-close{position:absolute;transition:opacity 0.25s ease,transform 0.3s ease}
.search-toggle .icon-close{opacity:0;transform:rotate(-90deg) scale(0.6)}
body.is-searching .search-toggle .icon-search{opacity:0;transform:rotate(90deg) scale(0.6)}
body.is-searching .search-toggle .icon-close{opacity:1;transform:rotate(0) scale(1)}

.header-search{
    position:absolute;
    left:60px;right:55px;
    top:50%;
    transform:translateY(-50%) scaleX(0.6);
    transform-origin:right center;
    opacity:0;visibility:hidden;pointer-events:none;
    display:flex;align-items:center;
    transition:opacity 0.28s ease,transform 0.35s cubic-bezier(.22,1,.36,1),visibility 0s linear 0.35s;
    will-change:opacity,transform;
}
/* Inline search icon inside the input (left side) */
.header-search::before{
    content:'';
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    width:15px;
    height:15px;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'><path d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 12 14 9.5 14z'/></svg>");
    background-size:contain;
    background-repeat:no-repeat;
    opacity:0.78;
    pointer-events:none;
    z-index:2;
    transition:opacity 0.22s ease;
}
body.is-searching .header-search{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) scaleX(1);transition:opacity 0.28s ease,transform 0.35s cubic-bezier(.22,1,.36,1),visibility 0s linear 0s}
body.is-searching .header-title{opacity:0;transform:translate(-50%,-50%) scale(0.85);pointer-events:none}

#searchInput{
    width:100%;
    border:0;
    background: linear-gradient(135deg, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.10) 100%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    color:#fff;
    border-radius:24px;
    padding:10px 16px 10px 38px;
    font-size:14.5px;
    font-weight:500;
    letter-spacing:0.2px;
    outline:none;
    font-family:inherit;
    -webkit-appearance:none;
    appearance:none;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.20),
        inset 0 1px 0 rgba(255,255,255,0.12),
        0 2px 8px rgba(0,0,0,0.18);
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
#searchInput::placeholder{
    color:rgba(255,255,255,0.72);
    font-weight:500;
    letter-spacing:0.3px;
}
#searchInput:focus{
    background: linear-gradient(135deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.18) 100%);
    box-shadow:
        inset 0 0 0 1.5px rgba(255,215,0,0.70),
        inset 0 1px 0 rgba(255,255,255,0.20),
        0 0 0 4px rgba(255,215,0,0.18),
        0 4px 14px rgba(0,0,0,0.22);
}
.header-search:focus-within::before{opacity:1}
#searchInput::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
body.is-searching #countdownContainer{display:none !important}
/* When searching, dim category buttons to show search is across ALL apps */
body.is-searching .category-nav{opacity:0.45;pointer-events:none;transition:opacity 0.25s ease}
body:not(.is-searching) .category-nav{opacity:1;pointer-events:auto;transition:opacity 0.25s ease}

/* CATEGORY NAV — premium pill buttons */
.category-nav{
    background-color:var(--color-card-bg);
    box-shadow:0 2px 4px rgba(0,0,0,0.08);
    display:flex;
    gap:28px;
    padding:10px 16px;
    position:sticky;
    top:var(--header-height);
    z-index:98;
    justify-content:center;
}
.category-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-width:93px;
    padding:10px 26px;
    border-radius:50px;
    border:1.5px solid #e4e6eb;
    background-color:#fff;
    color:#65676b;
    font-size:14.3px;
    font-weight:600;
    letter-spacing:.01em;
    cursor:pointer;
    white-space:nowrap;
    transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease;
    -webkit-tap-highlight-color:transparent;
}
.category-btn .cat-dot{
    width:7px;
    height:7px;
    border-radius:50%;
    background:#c4c7cc;
    flex-shrink:0;
    transition:background-color .18s ease,box-shadow .18s ease;
}
.category-btn:hover:not(.active){
    border-color:#c8cbd1;
    color:#1c1e21;
}
.category-btn:active{transform:scale(.96)}
.category-btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}

/* Active state — each category gets its own theme gradient */
.category-btn[data-category="Yono"].active{
    background:linear-gradient(135deg,#534AB7 0%,#7F77DD 100%);
    border-color:#534AB7;
    color:#fff;
    box-shadow:0 3px 12px rgba(83,74,183,.35);
}
.category-btn[data-category="All"].active{
    background:linear-gradient(135deg,#1c3e60 0%,#3a5b82 100%);
    border-color:#1c3e60;
    color:#fff;
    box-shadow:0 3px 12px rgba(28,62,96,.35);
}
.category-btn[data-category="Rummy"].active{
    background:linear-gradient(135deg,#D85A30 0%,#F0997B 100%);
    border-color:#D85A30;
    color:#fff;
    box-shadow:0 3px 12px rgba(216,90,48,.35);
}
.category-btn.active .cat-dot{
    background:#fff;
    box-shadow:0 0 6px rgba(255,255,255,.6);
}

/* Tighter on small screens so 3 pills always fit */
@media (max-width:380px){
    .category-nav{gap:20px;padding:8px 16px}
    .category-btn{min-width:0;padding:9px 18px;font-size:13.3px}
}

/* MAIN */
.container{padding:10px;flex-grow:1}

/* APP CARD */
.app-card{background-color:var(--color-card-bg);border-radius:var(--radius-card);margin-bottom:10px;padding:10px;display:flex;align-items:center;box-shadow:var(--shadow-card);position:relative;overflow:hidden;transition:box-shadow var(--tf),transform var(--tf);min-height:82px;contain:layout style}
.app-card:hover{box-shadow:0 4px 14px rgba(0,0,0,0.12);transform:translateY(-1px)}
.corner-sticker{position:absolute;width:80px;top:8px;left:-22px;transform:rotate(-45deg);text-align:center;padding:1px 0;font-size:9px;font-weight:bold;color:#fff;z-index:2}
.sticker-top{background-color:var(--color-red);box-shadow:0 1px 3px rgba(0,0,0,0.3)}
.sticker-new{background-color:var(--color-green);animation:glowGreen 2s infinite alternate}
@keyframes glowGreen{from{box-shadow:0 0 3px var(--color-green)}to{box-shadow:0 0 8px #34ff7e}}
.ranking-number{font-size:14px;font-weight:bold;color:#333;margin-right:6px;width:25px;text-align:center;flex-shrink:0}
.ranking-number.double-digit{font-size:12px}
.ranking-number.triple-digit{font-size:10px}
.app-poster{width:60px;height:60px;border-radius:12px;margin-right:12px;object-fit:cover;flex-shrink:0;background-color:#e8ecf0;aspect-ratio:1/1}
.app-details{flex-grow:1;overflow:hidden}
.app-title{font-size:18px;font-weight:700;margin:0 0 5px;white-space:nowrap;overflow:hidden;text-overflow:clip;color:var(--color-primary);line-height:1.2;max-width:100%}
.app-title.small-font{font-size:14px;font-weight:800}
.app-title.extra-small-font{font-size:12px;font-weight:800}
.app-info{font-size:9px;margin:3px 0;font-weight:500;display:flex;align-items:center}
.app-info span{margin-right:4px;font-size:11px}
.bonus-text{color:#d32f2f}
.withdraw-text{color:#1976d2}
.app-card-link{text-decoration:none;color:inherit;display:flex;align-items:center;flex-grow:1;min-width:0}

/* DOWNLOAD BUTTON */
.download-btn{background-image:linear-gradient(135deg,#1a73e8 0%,#4a90e2 100%);color:#fff;border:none;padding:9px 16px;border-radius:var(--radius-btn);font-size:14px;font-weight:700;cursor:pointer;text-decoration:none;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:5px;box-shadow:var(--shadow-btn);transition:transform var(--tf),box-shadow var(--tf);position:relative;overflow:hidden;min-width:88px;white-space:nowrap;touch-action:manipulation}
.download-btn:hover{transform:translateY(-2px);box-shadow:0 5px 12px rgba(26,115,232,0.35)}
.download-btn:active{transform:scale(0.97)}
.download-btn:focus-visible{outline:2px solid #fff;outline-offset:2px}
.download-btn.loading .btn-text{visibility:hidden}
.download-btn.loading::after{content:'';position:absolute;top:50%;left:50%;width:16px;height:16px;margin-top:-8px;margin-left:-8px;border:3px solid rgba(255,255,255,0.35);border-top-color:#fff;border-radius:50%;animation:spin 0.8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
#message{text-align:center;padding:40px 20px;font-size:16px;color:#888}

/* SKELETON */
.skeleton-card{background:var(--color-card-bg);border-radius:var(--radius-card);margin-bottom:10px;padding:12px;display:flex;align-items:center;gap:12px;box-shadow:var(--shadow-card)}
@keyframes shimmer{0%,100%{background-color:#e8eaed}50%{background-color:#f4f6fa}}
.skeleton-img{width:60px;height:60px;border-radius:12px;background:#e0e4ea;flex-shrink:0;animation:shimmer 1.5s ease infinite}
.skeleton-lines{flex-grow:1}
.skeleton-line{height:12px;border-radius:6px;background:#e0e4ea;margin-bottom:8px;animation:shimmer 1.5s ease infinite}
.skeleton-line.wide{width:70%}
.skeleton-line.narrow{width:45%}
.skeleton-btn{width:80px;height:36px;border-radius:8px;background:#e0e4ea;flex-shrink:0;animation:shimmer 1.5s ease infinite}

/* COUNTDOWN */
/* Countdown styles → /assets/countdown.css */
@keyframes zapThunder{0%,85%,100%{background-color:transparent;box-shadow:none}90%{background-color:#fff;box-shadow:0 0 8px #0ff}95%{background-color:#fff;box-shadow:0 0 12px #05f}}


/* TELEGRAM */
.telegram-join-container{padding:5px 10px 15px;display:none}
.telegram-card{background:linear-gradient(135deg,#fff,#e9f0f7);border-radius:var(--radius-card);padding:12px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 10px rgba(0,0,0,0.08);border:1px solid #dbe3eb}
.telegram-card-info{display:flex;align-items:center;gap:12px}
.telegram-card-logo{width:45px;height:45px;border-radius:10px;object-fit:cover;aspect-ratio:1/1}
.telegram-card-text{font-size:17px;font-weight:900;color:var(--color-primary)}
.telegram-card-btn{background-image:linear-gradient(45deg,#0088cc,#00bfff);color:#fff;text-decoration:none;font-size:13px;font-weight:bold;padding:9px 16px;border-radius:var(--radius-btn);box-shadow:0 2px 6px rgba(0,136,204,0.3);display:inline-flex;align-items:center;justify-content:center;transition:transform var(--tf);touch-action:manipulation}
.telegram-card-btn:hover{transform:translateY(-1px)}

/* FEATURED PAGE — PREMIUM */
.featured-header-bg{
    position:relative;
    background:
        radial-gradient(ellipse 280px 200px at 85% 0%, rgba(216,27,96,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 260px 180px at 10% 100%, rgba(26,115,232,0.06) 0%, transparent 60%),
        linear-gradient(180deg,#eef4fb 0%,#f4f8fd 55%,#f7fafe 100%);
    padding:30px 20px 25px;
    border-bottom:1px solid rgba(224,232,240,0.6);
    overflow:hidden;
}
.featured-header-bg::before{
    content:'';
    position:absolute;
    top:-50px;right:-50px;
    width:150px;height:150px;
    background:radial-gradient(circle,rgba(255,215,0,0.10) 0%,transparent 70%);
    border-radius:50%;
    pointer-events:none;
    z-index:0;
}
.featured-header-bg::after{
    content:'';
    position:absolute;
    bottom:-40px;left:-40px;
    width:130px;height:130px;
    background:radial-gradient(circle,rgba(26,115,232,0.08) 0%,transparent 70%);
    border-radius:50%;
    pointer-events:none;
    z-index:0;
}
.featured-top-row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:40px;
    position:relative;
    z-index:1;
}

/* Premium logo container — refined gold+red ring with soft glow */
.featured-img-container{
    position:relative;
    width:90px;height:90px;
    flex-shrink:0;
    border-radius:18px;
    border:4px solid #ef4444;
    box-shadow:
        0 0 0 3px var(--color-gold),
        0 0 22px rgba(255,215,0,0.32),
        0 8px 20px rgba(28,62,96,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.18);
    box-sizing:border-box;
    transition:transform 0.3s ease,box-shadow 0.3s ease;
}
.featured-img-container::before{
    content:'';
    position:absolute;
    inset:-10px;
    border-radius:24px;
    background:conic-gradient(from 0deg,
        transparent 0deg,
        rgba(255,215,0,0.22) 70deg,
        transparent 140deg,
        transparent 220deg,
        rgba(216,27,96,0.18) 290deg,
        transparent 360deg);
    z-index:-1;
    filter:blur(10px);
    opacity:0.75;
    animation:featuredRingRotate 10s linear infinite;
}
@keyframes featuredRingRotate{to{transform:rotate(360deg)}}
.featured-img-container:hover{transform:scale(1.03)}
.featured-image{
    width:100%;height:100%;
    border-radius:13px;
    object-fit:cover;
    background-color:#fff;
}

.featured-details{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
}

/* Premium pink-pill title with shimmer */
.featured-title{
    position:relative;
    font-size:18px;
    font-weight:900;
    color:#fff;
    background:linear-gradient(135deg,#d81b60 0%,#ff4081 50%,#f06292 100%);
    margin:0 0 9px;
    padding:7px 18px;
    border-radius:22px;
    box-shadow:
        0 4px 12px rgba(216,27,96,0.42),
        inset 0 1px 0 rgba(255,255,255,0.38),
        inset 0 -1px 0 rgba(0,0,0,0.10);
    display:inline-block;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    line-height:1.2;
    letter-spacing:0.4px;
    text-shadow:0 1px 2px rgba(0,0,0,0.20);
    isolation:isolate;
}
.featured-title::after{
    content:'';
    position:absolute;
    top:0;left:-60%;
    width:35%;height:100%;
    background:linear-gradient(120deg,transparent,rgba(255,255,255,0.45),transparent);
    transform:skewX(-22deg);
    animation:featuredTitleShine 3.6s ease-in-out infinite;
    pointer-events:none;
    z-index:1;
}
@keyframes featuredTitleShine{
    0%{left:-60%}
    55%{left:130%}
    100%{left:130%}
}

.featured-subtitle{
    font-size:11px;
    color:var(--color-text-muted);
    font-weight:700;
    margin:0 0 11px;
    letter-spacing:1.6px;
    text-transform:uppercase;
}

/* Premium info text — pill-style with subtle gradient bg */
.featured-info-text{
    font-size:12.5px;
    font-weight:700;
    margin:4px 0;
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:3px 11px 3px 9px;
    border-radius:14px;
    line-height:1.45;
    transition:transform 0.2s ease;
}
.featured-info-text:hover{transform:translateX(2px)}
.featured-info-text.red{
    color:#c62828;
    background:linear-gradient(135deg,rgba(255,235,238,0.95),rgba(255,205,210,0.55));
    box-shadow:
        inset 0 0 0 1px rgba(211,47,47,0.20),
        0 1px 3px rgba(211,47,47,0.08);
}
.featured-info-text.blue{
    color:#1565c0;
    background:linear-gradient(135deg,rgba(227,242,253,0.95),rgba(187,222,251,0.55));
    box-shadow:
        inset 0 0 0 1px rgba(25,118,210,0.20),
        0 1px 3px rgba(25,118,210,0.08);
}

/* Premium trust line — glass pill */
.new-trust-line{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:11.5px;
    font-weight:800;
    color:#1f8a3a;
    margin:25px auto 18px;
    white-space:nowrap;
    padding:8px 14px;
    background:linear-gradient(135deg,rgba(255,255,255,0.88),rgba(232,250,239,0.55));
    border-radius:24px;
    box-shadow:
        0 0 0 1px rgba(40,167,69,0.22),
        0 3px 10px rgba(40,167,69,0.12),
        inset 0 1px 0 rgba(255,255,255,0.95);
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
    width:max-content;
    max-width:100%;
    position:relative;
    z-index:1;
}
.new-trust-line .trust-dot{
    color:rgba(40,167,69,0.50);
    font-size:13px;
}
@media(max-width:360px){
    .new-trust-line{font-size:10px;gap:5px;padding:7px 11px}
    .featured-top-row{gap:24px}
    .featured-img-container{width:80px;height:80px}
    .featured-title{font-size:16px;padding:6px 16px}
}
/* Reduced motion: disable decorative animations */
@media(prefers-reduced-motion:reduce){
    .featured-img-container::before,
    .featured-title::after{animation:none !important}
}
.featured-download-btn{background:linear-gradient(to right,#d81b60,#ff4081);color:#fff;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:30px;font-weight:900;font-size:15px;box-shadow:0 4px 14px rgba(216,27,96,0.35);transition:transform var(--tf),box-shadow var(--tf);width:85%;max-width:320px;margin:0 auto;touch-action:manipulation}
.featured-download-btn:active{transform:scale(0.97)}
.featured-download-btn:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(216,27,96,0.45)}
.popular-divider-container{text-align:center;padding:20px 15px 5px}
.popular-divider{display:flex;align-items:center;justify-content:center;gap:15px}
.popular-divider .line{height:2px;background-color:var(--color-border);flex-grow:1;max-width:60px;border-radius:2px}
.popular-divider .line.red{background-color:#e91e63}
.popular-title{font-size:18px;font-weight:900;color:var(--color-primary);display:flex;align-items:center;gap:6px}
.popular-subtitle{font-size:12px;color:var(--color-text-muted);margin-top:4px;font-weight:500}
.popular-apps-list{padding:10px}
.description-content{padding:10px 20px 20px;font-size:13.5px;color:var(--color-text-secondary);line-height:1.65;font-weight:500}
.description-content p{margin-bottom:12px}
.description-content strong{color:var(--color-primary);font-size:14.5px}
.app-detail-pills{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 4px}
.app-detail-pill{background:#eef2f7;border-radius:20px;padding:4px 10px;font-size:11px;font-weight:700;color:var(--color-primary);display:inline-flex;align-items:center;gap:4px}

/* ═══════════════════════════════════════════════════════════════
   ABOUT THIS APP — PREMIUM CARD UI (v15.0)
   Mobile-first, SEO-friendly, semantic HTML, zero JS.
   Renders inside the existing .description-content wrapper.
═══════════════════════════════════════════════════════════════ */
.about-app-card{
    background:linear-gradient(180deg,#ffffff 0%,#fafbfd 100%);
    border:1px solid #e3e9f2;
    border-radius:16px;
    margin:10px 14px 18px;
    box-shadow:0 4px 16px rgba(28,62,96,0.06),0 1px 3px rgba(28,62,96,0.04);
    overflow:hidden;
    position:relative;
}
.about-app-card::before{
    content:'';
    position:absolute;
    top:0;left:0;right:0;
    height:4px;
    background:linear-gradient(90deg,#1c3e60 0%,#1a73e8 50%,#d81b60 100%);
}
.about-card-header{
    display:flex;
    align-items:center;
    gap:10px;
    padding:16px 16px 12px;
    border-bottom:1px solid #eef2f7;
    background:linear-gradient(180deg,#fafbfd 0%,#ffffff 100%);
}
.about-card-icon{
    flex-shrink:0;
    width:38px;height:38px;
    border-radius:10px;
    background:linear-gradient(135deg,#1c3e60 0%,#3a5b82 100%);
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-size:18px;
    box-shadow:0 2px 6px rgba(28,62,96,0.25);
}
.about-card-titlewrap{display:flex;flex-direction:column;line-height:1.25;min-width:0;flex:1}
.about-card-eyebrow{
    font-size:10px;
    font-weight:800;
    letter-spacing:1.2px;
    color:#d81b60;
    text-transform:uppercase;
    margin-bottom:2px;
}
.about-card-title{
    font-size:15px;
    font-weight:900;
    color:var(--color-primary);
    margin:0;
    line-height:1.3;
    overflow:hidden;
    text-overflow:ellipsis;
}
.about-card-body{padding:14px 16px 16px}

/* Quick Facts pill row — always rendered, unique per app */
.about-quickfacts{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:8px;
    margin:2px 0 14px;
}
.about-fact{
    display:flex;
    align-items:center;
    gap:8px;
    padding:9px 10px;
    background:#f5f8fc;
    border:1px solid #e3e9f2;
    border-radius:10px;
    min-width:0;
}
.about-fact-emoji{font-size:16px;flex-shrink:0;line-height:1}
.about-fact-text{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.about-fact-label{
    font-size:10px;
    font-weight:700;
    color:var(--color-text-muted);
    text-transform:uppercase;
    letter-spacing:0.3px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.about-fact-value{
    font-size:13px;
    font-weight:900;
    color:var(--color-primary);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* Section intro paragraph inside card */
.about-section-intro{
    font-size:13px;
    color:var(--color-text-secondary);
    line-height:1.6;
    font-weight:500;
    margin:0 14px 8px;
    padding:0 4px;
    text-align:center;
    font-style:italic;
}

/* Main about content inside card */
.about-this-app-content{
    padding:0 !important;
    font-size:13.5px;
    color:var(--color-text-secondary);
    line-height:1.7;
    font-weight:500;
}
.about-this-app-content p{margin:0 0 11px}
.about-this-app-content p:last-child{margin-bottom:0}
.about-this-app-content strong{color:var(--color-primary);font-weight:800;font-size:13.5px}

/* Feature list — premium styling */
.about-features-list{
    list-style:none;
    padding:0;
    margin:12px 0;
    display:flex;
    flex-direction:column;
    gap:7px;
}
.about-features-list li{
    background:linear-gradient(180deg,#f8fafc 0%,#f1f5fa 100%);
    border:1px solid #e3e9f2;
    border-left:3px solid #1a73e8;
    padding:9px 11px;
    border-radius:8px;
    font-size:13px;
    line-height:1.45;
    color:var(--color-text-secondary);
    display:block;
}
.about-features-list li strong{color:var(--color-primary);font-weight:800}

/* Hinglish guide block — distinct sub-card */
.about-hinglish-heading{
    margin:18px 0 9px;
    padding:9px 12px;
    background:linear-gradient(90deg,rgba(216,27,96,0.08) 0%,rgba(26,115,232,0.06) 100%);
    border-left:3px solid #d81b60;
    border-radius:8px;
    font-size:14px;
    font-weight:900;
    color:var(--color-primary);
    line-height:1.3;
}
.about-this-app-content .about-hinglish-heading + p{
    background:#fafbfd;
    border:1px solid #eef2f7;
    border-radius:10px;
    padding:11px 12px;
    margin-bottom:0;
    font-size:13px;
    line-height:1.65;
}

/* Inline keyfact strip — bonus / withdraw / games / rating */
.about-keystrip{
    display:flex;
    align-items:center;
    justify-content:space-around;
    gap:6px;
    margin:0 0 14px;
    padding:10px 8px;
    background:linear-gradient(90deg,#1c3e60 0%,#2c4f75 100%);
    border-radius:10px;
    color:#fff;
}
.about-keystrip-item{
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    min-width:0;
    padding:0 4px;
    position:relative;
}
.about-keystrip-item+.about-keystrip-item::before{
    content:'';
    position:absolute;
    left:-3px;
    top:15%;bottom:15%;
    width:1px;
    background:rgba(255,255,255,0.18);
}
.about-keystrip-val{
    font-size:13.5px;
    font-weight:900;
    color:#FFD700;
    line-height:1.15;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:100%;
}
.about-keystrip-lbl{
    font-size:9.5px;
    font-weight:700;
    color:rgba(255,255,255,0.85);
    text-transform:uppercase;
    letter-spacing:0.4px;
    margin-top:2px;
    line-height:1.1;
}

/* Trust badges row */
.about-trust-row{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:12px 0 4px;
    justify-content:center;
}
.about-trust-badge{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:5px 10px;
    background:#fff;
    border:1px solid #d1d9e6;
    border-radius:14px;
    font-size:11px;
    font-weight:700;
    color:var(--color-primary);
    line-height:1.2;
}
.about-trust-badge.verified{
    border-color:#2ecc71;
    color:#27ae60;
    background:rgba(46,204,113,0.06);
}

/* Tighter spacing on very small screens */
@media(max-width:360px){
    .about-app-card{margin:10px 10px 16px}
    .about-card-body{padding:12px 12px 14px}
    .about-quickfacts{gap:6px}
    .about-fact{padding:8px 9px}
    .about-fact-value{font-size:12.5px}
    .about-keystrip-val{font-size:12.5px}
}

/* BREADCRUMB */
.breadcrumb{display:none !important;padding:8px 15px;font-size:12px;color:var(--color-text-muted);align-items:center;gap:6px;background:var(--color-card-bg);border-bottom:1px solid var(--color-border);flex-wrap:wrap}
.breadcrumb a{color:var(--color-accent)}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb-sep{color:#aaa}

/* PAGE CONTENT */
.page-content-view{padding:20px;background-color:#f4f7fb;min-height:calc(100vh - var(--header-height));color:var(--color-text-secondary);line-height:1.75;flex-grow:1}
.page-content-view h2{color:var(--color-primary);text-align:center;border-bottom:2px solid var(--color-border);padding-bottom:10px;margin:0 0 20px;font-weight:900}
.page-content-view h3{color:#e91e63;margin-top:25px;margin-bottom:10px;font-size:18px}
.page-content-view p{margin-bottom:15px;font-size:14.5px;font-weight:500}
.notice-box{background:#fff3cd;color:#856404;border:1px solid #ffeeba;padding:15px;border-radius:var(--radius-btn);margin-top:30px;font-size:13px;font-weight:bold;line-height:1.6}
.notice-title{color:#d32f2f;font-size:15px;display:block;margin-bottom:5px}

/* BOTTOM NAV */
.bottom-nav-bar{background-color:var(--color-primary);padding:10px 16px;display:flex;align-items:center;justify-content:space-evenly;gap:12px;margin-top:auto;flex-wrap:nowrap}
.bottom-nav-bar a{color:#fff;text-decoration:none;font-weight:600;font-size:14px;padding:9px 22px;border:1px solid rgba(255,255,255,0.4);border-radius:24px;transition:all var(--tn);background:rgba(255,255,255,0.12);touch-action:manipulation;white-space:nowrap;flex:1;text-align:center;max-width:160px}
.bottom-nav-bar a:hover,.bottom-nav-bar a:active,.bottom-nav-bar a[aria-current="page"]{background:#fff;color:var(--color-primary)}
@media(max-width:480px){.bottom-nav-bar{gap:8px;padding:8px 10px}.bottom-nav-bar a{font-size:13px;padding:8px 14px}}

/* HELPERS */
.seo-hidden-text,.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* BACK TO TOP */
#backToTop{position:fixed;bottom:72px;right:16px;width:42px;height:42px;background:var(--color-primary);color:#fff;border:none;border-radius:50%;font-size:20px;display:none;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(0,0,0,0.2);z-index:90;cursor:pointer;transition:opacity var(--tf),transform var(--tf);touch-action:manipulation}
#backToTop.show{display:flex}
#backToTop:hover{transform:translateY(-2px)}

/* FOOTER — Premium Description Card */
#footer-text {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 10px 12px;
    background: var(--color-bg);
}

/* ── Card shell ── */
.yb-desc-card {
    position: relative;
    background: linear-gradient(145deg,
        rgba(255,255,255,0.97) 0%,
        rgba(232,242,252,0.92) 50%,
        rgba(248,255,246,0.94) 100%);
    border-radius: 10px;
    padding: 7px 10px 9px;
    box-shadow:
        0 0 0 1.5px rgba(28,62,96,0.13),
        0 4px 16px rgba(28,62,96,0.09),
        inset 0 1px 0 rgba(255,255,255,0.9);
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.22s ease;
    -webkit-tap-highlight-color: transparent;
}
.yb-desc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg,
        rgba(28,62,96,0.04) 0%,
        transparent 50%,
        rgba(46,204,113,0.04) 100%);
    pointer-events: none;
}
.yb-desc-card:hover,
.yb-desc-card:active {
    box-shadow:
        0 0 0 2px rgba(28,62,96,0.20),
        0 8px 24px rgba(28,62,96,0.12),
        inset 0 1px 0 rgba(255,255,255,0.9);
    transform: translateY(-1px);
}

/* ── Accent divider ── */
.yb-desc-divider {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
}
.yb-desc-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28,62,96,0.2), transparent);
}
.yb-desc-divider-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1c3e60, #1a73e8);
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(26,115,232,0.28);
}

/* ── Brand headline row ── */
.yb-desc-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.yb-desc-brand-name {
    font-size: 12px;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: 0.2px;
    line-height: 1.2;
}
.yb-desc-brand-name strong {
    font-weight: inherit;
}
.yb-desc-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1c3e60 0%, #1a73e8 100%);
    color: #fff;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(28,62,96,0.20);
    white-space: nowrap;
}

/* ── Stats row ── */
.yb-desc-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 7px;
    background: linear-gradient(135deg, rgba(28,62,96,0.05), rgba(26,115,232,0.05));
    border-radius: 7px;
    padding: 5px 6px;
    border: 1px solid rgba(28,62,96,0.08);
}
.yb-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 1px;
}
.yb-stat-value {
    font-size: 11px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.2px;
}
.yb-stat-label {
    font-size: 7.5px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.2;
}
.yb-stat-sep {
    width: 1px;
    height: 22px;
    background: linear-gradient(to bottom, transparent, rgba(28,62,96,0.18), transparent);
    flex-shrink: 0;
}

/* ── Description text ── */
.yb-desc-text {
    font-size: 9.5px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 500;
    text-align: center;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* ── Inline game name pills ── */
.yb-game-tag {
    display: inline;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 9px;
    white-space: nowrap;
}

/* ── Responsive tweaks ── */
@media (max-width: 360px) {
    .yb-desc-card { padding: 6px 9px 8px; }
    .yb-desc-brand-name { font-size: 11px; }
    .yb-stat-value { font-size: 10px; }
    .yb-desc-text { font-size: 9px; }
}

/* WHATSAPP */
.whatsapp-share-container{padding:0 10px 10px}
.whatsapp-card{background:linear-gradient(135deg,#fff,#e9f7ef);border-radius:var(--radius-card);padding:8px 12px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-shadow:0 2px 8px rgba(0,0,0,0.08);border:1px solid #c3e6cb;gap:10px}
.whatsapp-card-label{font-size:11px;font-weight:700;color:#1a7a4a;white-space:nowrap;flex:1}
.whatsapp-card-btn{background-image:linear-gradient(45deg,#25D366,#128C7E);color:#fff;border:none;font-size:11px;font-weight:bold;padding:6px 14px;border-radius:var(--radius-btn);box-shadow:0 2px 6px rgba(37,211,102,0.3);display:inline-flex;align-items:center;justify-content:center;gap:5px;transition:transform var(--tf);cursor:pointer;font-family:inherit;letter-spacing:0.5px;white-space:nowrap;flex-shrink:0;touch-action:manipulation}
.whatsapp-card-btn:hover{transform:translateY(-1px)}

/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce){
    .skeleton-img,.skeleton-line,.skeleton-btn,.header-title,.header-title span,.sticker-new,.lightning-effect{animation:none !important}
    *{transition-duration:0.01ms !important}
}

/* ── Webpushr UI Protection ──────────────────────────────────
   Ensures Webpushr bell, popup, and notification widgets are
   always visible above all site elements (header z-index:101).
   Do NOT remove or lower these z-index values.               */
[id*="webpushr"],
[class*="webpushr"],
[id^="webpushr"],
[class^="webpushr"] {
    z-index: 2147483647 !important;
}
/* ── SEO Meta Cards (Meta Title + Meta Description display) ── */

/* Shared wrapper — sits inside the page flow, full width with side margins */
.seo-meta-title-card,
.seo-meta-desc-card {
    display: block;          /* always visible — no conditional display */
    width: auto;
    margin: 12px 10px 0;
    padding: 12px 16px 14px;
    border-radius: var(--radius-card);
    box-sizing: border-box;
    position: relative;
    z-index: 1;              /* above any potential stacking issue */
    overflow: visible;       /* never clip content */
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
}

/* ── META TITLE CARD ──────────────────────────────────────── */
.seo-meta-title-card {
    background: linear-gradient(145deg, #0f2444 0%, #1a3a6e 50%, #0d1f3c 100%);
    border: none;
    box-shadow:
        0 0 0 2px rgba(212,175,55,0.55),
        0 8px 28px rgba(10,30,70,0.45),
        inset 0 1px 0 rgba(255,255,255,0.07);
    text-align: center;
    padding: 10px 16px 11px;
}

/* Shimmer sweep across the card */
.seo-meta-title-card::after {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    transform: skewX(-18deg);
    animation: seoCardShimmer 3.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes seoCardShimmer {
    0%   { left: -60%; }
    60%  { left: 130%; }
    100% { left: 130%; }
}

.seo-meta-title-card .seo-card-badge {
    display: none;
}

/* decorative divider lines flanking the badge */
.seo-meta-title-card .seo-title-divider {
    display: none;
}
.seo-meta-title-card .seo-title-divider::before,
.seo-meta-title-card .seo-title-divider::after {
    display: none;
}
.seo-meta-title-card .seo-title-divider::after {
    display: none;
}

.seo-meta-title-card .seo-page-title {
    font-size: 14px;
    font-weight: 900;
    color: #f0f4ff;
    line-height: 1.45;
    margin: 0;
    display: block;
    text-align: center;
    letter-spacing: 0.2px;
}

/* ── META DESCRIPTION CARD ───────────────────────────────── */
.seo-meta-desc-card {
    background: linear-gradient(135deg, #edfbf3 0%, #e8f4fd 100%);
    border: none;
    box-shadow:
        0 0 0 2px #2ecc71,           /* inner ring — green */
        2px 4px 16px rgba(46,204,113,0.15);
}

.seo-meta-desc-card .seo-card-label {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #1a7a4a;
    margin: 0 0 6px 0;
    display: block;
    line-height: 1;
}
.seo-meta-desc-card .seo-card-label::before {
    content: '📄 ';
}

.seo-meta-desc-card .seo-page-desc {
    font-size: 13px;
    font-weight: 500;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
    display: block;
}

/* ── Mobile tweaks ───────────────────────────────────────── */
@media (max-width: 400px) {
    .seo-meta-title-card,
    .seo-meta-desc-card {
        margin: 10px 8px 0;
        padding: 11px 14px 13px;
    }
    .seo-meta-title-card .seo-page-title { font-size: 12px; }
    .seo-meta-desc-card  .seo-page-desc  { font-size: 12px;   }
}

/* ═══════════════════════════════════════════════════════════
   FAQ ACCORDION SECTION
   Matches premium theme: glassmorphism, gradient text, glow
   ═══════════════════════════════════════════════════════════ */
.faq-section {
    padding: 28px 10px 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Section header */
.faq-header {
    text-align: center;
    margin-bottom: 18px;
}

.faq-title {
    font-size: 20px;
    font-weight: 900;
    margin: 0 0 6px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a73e8 60%, #d81b60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0;
    letter-spacing: 0.3px;
}

/* FAQ list container */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

/* Individual FAQ card — glassmorphism light */
.faq-item {
    background: #ffffff;
    border-radius: var(--radius-card);
    box-shadow: 0 2px 10px rgba(28,62,96,0.08), 0 0 0 1px rgba(209,217,230,0.7);
    overflow: hidden;
    transition: box-shadow var(--tn), transform var(--tn);
    will-change: transform;
}

.faq-item:hover {
    box-shadow: 0 4px 18px rgba(26,115,232,0.14), 0 0 0 1.5px rgba(26,115,232,0.22);
    transform: translateY(-1px);
}

.faq-item.faq-open {
    box-shadow: 0 4px 20px rgba(26,115,232,0.18), 0 0 0 2px rgba(26,115,232,0.28);
}

/* Question button */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background var(--tf);
    border-radius: var(--radius-card);
}

.faq-question:hover {
    background: rgba(26,115,232,0.04);
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.faq-open .faq-question {
    background: linear-gradient(135deg, rgba(26,115,232,0.06) 0%, rgba(216,27,96,0.04) 100%);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.faq-q-text {
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.faq-open .faq-q-text {
    background: linear-gradient(90deg, var(--color-primary), #1a73e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Plus/minus icon via CSS — no image dependency */
.faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8f0fe, #dce8ff);
    border: 1.5px solid rgba(26,115,232,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform var(--tn), background var(--tn), border-color var(--tn);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--color-accent);
    border-radius: 2px;
    transition: transform var(--tn), opacity var(--tn);
}

/* Horizontal bar (always visible) */
.faq-icon::before {
    width: 10px;
    height: 2px;
}

/* Vertical bar (becomes 0 when open) */
.faq-icon::after {
    width: 2px;
    height: 10px;
}

/* Rotate/collapse when open */
.faq-open .faq-icon {
    background: linear-gradient(135deg, var(--color-accent), #d81b60);
    border-color: transparent;
    transform: rotate(45deg);
}

.faq-open .faq-icon::before,
.faq-open .faq-icon::after {
    background: #fff;
}

/* Answer panel — smooth CSS max-height transition */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-open .faq-answer {
    /* max-height set by JS to scrollHeight */
}

.faq-answer p {
    margin: 0;
    padding: 4px 16px 16px;
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-weight: 500;
    border-top: 1px solid rgba(209,217,230,0.55);
    padding-top: 12px;
}

.faq-answer p strong {
    color: var(--color-primary);
    font-weight: 800;
}

/* Mobile-first small-screen polish */
@media (max-width: 400px) {
    .faq-section { padding: 22px 8px 20px; }
    .faq-title { font-size: 18px; }
    .faq-q-text { font-size: 13px; }
    .faq-answer p { font-size: 12px; }
}

/* Reduced motion: disable accordion & hover transitions */
@media (prefers-reduced-motion: reduce) {
    .faq-answer,
    .faq-icon,
    .faq-item { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   POPULAR SEARCHES — SSR keyword section (below FAQ)
   Lightweight DOM, no JS, no images. Designed to add semantic
   relevance and long-tail keyword coverage without hurting LCP.
═══════════════════════════════════════════════════════════ */
.keyword-section {
    padding: 0 12px;
    margin: 8px 0 18px;
}

.keyword-section .popular-divider-container { padding: 20px 0 8px; }

.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 4px;
}

.keyword-tag {
    display: inline-block;
    background: #f1f4f9;
    color: #1c3e60;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid #e0e4ea;
    line-height: 1.4;
    white-space: nowrap;
}

.keyword-semantic {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    padding: 0 2px;
}

@media (max-width: 400px) {
    .keyword-tag { font-size: 0.76rem; padding: 5px 10px; }
    .keyword-semantic { font-size: 0.8rem; }
}

/* ═══════════════════════════════════════════════════════════
   SEO KEYWORD TICKER — reusable across Home + App/Download pages
   Single source of truth; identical animation, styling, gradient.
   Marked aria-hidden because the same text is also semantically
   exposed elsewhere (sitemap, footer, page copy).
═══════════════════════════════════════════════════════════ */
.yb-ticker-wrap{
    width:100%;
    overflow:hidden;
    background:linear-gradient(90deg,#0d2137 0%,#1a3a5c 50%,#0d2137 100%);
    border-top:1px solid rgba(99,179,237,.18);
    padding:0;
    height:28px;
    display:flex;
    align-items:center;
    position:relative;
    /* Reserve height so CLS = 0 on lazy mount */
    contain:layout style;
}
.yb-ticker-wrap::before,
.yb-ticker-wrap::after{
    content:'';
    position:absolute;
    top:0;bottom:0;
    width:40px;
    z-index:2;
    pointer-events:none;
}
.yb-ticker-wrap::before{left:0;background:linear-gradient(to right,#0d2137,transparent);}
.yb-ticker-wrap::after{right:0;background:linear-gradient(to left,#0d2137,transparent);}
.yb-ticker-track{
    display:flex;
    align-items:center;
    white-space:nowrap;
    animation:yb-ticker-scroll 38s linear infinite;
    will-change:transform;
    gap:0;
}
.yb-ticker-wrap:hover .yb-ticker-track{
    animation-play-state:paused;
}
.yb-ticker-item{
    font-size:10px;
    font-weight:600;
    letter-spacing:.6px;
    text-transform:uppercase;
    color:rgba(180,215,255,.72);
    padding:0 10px;
    font-family:inherit;
}
.yb-ticker-dot{
    font-size:7px;
    color:rgba(99,179,237,.45);
    flex-shrink:0;
}
@keyframes yb-ticker-scroll{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}
@media(max-width:480px){
    .yb-ticker-wrap{height:24px;}
    .yb-ticker-item{font-size:9px;padding:0 8px;}
    .yb-ticker-track{animation-duration:28s;}
}
/* App/Download page placement: same look, no top border touching
   surrounding content; small vertical breathing room. */
.app-detail-container .yb-ticker-wrap,
.keyword-ticker-section .yb-ticker-wrap{
    border-radius:8px;
    border-top:1px solid rgba(99,179,237,.18);
    margin:6px 0 4px;
}
.keyword-ticker-section{
    padding:0 12px;
    margin:8px 0 18px;
}
.keyword-ticker-section .popular-divider-container{padding:20px 0 8px;}

/* ═══════════════════════════════════════════════════════════
   RELATED APPS — SSR Category-Based Internal Linking Section
   Replaces the old JS-rendered #randomAppList / ⭐ POPULAR APPS.
   One section per page, heading changes per category.
═══════════════════════════════════════════════════════════ */
.related-apps-section{
    padding:0 0 8px;
    margin-bottom:4px;
}
.related-apps-intro{
    font-size:13px;
    color:var(--color-text-muted);
    text-align:center;
    margin:4px 14px 12px;
    line-height:1.5;
}
/* App-card list inside related apps section — matches Home Page #appList padding */
.related-apps-app-list{
    padding:0 10px;
}

/* ═══════════════════════════════════════════════════════════
   IMAGE LOADING + RENDER PERFORMANCE  (v12.0)
   ───────────────────────────────────────────────────────────
   Goal: every image starts paint-ready instantly, never causes
   layout shift, and below-fold sections never block first paint.
═══════════════════════════════════════════════════════════ */

/* Universal image hygiene — kills layout shift, smooths in-progress
   loads with a subtle fade-in, and uses a soft skeleton background
   so an in-flight remote image never shows up as a blank rectangle. */
img{
    max-width:100%;
    height:auto;
    /* Inherit intrinsic ratio from width/height attrs — eliminates CLS. */
}

/* Featured (LCP) app icon — hard-locked aspect, soft background while
   the network fetches the poster. Combined with the <head> preload +
   fetchpriority="high" this lands inside the first 1–2 paints. */
.featured-image{
    background:#f4f6f9;
    aspect-ratio:1/1;
    /* GPU-promote so the decode + paint never thrashes the main thread. */
    transform:translateZ(0);
}

/* All app-poster thumbs — same trick, smaller. */
.app-poster{
    background:#eef1f5;
    aspect-ratio:1/1;
    /* Smooth, near-instant fade when src finishes loading. */
    transition:opacity .25s ease;
}
.app-poster:not([src]),
.app-poster[src=""]{
    opacity:0;
}

/* Skip rendering work for big below-the-fold sections until the user
   scrolls near them. contain-intrinsic-size keeps the scrollbar honest
   while the section is "skipped". Net effect: ~25–40% faster first
   meaningful paint on the app page. */
.related-apps-section,
.faq-section,
.keyword-ticker-section,
#aboutSection,
.description-content{
    content-visibility:auto;
    contain-intrinsic-size:600px;
}

/* Disable expensive ring-rotate animation for users who prefer
   reduced motion AND while the page is still painting (saves CPU). */
@media (prefers-reduced-motion: reduce){
    .featured-img-container::before{animation:none;opacity:0;}
}
