/* 
 * Consolidated Custom Stylesheet - Visual Parity with allyonoapp.in
 * Includes index.css, new.css, style.css, footer.css, SHEJH-272-FAQ.css, and application.css
 */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;700&family=Roboto:wght@400;500;700&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* ==========================================================================
   1. CORE BASE SCALING AND RESET (index.css & new.css baseline)
   ========================================================================== */
html {
    font-size: 100px; /* Base for rem scale: 1rem = 100px */
}

body {
    line-height: 2.2;
    font-size: .24rem;
    margin: 0;
    font-family: "Poppins", "Microsoft Yahei", Arial, Tahoma, Helvetica, sans-serif;
    background-color: #e0e0e0;
    width: 100%;
    overflow-x: hidden;
    color: #333;
}

body, html {
    width: 100%;
}

blockquote, body, dd, div, dl, dt, h1, h2, h3, h4, h5, h6, input, li, ol, p, td, th, ul {
    margin: 0;
    padding: 0;
}

ol, ul {
    list-style: none;
}

em {
    font-style: normal;
}

/* NOTE: do NOT reset font-weight on <i> - Font Awesome icons need font-weight:900 */

img {
    border: 0;
    max-width: 100%;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: inherit;
}

button, input, textarea {
    font-size: inherit;
    line-height: inherit;
    outline: none;
}

button {
    cursor: pointer;
    background-color: transparent;
}

.flex {
    display: flex;
}

.flex_grow {
    flex-grow: 1;
}

.wrap {
    min-width: 3.2rem;
    width: 100%;
    max-width: 7.5rem; /* Exact target viewport limit: 750px */
    margin: 0 auto;
    background-color: #fff;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   2. HEADER, MENUS, SEARCH SYSTEM (index.css & new.css)
   ========================================================================== */
#header {
    position: fixed !important;
    width: 100% !important;
    z-index: 999999 !important;
    top: 0 !important;
    height: 45px !important;
    background: linear-gradient(180deg, #39b530, #318a28) !important;
    max-width: 7.5rem !important;
    margin: 0 auto;
    left: 0;
    right: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.nav_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    position: relative;
    z-index: 99999;
}

#header .logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
    line-height: 45px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 auto;
}

#header .logo img {
    height: 24px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

#header .menu_btn, #header .search_btn {
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#header .menu_btn {
    left: 0;
    top: 0;
}

#header .search_btn {
    right: 0;
    top: 0;
}

/* Header icons - using Font Awesome for universal mobile/desktop support */
.nav_container .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    background: none;
    font-weight: 900; /* Required for Font Awesome Solid */
}

.nav_container .icon.icon_menu::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f0c9'; /* fa-bars hamburger */
    color: #fff;
    font-size: 20px;
}

.nav_container .icon.icon_search::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f002'; /* fa-search */
    color: #fff;
    font-size: 19px;
}

.nav_container .icon.icon_close::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f00d'; /* fa-xmark */
    color: #fff;
    font-size: 20px;
}

/* Slide Left Menu Drawer */
.shadow {
    display: none;
    background: rgba(0,0,0,0.5);
    position: fixed;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    max-width: 7.5rem;
    margin: 0 auto;
}

.nav_container .nav_new {
    transition-duration: .3s;
    transition-property: left, right;
    left: -271px;
    position: fixed;
    display: block;
    background-color: #fff;
    top: 0;
    height: 100%;
    width: 60%;
    min-width: 200px;
    max-width: 251px;
    z-index: 10001;
    overflow-x: hidden;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.open_menu .shadow {
    display: block;
}

.nav_new .close_item {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 16px;
    border-bottom: 1px solid #f2f2f2;
}

.nav_new .close_item .icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 18px;
    background: none;
}

.nav_new .close_item .icon.icon_close::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f00d'; /* fa-xmark */
    color: #555;
    font-size: 18px;
}

.nav_new .item {
    line-height: 36px;
    position: relative;
    width: 100%;
    background-color: #fff;
}

.nav_new .item.nav_home {
    margin-top: 8px;
}

.nav_new .item:hover {
    background-color: #f8f9fa;
}

.nav_new .item > a {
    cursor: pointer;
    font-size: 14px;
    line-height: 26px;
    color: #4b4b4b;
    padding: 8px 12px 8px 50px;
    display: block;
    position: relative;
    font-weight: 600;
}

.nav_new .item:hover > a {
    color: #24cd77;
}

