/* ==========================================================================
   Rummy Ola - Premium Responsive SEO Theme (Pixel-Perfect Architecture)
   Domain: https://rummyolas.com/
   NOTE: ALL typography and dimensions use explicit PX to prevent conflicts
   with dynamic root font-size scalers (such as pub_rem.js).
   ========================================================================== */

:root {
    --primary-gold: #FFD700;
    --gold-glow: rgba(255, 215, 0, 0.4);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --bg-dark-primary: #120303;
    --bg-dark-secondary: #1f0707;
    --bg-card: rgba(35, 7, 7, 0.9);
    --bg-card-hover: rgba(55, 12, 12, 0.95);
    --border-gold: rgba(255, 215, 0, 0.25);
    --border-gold-bright: #FFD700;
    --text-primary: #FFFFFF;
    --text-secondary: #dcd6d6;
    --text-muted: #a89c9c;
    --accent-green: #00E676;
    --accent-red: #FF3D00;
}

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Mukta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-dark-primary);
    background-image: radial-gradient(circle at 50% 0%, #3d0a0a 0%, #140303 60%, #0a0101 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
}

/* Container & Layout */
.seo-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px 90px;
    box-sizing: border-box;
}

/* Global Top Navigation Bar (Sub-pages) */
.site-nav {
    background: rgba(20, 3, 3, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 8px 15px;
}

.site-nav-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-gold);
    font-family: 'Baloo 2', sans-serif;
    font-size: 18px !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.nav-brand img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--primary-gold);
}

.nav-cta-btn {
    background: var(--gold-gradient);
    color: #000 !important;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 13px !important;
    padding: 6px 16px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(255, 165, 0, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.6);
}

/* Responsive Sticky Keyword Pill Navigation Bar */
.keyword-subnav {
    background: rgba(18, 3, 3, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.25);
    padding: 8px 10px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.keyword-subnav::-webkit-scrollbar {
    height: 3px;
}
.keyword-subnav::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.4);
    border-radius: 3px;
}

.keyword-subnav-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

.keyword-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.25);
    border-radius: 20px;
    color: #e0d8d8;
    text-decoration: none;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.keyword-pill:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #FFD700;
    border-color: #FFD700;
    transform: translateY(-1px);
}

.keyword-pill.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000 !important;
    font-weight: 800;
    border-color: #FFD700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

/* Floating Telegram Support Button (Responsive, Bottom-Left Position) */
.telegram-float-btn {
    position: fixed;
    bottom: 72px;
    left: 15px;
    z-index: 9999;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    border: 1.5px solid #FFD700;
    border-radius: 30px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF !important;
    text-decoration: none;
    font-size: 13px !important;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(0, 136, 204, 0.5), 0 0 10px rgba(255, 215, 0, 0.3);
    transition: all 0.25s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.telegram-float-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.7), 0 0 15px rgba(255, 215, 0, 0.6);
}

.telegram-float-btn svg {
    width: 18px;
    height: 18px;
    fill: #FFFFFF;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .telegram-float-btn {
        bottom: 65px;
        left: 10px;
        padding: 7px 11px;
        font-size: 12px !important;
    }
    .telegram-float-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* Breadcrumbs */
.breadcrumb-nav {
    padding: 12px 0 6px;
    font-size: 12px !important;
    color: var(--text-muted);
}

.breadcrumb-nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    gap: 6px;
}

.breadcrumb-nav li a {
    color: var(--primary-gold);
    text-decoration: none;
}

.breadcrumb-nav li::after {
    content: "›";
    margin-left: 6px;
    color: var(--text-muted);
}

.breadcrumb-nav li:last-child::after {
    content: "";
}

.breadcrumb-nav li:last-child {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Hero Box (Sub-pages) */
.hero-box {
    background: linear-gradient(145deg, rgba(50, 8, 8, 0.95), rgba(25, 4, 4, 0.98));
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 22px 16px;
    margin: 15px 0 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hero-app-icon {
    width: 75px;
    height: 75px;
    border-radius: 16px;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 4px 15px var(--gold-glow);
    margin: 0 auto 12px;
    display: block;
}

.hero-box h1 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 22px !important;
    font-weight: 800;
    color: var(--primary-gold);
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.hero-badge {
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid var(--primary-gold);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 11px !important;
    font-weight: 700;
    color: var(--primary-gold);
}

.hero-bonus-highlight {
    background: var(--gold-gradient);
    color: #000;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 14px !important;
    padding: 8px 14px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 3px 12px rgba(255, 140, 0, 0.35);
}

.download-btn-main {
    background: var(--gold-gradient);
    color: #000000 !important;
    font-family: 'Baloo 2', sans-serif;
    font-size: 16px !important;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(255, 165, 0, 0.45);
    border: 2px solid #FFF;
    cursor: pointer;
    transition: all 0.25s ease;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(1); box-shadow: 0 0 8px rgba(255,215,0,0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(255,215,0,0.8); }
    100% { transform: scale(1); box-shadow: 0 0 8px rgba(255,215,0,0.4); }
}

.download-meta-text {
    font-size: 11px !important;
    color: var(--text-muted);
    margin-top: 8px;
}

/* App Specification Table */
.spec-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.spec-table-title {
    background: var(--gold-gradient);
    color: #000;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 15px !important;
    padding: 10px 14px;
    margin: 0;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px !important;
}

.spec-table tr {
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.spec-table td {
    padding: 10px 14px;
}

.spec-table td.label {
    font-weight: 700;
    color: var(--primary-gold);
    width: 40%;
}

.spec-table td.value {
    color: var(--text-primary);
}

/* Content Headings & Articles */
.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 20px 16px;
    margin: 18px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.content-card h1 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 22px !important;
    color: var(--primary-gold);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.content-card h2 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 18px !important;
    color: var(--primary-gold);
    font-weight: 700;
    margin: 18px 0 12px;
    border-left: 4px solid var(--primary-gold);
    padding-left: 10px;
    line-height: 1.3;
}

.content-card h2:first-child {
    margin-top: 0;
}

.content-card h3 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 15px !important;
    color: #FFA500;
    font-weight: 700;
    margin: 16px 0 8px;
}

.content-card p {
    color: var(--text-secondary);
    font-size: 14px !important;
    line-height: 1.7;
    margin-bottom: 12px;
}

.content-card strong {
    color: #FFFFFF;
}

.content-card ul, .content-card ol {
    padding-left: 20px;
    margin-bottom: 14px;
}

.content-card li {
    color: var(--text-secondary);
    font-size: 13.5px !important;
    line-height: 1.65;
    margin-bottom: 6px;
}

/* Feature Grid */
.feature-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.feature-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gold);
    border-radius: 10px;
    padding: 14px;
    text-align: center;
    transition: transform 0.2s;
}

