/* =========================================================
   HI RUMMY - ULTRA FAST & MOBILE-OPTIMIZED PRODUCTION CSS
   Domain: https://hirummyapk.co/
   ========================================================= */

:root {
    --bg-main: #06110a;
    --bg-secondary: #0b1a11;
    --bg-card: #102418;
    --bg-card-hover: #163222;
    --gold-primary: #ffc837;
    --gold-secondary: #ff9900;
    --emerald-green: #00e676;
    --emerald-dark: #00b359;
    --crimson-red: #ff2b54;
    --text-white: #ffffff;
    --text-muted: #9eb5a7;
    --border-color: rgba(0, 230, 118, 0.16);
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    font-family: var(--font-family);
    line-height: 1.55;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

.container {
    width: 92%;
    max-width: 1180px;
    margin: 0 auto;
}

/* =========================================================
   1. HEADER & NAVBAR
   ========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(6, 17, 10, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 230, 118, 0.14);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo-img {
    height: 46px;
    width: 46px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 230, 118, 0.3);
    display: block;
    object-fit: cover;
}

.brand-text-logo {
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    color: #ffffff;
}

.brand-text-logo span {
    color: var(--gold-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-btn-mobile {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.age-badge {
    background: rgba(255, 43, 84, 0.15);
    color: var(--crimson-red);
    border: 1.5px solid var(--crimson-red);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 2px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* =========================================================
   2. HERO BANNER & GLOWING DOWNLOAD BUTTON
   ========================================================= */
.hero-section {
    position: relative;
    padding: 55px 0 50px 0;
    background: radial-gradient(circle at 50% 20%, #112e1c 0%, #06110a 75%);
    overflow: hidden;
}

.bg-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.22) 0%, rgba(255, 200, 55, 0.06) 50%, transparent 70%);
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(50px);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 230, 118, 0.12);
    color: var(--emerald-green);
    border: 1px solid rgba(0, 230, 118, 0.35);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.badge-trust svg {
    flex-shrink: 0;
    fill: var(--emerald-green);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.18;
    font-weight: 900;
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(90deg, #ffc837, #ff9900, #00e676);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin-bottom: 30px;
}

/* Glowing Download CTA Button */
.download-cta-wrapper {
    margin-bottom: 30px;
}

.glow-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    background: linear-gradient(135deg, #00e676 0%, #00b359 50%, #008f44 100%);
    color: #032b13;
    padding: 16px 36px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(0, 230, 118, 0.7), 0 0 50px rgba(0, 230, 118, 0.3);
    animation: glow-pulse 2.2s infinite ease-in-out;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #b8ffd2;
    transform: translateZ(0);
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(0, 230, 118, 0.6), 0 0 35px rgba(0, 230, 118, 0.22);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 32px rgba(0, 230, 118, 0.95), 0 0 60px rgba(0, 230, 118, 0.45);
        transform: scale(1.025);
    }
}

.shine-effect {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shine-sweep 3s infinite cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

@keyframes shine-sweep {
    0% { left: -60%; }
    40% { left: 130%; }
    100% { left: 130%; }
}

.glow-download-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 40px rgba(0, 230, 118, 1), 0 0 70px rgba(0, 230, 118, 0.6);
}

.btn-icon svg {
    display: block;
    fill: #032b13;
}

.btn-text {
    display: flex;
    flex-direction: column;
}

.main-label {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    line-height: 1.1;
    color: #032b13;
}

.sub-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #05401d;
    margin-top: 3px;
}