.nav_new .item .fa {
    left: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #8B8B8B;
}

/* Live Search Panel overlay */
#so {
    display: none;
    position: absolute;
    width: 100%;
    height: 45px;
    background: linear-gradient(180deg, #39b530, #318a28) !important;
    z-index: 999999;
    left: 0;
    top: 0;
}

.so {
    height: 35px;
    width: 100%;
    line-height: 35px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.back-btn {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.back-btn img {
    width: 16px;
    height: 16px;
}

.so .ll {
    background: #fff;
    flex: 1;
    border-radius: 35px;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    position: relative;
}

.so .query {
    width: 100%;
    border: none !important;
    background: transparent;
    font-size: 14px;
    height: 30px;
    padding: 0;
    color: #333;
}

.so .cc {
    width: 25px;
    height: 25px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.so .search-btn {
    width: 40px;
    height: 35px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.so .search-btn .search-btn-icon {
    display: block;
    background: url("../../Z_img/svg_icon.svg") 0 -24px no-repeat;
    background-size: 24px auto;
    width: 24px;
    height: 24px;
}

/* Suggestion Container */
#sresult {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10002;
    padding: 10px;
    display: none;
    max-height: 400px;
    overflow-y: auto;
}

#submitsearch {
    padding: 8px 10px;
    font-size: 13px;
    color: #666;
    border-bottom: 1px solid #eee;
}

/* ==========================================================================
   3. HERO BANNER & PREMIUM CROWN PODIUM (index.css & new.css)
   ========================================================================== */
.ranking_list {
    margin: 10px auto;
    text-align: center;
    width: 100%;
}

.ranking_list img {
    border-radius: 20px;
    width: 95% !important;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Daily Profit Rank Stage Grid */
.dailyProfitRank[data-v-84514e8e] {
    padding: 0 10px;
    color: #04060a;
    margin-top: .5rem;
}

.dailyProfitRank__content[data-v-84514e8e] {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dailyProfitRank__content-topThree[data-v-84514e8e] {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    align-items: end;
    width: 100%;
    height: 3.5rem;
    z-index: 1;
    background: url(../../Z_img/DailyProfitRankStage-ce00a6d6.webp) center center/100% 100% no-repeat;
    padding-bottom: 0.15rem;
}

.dailyProfitRank__content-topThree__item[data-v-84514e8e] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1.8rem;
    height: 3.6rem;
}

/* Logo Ring border */
.dailyProfitRank__content-topThree__item > div[data-v-84514e8e]:first-of-type {
    position: relative;
    display: grid;
    place-items: center;
    width: 1.4rem;
    min-width: 1.4rem;
    height: 1.4rem;
    min-height: 1.4rem;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    background-size: 100% 100% !important;
}

.dailyProfitRank__content-topThree__item > div:first-of-type > img[data-v-84514e8e] {
    width: 78%;
    height: 78%;
    border-radius: 50%;
    object-fit: cover;
}

/* Crowns and Placemats overlay */
.dailyProfitRank__content-topThree__item > div[data-v-84514e8e]:last-of-type {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 1.6rem;
    height: 1.7rem;
    top: -0.22rem;
    z-index: 3;
    pointer-events: none;
}

/* Crown top */
.dailyProfitRank__content-topThree__item > div:last-of-type img[data-v-84514e8e]:first-of-type {
    width: 0.85rem;
    height: auto;
    margin-bottom: auto;
}

/* Place number label bottom */
.dailyProfitRank__content-topThree__item > div:last-of-type img[data-v-84514e8e]:last-of-type {
    width: 1.6rem;
    height: 0.38rem;
    margin-top: auto;
}

/* Text name */
.dailyProfitRank__content-topThree__item > span[data-v-84514e8e]:first-of-type {
    margin-top: 0.12rem;
    font-size: .22rem;
    font-weight: 700;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    text-align: center;
}

/* Download CTA inside top rank */
.dailyProfitRank__content-topThree__item .btn {
    display: block;
    width: 1.5rem;
    height: 0.44rem;
    line-height: 0.4rem;
    margin: 0.05rem auto 0;
    border-radius: 6px;
    color: #fff;
    font-size: .18rem;
    font-weight: 700;
    text-align: center;
    background: linear-gradient(180deg, #ff4c4c, #c00000);
    border: 1px solid #800000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.dailyProfitRank__content-topThree__item .btn:hover {
    background: red;
}

/* ==========================================================================
   4. TELEGRAM PANEL & SECTIONS (new.css & style.css)
   ========================================================================== */
.group-card {
    border: 2px solid transparent;
    border-radius: 8px;
    background: #f0f8ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 10px;
    padding: 10px 14px;
    box-sizing: border-box;
}

.telegram-card {
    animation: telegram-border-animation 1s infinite;
}

@keyframes telegram-border-animation {
    0%, 100% { border-color: transparent }
    50% { border-color: #004f7a }
}

.icon-telegram {
    font-size: 24px;
    color: #004f7a;
    margin-right: 8px;
}

.join-text {
    color: #004f7a;
    font-size: 14px;
    font-weight: 700;
}

.telegram-card .seoquake-nofollow {
    background: #004f7a;
    color: white !important;
    border-radius: 4px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.telegram-card .seoquake-nofollow:hover {
    background: #006094;
}

/* Category header titles */
.col-4.FooterLinksSectionV2_lineParentV2__282r9 {
    display: flex;
    align-items: center;
    flex: 1;
}

.FooterLinksSectionV2_leftLineV2__mboW1 {
    width: 100%;
    height: 2px;
    background-color: #540979;
}

.FooterLinksSectionV2_rightLineV2__weKDH {
    width: 100%;
    height: 2px;
    background-color: #540979;
}

.FooterLinksSectionV2_headingFooterLinkV2__Vnuk8 {
    font-size: 16px;
    font-weight: 900;
    font-style: italic;
    color: #540979;
    margin: 15px 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ==========================================================================
   5. TABS SYSTEM & GAME LISTS GRID (new.css & index.css)
   ========================================================================== */
.tab-navigation-wrapper {
    display: flex;
    justify-content: space-around;
    background-color: #f1f3f5;
    border-radius: 12px;
    padding: 4px;
    margin: 12px 10px;
    border: 1px solid #e9ecef;
}

.tab-trigger-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 8px 4px;
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: center;
}

.tab-trigger-btn.is-active-tab {
    background-color: #ffffff;
    color: #318a28;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Tabs list container */
.is-tab {
    counter-reset: img-ratio-counter;
}

.is-tab .tab-items {
    display: none;
    padding: 0 10px;
}

.is-tab .tab-items:first-child {
    display: block;
}

.tab-apk-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Tactical App listings row */
.apk-grid-item {
    background: #ffffff;
    border: 1px solid #f1f3f5;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    padding: 8px;
    box-sizing: border-box;
    transition: transform 0.2s, box-shadow 0.2s;
}

.apk-grid-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.apk-grid-item ul {
    width: 100%;
}

.apk-grid-item .grid-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Dynamic counter ranking ribbon tags on app icons */
.apk-grid-item .img-ratio {
    position: relative;
    counter-increment: img-ratio-counter;
}

.img-ratio::before {
    border-style: solid;
    border-width: 14px 7px 4px;
    content: " ";
    position: absolute;
    top: -2px;
    left: 8px;
    z-index: 10;
}

/* Podium color stripes */
.is-tab div:nth-child(1) .img-ratio::before { border-color: #f3251b #f3251b transparent; }
.is-tab div:nth-child(2) .img-ratio::before { border-color: #f77e13 #f77e13 transparent; }
.is-tab div:nth-child(3) .img-ratio::before { border-color: #efab19 #efab19 transparent; }
.is-tab div:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(3)) .img-ratio::before { border-color: #cd7f32 #b07d2c transparent; }

.img-ratio::after {
    color: #fff;
    content: counter(img-ratio-counter);
    font-size: 10px;
    font-weight: 700;
    line-height: 15px;
    text-align: center;
    width: 14px;
    position: absolute;
    top: -2px;
    left: 8px;
    z-index: 11;
}

.apk-grid-item .grid-row img.icon {
    background-color: #fff;
    border: 1px solid #eff3f9;
    border-radius: 12px;
    height: 56px;
    width: 56px;
    object-fit: cover;
}

.apk-grid-item .grid-row .grid-text-box {
    flex: 1;
    margin: 0 12px;
    width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apk-grid-item .grid-row .grid-text-box .grid-item-title {
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.apk-grid-item .grid-row .grid-text-box .grid-item-developer {
    color: #ff5500 !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}

.apk-grid-item .grid-row .grid-text-box .grid-item-preregister {
    color: #318a28;
    font-size: 11px;
    font-weight: 700;
    line-height: 14px;
}

/* Green gradient download buttons */
.apk-grid-item .grid-row .apk-grid-button {
    background: linear-gradient(180deg, #39b530, #318a28) !important;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 16px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(49, 138, 40, 0.2);
}

.apk-grid-item .grid-row .apk-grid-button:hover {
    opacity: 0.95;
}

/* ==========================================================================
   6. MARQUEE NOTICE & FAQ ACCORDION (new.css, footer.css, SHEJH-272-FAQ.css)
   ========================================================================== */
.SHEJH-272_Notice_Slider {
    margin: 15px 10px;
}

.SHEJH-272_Notice_Slider marquee {
    position: relative;
    width: 100%;
    background: #1b1b1b;
    color: #fff;
    font-weight: 600;
    line-height: 32px;
    border-radius: 6px;
    border: 1px dashed #444;
    padding: 2px 10px;
    box-sizing: border-box;
}

/* Thick shadow FAQ accordion process styles */
.process {
    padding: 0 10px 24px;
    font-family: "Outfit", "Inter", sans-serif;
}

.process .accordions__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.process .accordions__item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-left: 4px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process .accordions__item:hover:not(.open) {
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.12);
    border-left-color: var(--theme-primary);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.process .accordions__control {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    width: 100%;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: none;
    outline: none;
}

.process .accordions__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    margin-right: 16px;
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Outfit", sans-serif;
}

.process .accordions__title {
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    flex: 1;
    line-height: 1.4;
    text-align: left;
    color: #1e293b;
    transition: color 0.3s ease;
    font-family: "Outfit", "Inter", sans-serif;
}

.process .accordions__control:hover .accordions__title {
    color: var(--theme-primary);
}

.process .accordions__icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background-color: #f1f5f9;
    border: none;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process .accordions__icon::before, 
.process .accordions__icon::after {
    content: "";
    background-color: #64748b;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.process .accordions__icon::before {
    width: 12px;
    height: 2px;
}

.process .accordions__icon::after {
    width: 2px;
    height: 12px;
}

.process .accordions__content {
    padding: 0 24px 0 72px;
    max-height: 0;
    overflow: hidden;
    will-change: max-height;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
    font-family: "Inter", sans-serif;
}

/* Accordion Open State overrides */
.process .accordions__item.open {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--theme-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.process .accordions__item.open .accordions__title {
    color: var(--theme-primary);
}

.process .accordions__item.open .accordions__number {
    background-color: var(--theme-primary);
    color: #ffffff;
}

.process .accordions__item.open .accordions__content {
    padding: 0 24px 20px 72px;
}

.process .accordions__item.open .accordions__icon {
    background-color: var(--theme-primary);
    transform: rotate(135deg);
}

.process .accordions__item.open .accordions__icon::before, 
.process .accordions__item.open .accordions__icon::after {
    background-color: #ffffff;
}

/* ==========================================================================
   7. FOOTER CONTAINER & SOCIAL PANEL (footer.css)
   ========================================================================== */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0 10px;
    background-color: var(--footer-bg, #1b1b1b);
    color: var(--footer-text, #ffffff);
    font-size: 14px;
    margin-top: auto;
}

.FooterComponentV2_headingMobile__hmD15 {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.FooterComponentV2_socialFooterContainer__7bGt_ {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.FooterComponentV2_socialImageContainer__LTabP {
    width: 38px;
    height: 38px;
    position: relative;
    display: block;
}

.FooterComponentV2_socialImageContainer__LTabP img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.footer .devider {
    width: 100%;
    border-bottom: 1px solid #33354a;
    margin: 10px 0;
}

.footer .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 10px;
}

.footer .links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--footer-text, #fff);
    border: 1px solid var(--footer-border, #444);
    border-radius: 6px;
    transition: background-color 0.2s, border-color 0.2s;
}

.footer .links a i {
    margin-right: 4px;
}

.footer .links a:hover {
    border-color: #aaa;
    color: #ccc;
}

.footer p {
    font-size: 11px;
    color: var(--footer-muted, #888);
    margin-top: 6px;
}

/* ==========================================================================
   8. APPLICATION DETAILS SHEET STYLE (style.css & new.css)
   ========================================================================== */
.app_container {
    padding: 16px;
}

.app_header {
    display: flex;
    align-items: center;
    padding: 8px 0;
    gap: 16px;
}

.app_logo {
    flex-shrink: 0;
}

.logo_app {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    object-fit: cover;
}

.header_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.app_info h1 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.rating_info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #666;
}

.ratings {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ratings div {
    font-weight: 900;
    font-size: 14px;
    color: #333;
}

.ratings p {
    font-size: 10px;
    color: #777;
}

.separator {
    color: #ccc;
}

.app_download, .app_login {
    color: #fff;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
    display: block;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.15s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.app_download:active, .app_login:active {
    transform: scale(0.98);
}

.app_download {
    background: linear-gradient(180deg, #ff4c4c, #d10000);
    border-radius: 30px;
    margin: 15px 10px;
    border: 1px solid #900;
}

.app_login {
    background: linear-gradient(180deg, #24cd77, #189856);
    border-radius: 30px;
    margin: 10px 10px;
    border: 1px solid #0f6036;
}

/* WhatsApp and Telegram detailed channels buttons */
.wa, .tg {
    display: block;
    text-align: center;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    padding: 6px;
    margin: 12px 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.wa {
    color: #25d366;
    border: 1.5px solid #25d366;
}

.wa:hover {
    background-color: rgba(37, 211, 102, 0.05);
}

.tg {
    color: #08c;
    border: 1.5px solid #08c;
}

.tg:hover {
    background-color: rgba(0, 136, 204, 0.05);
}

/* Screenshots carousel slider */
.screenshot-container {
    position: relative;
    width: 100%;
    margin: 15px auto;
    overflow: hidden;
    border-radius: 12px;
}

.screenshot-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px;
}

.screenshot-carousel::-webkit-scrollbar {
    height: 4px;
}

.screenshot-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.screenshot {
    flex-shrink: 0;
    scroll-snap-align: start;
}

.screenshot img {
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    height: 220px;
    width: auto;
    object-fit: contain;
}

/* Review description details styles */
.Dont_Copy_AllRummyApp_Com {
    padding: 10px 14px;
}

.Dont_Copy_AllRummyApp_Com h2 {
    font-size: 16px;
    text-align: center;
    font-weight: 700;
    margin: 12px 0;
    color: #191a23;
}

.Dont_Copy_AllRummyApp_Com h3 {
    font-size: 14px;
    text-align: center;
    font-weight: 700;
    margin: 8px 0;
}

.Dont_Copy_AllRummyApp_Com p {
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6;
    color: #555;
}

.Dont_Copy_AllRummyApp_Com ul {
    padding-left: 20px;
    margin: 10px 0;
}

.Dont_Copy_AllRummyApp_Com li {
    font-size: 13px;
    list-style: decimal;
    margin-bottom: 6px;
    color: #555;
}

.Dont_Copy_AllRummyApp_Com .devider {
    width: 100%;
    border-bottom: 1px solid #eee;
    margin: 15px 0;
}

/* Related Apps horizontal swipe list */
.jzxGCb {
    margin: 16px 0;
    padding: 0 10px;
}

.eFDgTo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.bomqbo {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.hlCfwc {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.hlCfwc::-webkit-scrollbar {
    display: none;
}

.dUoBp {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    cursor: pointer;
}

.oNrA {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    object-fit: cover;
}

.buKyNz {
    margin-top: 6px;
    text-align: center;
    width: 100%;
}

.dKuTdK {
    font-size: 11px;
    font-weight: 700;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.fSJjTu {
    font-size: 10px;
    font-weight: 700;
    color: #ffa709;
    display: block;
}

/* ==========================================================================
   9. BREADCRUMBS, CATEGORIES AND STATIC PAGE VIEWS (Parity Styles)
   ========================================================================== */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    margin: 12px 10px 6px;
    font-family: "Poppins", sans-serif;
}

.breadcrumbs a {
    color: #888;
    transition: color 0.15s;
}

.breadcrumbs a:hover {
    color: #318a28;
}

.breadcrumbs span.current {
    color: #333;
    font-weight: 800;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category & Archive Cards */
.category-header-card {
    background-color: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 16px;
    padding: 16px;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 3px 8px;
    background-color: rgba(84, 9, 121, 0.08);
    color: #540979;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
}

.category-header-title {
    font-size: 18px;
    font-weight: 900;
    color: #222;
    line-height: 1.3;
}

.category-header-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    font-weight: 500;
}

/* Categories Grid & Detail Page layout */
.categories-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 10px 20px;
}

.category-item-card {
    background-color: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

.category-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.category-item-title {
    font-size: 16px;
    font-weight: 800;
    color: #333;
    line-height: 1.2;
}

.category-item-count {
    font-size: 10px;
    color: #999;
    font-weight: 700;
    margin-top: 4px;
    display: block;
}

.category-item-icon {
    font-size: 18px;
    background-color: rgba(84, 9, 121, 0.08);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-item-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-explore-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #f1f3f5;
    color: #495057;
    font-weight: 700;
    font-size: 12px;
    border-radius: 10px;
    transition: background-color 0.15s, color 0.15s;
    box-sizing: border-box;
}

.category-explore-btn:hover {
    background-color: #540979;
    color: #fff;
}

/* Category Grid & Grid elements */
.categories-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 10px 16px;
}

.categories-nav-btn {
    display: block;
    text-align: center;
    padding: 10px 6px;
    background-color: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #495057;
    transition: all 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.categories-nav-btn:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

.categories-all-btn {
    grid-column: span 2;
    background-color: #540979;
    color: #fff;
    border: none;
}

.categories-all-btn:hover {
    background-color: #430661;
    color: #fff;
}

/* Static Information Pages */
.static-card {
    background-color: #fff;
    border: 1px solid #f1f3f5;
    border-radius: 16px;
    padding: 20px 16px;
    margin: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.static-header {
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.static-header-icon {
    font-size: 20px;
    background-color: rgba(84, 9, 121, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.static-header-title {
    font-size: 18px;
    font-weight: 900;
    color: #222;
    line-height: 1.2;
}

.static-header-tag {
    font-size: 9px;
    font-weight: 700;
    color: #540979;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.static-content {
    font-size: 13px;
    color: #555;
    line-height: 1.65;
    font-family: "Poppins", sans-serif;
}

.static-content p {
    margin-bottom: 14px;
}

.static-content p:last-child {
    margin-bottom: 0;
}

.static-content h3 {
    font-size: 14px;
    font-weight: 700;
    color: #191a23;
    margin: 20px 0 10px;
    text-align: left;
}

.static-content a {
    color: #318a28;
    font-weight: 700;
    text-decoration: underline;
}

.static-content a:hover {
    color: #24cd77;
}

.static-alert {
    padding: 14px 16px;
    border-left: 4px solid;
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
}

.static-alert-success {
    background-color: #e8f5e9;
    border-left-color: #2e7d32;
    color: #1b5e20;
}

.static-alert-danger {
    background-color: #ffebee;
    border-left-color: #c62828;
    color: #b71c1c;
}

.static-alert-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.static-alert-desc {
    font-size: 11px;
    line-height: 1.5;
}

/* Static Contact Form */
.static-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.static-form-title {
    font-size: 14px;
    font-weight: 800;
    color: #222;
    text-transform: uppercase;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.static-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.static-field-label {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.static-field-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    border-radius: 10px;
    font-size: 12px;
    color: #333;
    transition: border-color 0.15s, background-color 0.15s;
    box-sizing: border-box;
}

.static-field-input:focus {
    border-color: #318a28;
    background-color: #fff;
}

.static-form-submit {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #318a28;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    border: none;
    border-radius: 10px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(49, 138, 40, 0.15);
    transition: background-color 0.15s;
}

.static-form-submit:hover {
    background-color: #24cd77;
}

.static-form-submit:active {
    transform: scale(0.98);
}

/* ==========================================================================
   9. RESPONSIVE SEARCH RESULTS APP LIST STYLE SHEET
   ========================================================================== */
#searchResults {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 8px 12px !important;
    background-color: #ffffff !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#searchResults .search_li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 10px !important;
    border-bottom: 1px solid #f1f3f5 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.01) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

#searchResults .search_li:hover {
    background-color: #fafafa !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
}

/* Number badge index */
#searchResults .s_num {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
    background-color: #f1f5f9 !important;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 50% !important;
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    top: 0 !important; /* Overrides absolute offsets in index.css */
    left: 0 !important;
}

/* App icon logo */
#searchResults .s_img {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05) !important;
    display: block !important;
}

/* Details container */
#searchResults .s_info {
    flex: 1 !important;
    margin: 0 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important; /* Enables ellipsis truncation */
}

/* App name text */
#searchResults .s_name {
    font-family: "Outfit", "Inter", sans-serif !important;
    font-size: 14px !important;
    color: #1e293b !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* App rating & bonus row */
#searchResults .s_grade {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    font-size: 11px !important;
    color: #475569 !important;
    font-weight: 600 !important;
    line-height: normal !important;
    overflow: visible !important;
    white-space: nowrap !important;
}

#searchResults .s_grade span {
    color: #eab308 !important; /* Golden star symbol */
}

#searchResults .s_em {
    color: #ff5500 !important;
    font-weight: 700 !important;
    font-style: normal !important;
    font-size: 11px !important;
}

/* Mini text for Withdrawal */
#searchResults .s_txt {
    font-size: 11px !important;
    color: #318a28 !important;
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: normal !important;
}

/* Download CTA Button */
#searchResults .search_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    padding: 0 16px !important;
    background: linear-gradient(180deg, #39b530, #318a28) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(49, 138, 40, 0.2) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    width: auto !important; /* Make it responsive */
    margin: 0 !important;
}

#searchResults .search_btn:hover {
    opacity: 0.95 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(49, 138, 40, 0.35) !important;
}

/* Responsive adjustments for narrow screens */
@media (max-width: 480px) {
    #searchResults {
        padding: 6px 10px !important;
    }
    #searchResults .search_li {
        padding: 10px 8px !important;
    }
    #searchResults .s_num {
        display: none !important; /* Hide search indices on small screen widths */
    }
    #searchResults .s_img {
        width: 42px !important;
        height: 42px !important;
    }
    #searchResults .s_info {
        margin: 0 10px !important;
    }
    #searchResults .s_name {
        font-size: 13px !important;
    }
    #searchResults .search_btn {
        padding: 0 10px !important;
        font-size: 11px !important;
        height: 28px !important;
    }
}

/* ==========================================================================
   10. RESTORED HEADER ICON & LOGO BUTTON SYSTEM STYLES
   ========================================================================== */
#header .menu_btn, #header .search_btn {
    width: 45px !important;
    height: 45px !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    position: absolute !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #fff !important;
    opacity: 0.8 !important;
    transition: opacity 0.2s !important;
    top: 0 !important;
}
#header .menu_btn:hover, #header .search_btn:hover {
    opacity: 1 !important;
}
#header .menu_btn {
    left: 0 !important;
}
#header .search_btn {
    right: 0 !important;
}
.nav_container .icon {
    background: url("../../Z_img/svg_icon.svg") no-repeat !important;
    background-size: 24px auto !important;
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}
.nav_container .icon.icon_menu {
    background-position: 0 0 !important;
}
.nav_container .icon.icon_search {
    background-position: 0 -24px !important;
}
.nav_container .icon.icon_close {
    background-position: 0 -48px !important;
}
.so .search-btn .search-btn-icon {
    display: inline-block !important;
    background: url("../../Z_img/svg_icon.svg") 0 -24px no-repeat !important;
    width: 24px !important;
    height: 24px !important;
    vertical-align: middle !important;
    background-size: 24px auto !important;
}

/* ==========================================================================
   11. TECHLIST AND TECHMANUJI RESTORED LIST VIEW STYLES
   ========================================================================== */
.techlist {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 10px 0 !important;
    list-style: none !important;
    width: 100% !important;
}
.techmanuji {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #f1f3f5 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    padding: 12px 14px !important;
    box-sizing: border-box !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    margin-bottom: 4px !important;
    position: relative !important;
    width: 100% !important;
}
.techmanuji:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
}
.techmanuji-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 !important;
    text-decoration: none !important;
    min-width: 0 !important;
}
.techmanuji img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 12px !important;
    object-fit: cover !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}
.techmanuji .info {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
    flex: 1 !important;
}
.techmanuji .name {
    font-family: "Outfit", "Inter", sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}
.techmanuji .num {
    margin: 0 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #16a34a !important; /* Green for Bonus */
}
.techmanuji .num span {
    background: #dcfce7 !important;
    padding: 2px 8px !important;
    border-radius: 20px !important;
}
.techmanuji .txt {
    margin: 0 !important;
    font-size: 10.5px !important;
    color: #64748b !important;
    font-weight: 600 !important;
}
.techmanuji .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 16px !important;
    background: linear-gradient(180deg, #39b530, #318a28) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(49, 138, 40, 0.2) !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    width: auto !important;
    margin: 0 !important;
}
.techmanuji .btn:hover {
    opacity: 0.95 !important;
    transform: scale(1.02) !important;
    box-shadow: 0 4px 12px rgba(49, 138, 40, 0.35) !important;
}


