/* ===== Rummy Meet — Indian Premium Theme ===== */
:root {
    --maroon-950: #2D0A12;
    --maroon-900: #4A0E17;
    --maroon-800: #6B0F1A;
    --maroon-700: #8B1A2B;
    --gold-400: #FFD700;
    --gold-500: #DAA520;
    --gold-300: #F5D061;
    --gold-100: #FFF3C4;
    --ivory: #FFFDF5;
    --ink: #1A0F0F;
    --muted: #6B5E55;
    --line: #E8DCC8;
    --shadow: 0 8px 30px rgba(74,14,23,.12);
    --radius: 16px;
    --max-w: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--ivory);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-700); text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .35em; }
.page-section { padding: 48px 16px; }
.page-container { max-width: var(--max-w); margin: 0 auto; background: #fff; border-radius: var(--radius); padding: clamp(20px,4vw,40px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-eyebrow { display: inline-block; color: var(--maroon-700); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.rg-breadcrumbs { margin-bottom: 16px; font-size: .82rem; color: var(--muted); }
.rg-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rg-breadcrumbs li { display: inline; }
.rg-breadcrumbs a { color: var(--maroon-700); text-decoration: none; }
.rg-breadcrumbs a:hover { text-decoration: underline; }
.rg-breadcrumbs span[aria-current] { color: var(--muted); }
.rg-bc-sep { color: #bbb; font-size: .82rem; }
#rg-main { padding-top: 54px; }
.topbar { position: fixed; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max-w); z-index: 999; background: linear-gradient(135deg, var(--maroon-900), var(--maroon-800)); border-bottom: 2px solid var(--gold-500); border-radius: 0 0 12px 12px; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.topbar-inner { padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; }
.topbar-brand { font-size: 20px; font-weight: 800; color: var(--gold-400); display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 3px rgba(0,0,0,.2); }
.topbar-brand img { width: 30px; height: 30px; border-radius: 6px; }
.topbar-nav { display: flex; gap: 4px; align-items: center; }
.topbar-nav a { color: var(--gold-100); font-size: 15px; padding: 8px 12px; border-radius: 8px; transition: all .2s; white-space: nowrap; }
.topbar-nav a:hover { background: rgba(255,255,255,.1); color: var(--gold-400); }
.hero-banner { max-width: var(--max-w); margin: 0 auto; position: relative; overflow: hidden; }
.hero-banner { aspect-ratio: 720 / 400; }
.hero-banner-bg { display: block; width: 100%; height: auto; }
.hero-banner-overlay { position: absolute; top: 0; left: 0; right: 0; padding: 20px 16px 0; text-align: center; background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 70%); pointer-events: none; }
.hero-banner-overlay h1 { color: #fff; font-size: 1.1rem; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.4); margin-bottom: 4px; }
.hero-banner-overlay p { color: var(--gold-100); font-size: .82rem; margin: 0; }
.hero-banner-btn { position: absolute; bottom: 11%; left: 25%; width: 50%; height: 9.4%; cursor: pointer; background: linear-gradient(135deg, #FFD700, #FFA500); border: none; border-radius: 999px; animation: pulse-btn 1.2s infinite ease-in-out; box-shadow: 0 4px 20px rgba(255,215,0,.4); }
.hero-banner-btn::after { content: "DOWNLOAD NOW"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #2D0A12; font-size: .82rem; font-weight: 900; letter-spacing: .02em; }
@keyframes pulse-btn { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.page-intro { max-width: var(--max-w); margin: 6px auto 0; padding: 10px 14px 4px; text-align: center; }
.page-intro h2 { font-size: .95rem; font-weight: 700; color: var(--ink); }
.page-intro p { font-size: .82rem; color: var(--muted); margin: 4px 0 0; }
.sort-tabs { max-width: var(--max-w); margin: 0 auto; padding: 4px 14px 0; display: flex; gap: 0; background: #fff; border-radius: var(--radius) var(--radius) 0 0; border: 1px solid var(--line); border-bottom: none; box-shadow: var(--shadow); overflow: hidden; }
.sort-tab { flex: 1; text-align: center; padding: 12px 8px; font-size: .82rem; font-weight: 700; color: var(--muted); background: transparent; border: none; cursor: pointer; transition: all .2s; border-radius: 0; position: relative; font-family: inherit; }
.sort-tab.active { color: var(--maroon-700); background: var(--ivory); }
.sort-tab.active::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 3px; background: var(--maroon-700); border-radius: 3px 3px 0 0; }
.sort-tab:hover { color: var(--maroon-700); background: rgba(107,15,26,.04); }
.app-grid-section { max-width: var(--max-w); margin: 0 auto; padding: 4px 3px 8px; }
.app-grid-list { margin: 0; padding: 0; list-style: none; }
.app-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px; margin-bottom: 10px; background: #fff; border-radius: 18px; box-shadow: 0 4px 18px rgba(0,0,0,.06); border: 1px solid var(--line); transition: transform .2s; }
.app-card:hover { transform: translateY(-2px); }
.app-card-rank { display: flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; font-size: .82rem; font-weight: 800; color: var(--maroon-700); background: var(--gold-100); border-radius: 8px; padding: 0 6px; }
.app-card-link { display: flex; align-items: center; flex: 1; min-width: 0; gap: 12px; }
.app-card-icon img { width: 72px; height: 72px; border-radius: 16px; object-fit: cover; }
.app-card-info { min-width: 0; }
.app-card-name { font-size: .95rem; font-weight: 800; margin: 0 0 6px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.app-card-name a { color: var(--ink); text-decoration: none; }
.app-card-name a:hover { color: var(--maroon-700); text-decoration: underline; }
.app-card-badge { display: inline-flex; height: 22px; padding: 0 10px; font-size: .82rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, #C41E3A, var(--maroon-700)); border-radius: 999px; align-items: center; }
.app-card-meta { font-size: .82rem; color: var(--muted); margin: 0 0 4px; }
.app-card-bonus { font-size: .82rem; color: #0B5A28; margin: 0; }
.app-card-bonus strong { background: rgba(11,90,40,.12); padding: 2px 10px; border-radius: 999px; font-size: .82rem; }
.app-card-dl { display: inline-flex; align-items: center; justify-content: center; min-width: 110px; height: 44px; padding: 0 28px; font-size: .82rem; font-weight: 700; color: #fff; background: linear-gradient(180deg, var(--maroon-700), var(--maroon-900)); border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 12px rgba(107,15,26,.25); transition: transform .2s; }
.app-card-dl:hover { transform: scale(1.05); }
.featured-section { width: 100%; padding: 14px 0; }
.featured-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 10px; }
.featured-heading { font-size: .88rem; font-weight: 700; color: var(--ink); text-align: center; margin-bottom: 12px; }
.featured-swiper { border-radius: 18px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.08); background: #fff; }
.featured-swiper .swiper-slide a { display: block; }
.featured-swiper .swiper-slide img { display: block; width: 100%; }
.swiper-pagination-bullet { width: 8px; height: 8px; background: var(--maroon-700); opacity: .4; }
.swiper-pagination-bullet-active { opacity: 1; }
.quick-links-section { max-width: var(--max-w); margin: 0 auto; padding: 2px 16px 4px; }
.quick-links-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; }
.quick-links-inner a { font-size: .82rem; color: var(--muted); opacity: .85; padding: 4px 0; }
.quick-links-inner a:hover { opacity: 1; color: var(--maroon-700); }
.site-foot { padding: 50px 16px 110px; color: var(--gold-100); background: linear-gradient(180deg, var(--maroon-900), #1A080E); }
.foot-inner { max-width: var(--max-w); margin: 0 auto; }
.foot-cols { display: grid; grid-template-columns: 1fr; gap: 28px; }
.foot-brand { font-size: 1.2rem; font-weight: 900; color: var(--gold-400); margin-bottom: 8px; }
.foot-cols h3 { font-size: .88rem; font-weight: 800; color: var(--gold-300); margin-bottom: 10px; }
.foot-cols p { color: #C4A88A; font-size: .82rem; margin: 0; line-height: 1.5; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols li { margin: 6px 0; }
.foot-cols a { color: #D4B896; font-size: .82rem; }
.foot-cols a:hover { color: var(--gold-400); }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.foot-social a { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; font-size: .82rem; background: rgba(255,255,255,.04); }
.foot-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 8px; }
.foot-bottom p { margin: 0; color: #A0806A; font-size: .82rem; }
.sticky-bar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: var(--max-w); z-index: 9999; padding: 12px 16px; background: var(--maroon-950); box-shadow: 0 -4px 20px rgba(0,0,0,.2); }
.sticky-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-bar-left { display: flex; align-items: center; gap: 10px; }
.sticky-bar-left img { width: 44px; height: 44px; border-radius: 10px; }
.sticky-bar-left span { display: flex; flex-direction: column; color: var(--gold-100); font-size: .85rem; font-weight: 700; }
.sticky-bar-left small { color: var(--gold-300); font-size: .82rem; }
.sticky-bar-btn { padding: 12px 24px; font-size: .85rem; font-weight: 800; color: #2D0A12; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); border-radius: 10px; white-space: nowrap; transition: transform .2s; }
.sticky-bar-btn:hover { transform: scale(1.05); }
.app-detail-hero { max-width: var(--max-w); margin: 0 auto; }
.app-detail-hero-inner { position: relative; aspect-ratio: 1/1; }
.app-detail-banner { display: block; width: 100%; height: auto; border-radius: 0 0 18px 18px; }
.btn-gold { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; font-size: .85rem; font-weight: 800; color: #2D0A12; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); border-radius: 12px; text-decoration: none; transition: transform .2s; }
.btn-gold:hover { transform: scale(1.04); }
.hindi-note { display:block; margin:6px 0 10px; font-size:.85rem; color:#5A4E42; font-style:italic; line-height:1.5; }
.section-title { font-size:1.05rem; font-weight:800; color:var(--ink); margin:32px 0 4px; padding-bottom:8px; border-bottom:2px solid var(--gold-500); }
.section-desc { font-size:.85rem; color:var(--muted); margin:4px 0 16px; line-height:1.5; }
.app-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px; }
.info-box { border:1px solid var(--line); border-radius:var(--radius); padding:14px; background:#fff; }
.info-label { display:block; color:var(--muted); font-size:.85rem; margin-bottom:4px; }
.info-value { font-size:1.1rem; color:var(--maroon-700); }
.app-content { line-height:1.8; color:var(--ink); font-size:1rem; }
.faq-section { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); padding:4px 0; }
.faq-item summary { cursor:pointer; padding:14px 4px; font-weight:700; font-size:.95rem; color:var(--ink); }
.faq-item summary:hover { color:var(--maroon-700); }
.faq-answer { padding:0 34px 14px 4px; color:var(--muted); font-size:.95rem; margin:0; line-height:1.6; }
.similar-name { font-size:.9rem; display:block; margin-bottom:4px; color:var(--ink); }
.app-card-link:hover .similar-name { color:var(--maroon-700); }
.back-link { margin-top:24px; text-align:center; font-size:.9rem; }
.screenshot-grid { display:flex; gap:10px; overflow-x:auto; -webkit-overflow-scrolling:touch; scroll-snap-type:x mandatory; padding-bottom:8px; margin-bottom:20px; }
.screenshot-grid::-webkit-scrollbar { height:4px; }
.screenshot-grid::-webkit-scrollbar-track { background:var(--line); border-radius:4px; }
.screenshot-grid::-webkit-scrollbar-thumb { background:var(--maroon-700); border-radius:4px; }
.screenshot-item { flex:0 0 auto; width:160px; border-radius:12px; overflow:hidden; border:1px solid var(--line); transition:transform .2s; scroll-snap-align:start; }
.screenshot-item:hover { transform:scale(1.03); }
.screenshot-item img { display:block; width:160px; height:auto; aspect-ratio:9/16; object-fit:cover; }
@media (max-width:640px) {
    .topbar-nav a { font-size: 13px; padding: 6px 6px; }
    .app-card { padding: 10px; }
    .app-card-icon img { width: 60px; height: 60px; border-radius: 14px; }
    .app-card-name { font-size: .85rem; }
    .app-card-dl { min-width: 90px; height: 38px; padding: 0 16px; font-size: .82rem; }
    .page-intro h2 { font-size: .85rem; }
    .page-intro p { font-size: .82rem; }
    .hero-banner-overlay h1 { font-size: .88rem; }
    .hero-banner-overlay p { font-size: .82rem; }
}
@media (min-width:641px) {
    .foot-cols { grid-template-columns: 1.2fr .8fr .8fr; }
    .foot-bottom { flex-direction: row; justify-content: space-between; }
}