.download-security-note {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.download-security-note svg {
    fill: var(--emerald-green);
    vertical-align: middle;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item h3 {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--gold-primary);
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-img-responsive {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.banner-img-responsive:hover {
    transform: translateY(-4px);
}

/* =========================================================
   3. CONTENT SECTIONS (About, Policies, FAQ)
   ========================================================= */
.content-section {
    padding: 60px 0;
    scroll-margin-top: 70px;
}

.alternate-bg {
    background: #08160d;
}

.section-header {
    margin-bottom: 28px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-primary);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.warning-tag {
    color: #ff9800;
}

.alert-tag {
    color: var(--crimson-red);
}

.section-heading {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 36px;
}

.about-text p {
    color: var(--text-muted);
    font-size: 0.98rem;
    margin-bottom: 14px;
}

.features-list {
    list-style: none;
    margin-top: 15px;
}

.features-list li {
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 0.94rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.highlight-box {
    background: var(--bg-card);
    padding: 22px;
    border-radius: 14px;
    border-left: 4px solid var(--gold-primary);
}

.highlight-box h4 {
    font-size: 1.05rem;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.highlight-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Policies Overview Cards */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    background: var(--bg-card);
    padding: 26px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 230, 118, 0.12);
    text-align: center;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px rgba(255, 200, 55, 0.12);
}

.step-number {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 12px;
}

.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 16px 20px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 16px 20px;
    color: var(--text-muted);
    font-size: 0.92rem;
    display: block;
}

/* Disclaimer Banner */
.disclaimer-banner {
    display: flex;
    gap: 22px;
    background: rgba(255, 43, 84, 0.08);
    border: 1px solid rgba(255, 43, 84, 0.35);
    padding: 26px;
    border-radius: 14px;
}

.disclaimer-icon {
    font-size: 2.8rem;
    line-height: 1;
}

.disclaimer-content p {
    color: #ffcbd5;
    font-size: 0.92rem;
    margin-bottom: 10px;
}

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

/* Legal Documents & Subpages Layout */
.page-container {
    padding: 50px 0 80px 0;
}

.legal-document {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 18px;
    border: 1px solid rgba(0, 230, 118, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.page-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.last-updated {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-section h2 {
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.legal-section p {
    font-size: 0.96rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 14px;
}

.legal-section ul li {
    font-size: 0.94rem;
    color: #d1ded6;
    margin-bottom: 8px;
}

.alert-box {
    background: rgba(255, 152, 0, 0.1);
    border-left: 4px solid #ff9800;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 16px 0;
}

.danger-box {
    background: rgba(255, 43, 84, 0.12);
    border-left: 4px solid var(--crimson-red);
}

.rules-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 18px;
}

.rule-box {
    background: var(--bg-card);
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-box h3 {
    font-size: 1.1rem;
    color: var(--gold-primary);
    margin-bottom: 8px;
}

.rule-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-card {
    background: var(--bg-secondary);
    padding: 20px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0, 230, 118, 0.2);
    margin-top: 12px;
}

/* =========================================================
   4. FOOTER
   ========================================================= */
.footer {
    background: #040c07;
    border-top: 1px solid rgba(0, 230, 118, 0.15);
    padding: 45px 0 25px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 26px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-top: 6px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    font-size: 0.8rem;
    color: #7b9485;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-age-note {
    color: var(--crimson-red);
    font-weight: 600;
}

/* =========================================================
   5. MOBILE STICKY BOTTOM DOWNLOAD BAR
   ========================================================= */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(6, 17, 10, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 2px solid var(--emerald-green);
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.7);
    padding: 10px 16px;
    transform: translateZ(0);
}

.sticky-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 500px;
    margin: 0 auto;
    gap: 12px;
}

.sticky-app-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sticky-logo {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 230, 118, 0.4);
}

.sticky-text {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.sticky-rating {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-top: 2px;
}

.sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00e676, #00b359);
    color: #032b13;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 900;
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.6);
    white-space: nowrap;
    animation: sticky-pulse 2s infinite ease-in-out;
}

@keyframes sticky-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); box-shadow: 0 0 22px rgba(0, 230, 118, 0.9); }
}

/* =========================================================
   6. RESPONSIVE DESIGN - MOBILE FIRST & SPEED OPTIMIZED
   ========================================================= */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .hero-subtitle {
        margin: 0 auto 24px auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 10px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .rules-highlight-grid {
        grid-template-columns: 1fr;
    }
}

/* SMARTPHONE OPTIMIZATION (MOBILE VIEW <= 768px) */
@media (max-width: 768px) {
    body {
        padding-bottom: 74px;
    }

    .mobile-sticky-bar {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 82%;
        max-width: 320px;
        height: calc(100vh - 70px);
        background: #08160d;
        flex-direction: column;
        align-items: flex-start;
        padding: 26px 20px;
        gap: 14px;
        border-left: 1px solid rgba(0, 230, 118, 0.25);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.85);
        transition: right 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-btn-mobile {
        display: block;
        margin-top: 14px;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, var(--emerald-green), var(--emerald-dark));
        color: #032b13;
        font-weight: 800;
        padding: 12px;
        border-radius: 8px;
        text-decoration: none;
    }

    .hero-section {
        padding: 35px 0 35px 0;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.22;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 22px;
    }

    .badge-trust {
        font-size: 0.76rem;
        padding: 4px 12px;
        margin-bottom: 14px;
    }

    .glow-download-btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 14px 20px;
        margin: 0 auto;
    }

    .main-label {
        font-size: 1.2rem;
    }

    .sub-label {
        font-size: 0.72rem;
    }

    .banner-img-responsive {
        max-width: 95%;
        border-radius: 16px;
    }

    .hero-stats {
        gap: 16px;
        padding-top: 14px;
    }

    .stat-item h3 {
        font-size: 1.25rem;
    }

    .stat-item p {
        font-size: 0.74rem;
    }

    .stat-divider {
        height: 26px;
    }

    .section-heading {
        font-size: 1.65rem;
    }

    .disclaimer-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 14px;
    }

    .disclaimer-icon {
        font-size: 2.2rem;
    }

    .legal-document {
        padding: 24px 18px;
    }

    .page-title {
        font-size: 1.85rem;
    }
}

/* VERY SMALL SCREENS (<= 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .brand-text-logo {
        font-size: 1.25rem;
    }

    .brand-logo-img {
        width: 38px;
        height: 38px;
    }

    .main-label {
        font-size: 1.05rem;
    }

    .glow-download-btn {
        padding: 12px 16px;
        gap: 10px;
    }

    .sticky-title {
        font-size: 0.86rem;
    }

    .sticky-cta-btn {
        padding: 8px 14px;
        font-size: 0.86rem;
    }
}