.feature-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-gold);
}

.feature-box .f-icon {
    font-size: 24px !important;
    margin-bottom: 6px;
    display: block;
}

.feature-box h4 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 14px !important;
    color: var(--primary-gold);
    margin-bottom: 4px;
}

.feature-box p {
    font-size: 12px !important;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Step-by-Step Installation Cards */
.steps-wrapper {
    margin: 16px 0;
}

.step-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.step-num {
    background: var(--gold-gradient);
    color: #000;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 14px !important;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.4);
}

.step-info h4 {
    color: var(--text-primary);
    font-size: 14px !important;
    margin-bottom: 3px;
}

.step-info p {
    color: var(--text-muted);
    font-size: 12.5px !important;
    margin: 0;
    line-height: 1.5;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 8px;
    margin: 14px 0;
}

.game-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
}

.game-item .game-icon {
    font-size: 22px !important;
    margin-bottom: 4px;
}

.game-item h5 {
    color: var(--primary-gold);
    font-size: 12px !important;
    margin: 0;
}

/* Internal Linking Silo Box */
.silo-cluster-box {
    background: linear-gradient(145deg, #220505, #140202);
    border: 1px solid var(--border-gold-bright);
    border-radius: 12px;
    padding: 18px 14px;
    margin: 24px 0;
}

.silo-cluster-box h3 {
    font-family: 'Baloo 2', sans-serif;
    color: var(--primary-gold);
    font-size: 16px !important;
    margin-bottom: 12px;
    text-align: center;
}

.silo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}

.silo-link-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
}

.silo-link-card:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.silo-link-card .s-title {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 13px !important;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}

.silo-link-card .s-desc {
    color: var(--text-muted);
    font-size: 11px !important;
    line-height: 1.35;
    margin: 0;
}

/* FAQ Accordion Styling */
.faq-wrap {
    margin: 16px 0;
}

.faq-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

.faq-box h4 {
    color: var(--primary-gold);
    font-size: 13.5px !important;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.faq-box h4::before {
    content: "❓";
    font-size: 13px !important;
}

.faq-box p {
    color: var(--text-secondary);
    font-size: 12.5px !important;
    line-height: 1.55;
    margin: 0;
}

/* Sticky Bottom Mobile CTA Bar */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 3, 3, 0.98);
    border-top: 1.5px solid var(--primary-gold);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    z-index: 9990;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.7);
}

.sticky-mobile-cta-info {
    display: flex;
    flex-direction: column;
}

.sticky-mobile-cta-info span.title {
    color: var(--primary-gold);
    font-weight: 800;
    font-size: 13px !important;
    font-family: 'Baloo 2', sans-serif;
    line-height: 1.2;
}

.sticky-mobile-cta-info span.sub {
    color: var(--text-muted);
    font-size: 11px !important;
}

.sticky-mobile-cta .btn-cta-bottom {
    background: var(--gold-gradient);
    color: #000000 !important;
    font-family: 'Baloo 2', sans-serif;
    font-weight: 800;
    font-size: 13px !important;
    padding: 7px 18px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
}

/* Footer Section */
.site-footer {
    background: #0a0101;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 24px 15px 35px;
    text-align: center;
    margin-top: 30px;
}

.site-footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    margin-bottom: 16px;
}

.footer-nav-links a {
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 12px !important;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-nav-links a:hover {
    color: #FFF;
    text-decoration: underline;
}

.footer-disclaimer {
    font-size: 11px !important;
    color: #776e6e;
    line-height: 1.55;
    max-width: 700px;
    margin: 0 auto 12px;
}

.footer-copy {
    font-size: 12px !important;
    color: #998f8f;
}

.footer-copy a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
}

/* Mobile Responsiveness Rules */
@media (max-width: 720px) {
    .seo-page-container {
        padding: 0 10px 80px;
    }
    .content-card {
        padding: 16px 12px;
    }
    .content-card h1 {
        font-size: 19px !important;
    }
    .content-card h2 {
        font-size: 16px !important;
    }
    .hero-box h1 {
        font-size: 18px !important;
    }
    .spec-table td {
        padding: 8px 10px;
        font-size: 12px !important;
    }
    .spec-table td.label {
        width: 45%;
    }
    .feature-grid-3 {
        grid-template-columns: 1fr;
    }
    .silo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
