/* ================================================
   Rummy Wealth — rummy-wealth.uk.com
   Complete stylesheet — all px, no rem tricks
   ================================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    background: #050a12;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    display: block;
    max-width: 100%;
}

/* ---- MAIN CONTAINER (homepage) ---- */
.container {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    background: #050a12;
}

/* ---- TOP BAR (homepage) ---- */
#top {
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 720px;
    height: 52px;
    border-bottom: 1px solid #c49a00;
    background-color: rgba(8, 4, 20, 0.95);
    z-index: 999;
}

.topIcon {
    margin-left: 14px;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

.topIcon img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.topTitle {
    flex: 1;
    font-size: 16px;
    color: #f5c518;
    font-weight: 700;
    padding-left: 10px;
    letter-spacing: 0.3px;
}

.topbtn {
    margin-right: 12px;
    min-width: 80px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f5c518, #e8a000);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #1a0a00;
    font-weight: 700;
    cursor: pointer;
    padding: 0 14px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(245, 197, 24, 0.45);
}

.topbtn::after {
    content: "Download";
}

/* ---- BANNER WRAPPER ---- */
.banner-wrap {
    position: relative;
    width: 100%;
    margin-top: 52px;
    display: block;
    line-height: 0;
}

.banner-wrap img.main-banner {
    width: 100%;
    height: auto;
    display: block;
}

/* Download button overlay — sits over "DOWNLOAD TO PLAY" */
.dl-overlay {
    position: absolute;
    top: 33.5%;
    left: 9%;
    width: 82%;
    height: 8%;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    z-index: 10;
}

/* ---- SAFE BADGE ---- */
.safe-badge {
    text-align: center;
    padding: 10px 14px;
    font-size: 12px;
    color: #94a3b8;
    background: #050a12;
    border-top: 1px solid #1a3a1a;
    line-height: 1.6;
}

.safe-badge span {
    color: #f5c518;
    font-weight: 700;
}

/* ---- FOOTER (homepage) ---- */
.footer {
    background: #050a12;
    padding: 18px 16px 30px;
    border-top: 1px solid #1a3a1a;
}

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

.footer-links a {
    color: #f5c518;
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-divider {
    color: #334155;
    font-size: 12px;
    line-height: 1.6;
}

.footer-disclaimer {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.7;
    padding: 0 8px;
}

.footer-copy {
    font-size: 12px;
    color: #334155;
    text-align: center;
    margin-top: 10px;
}

/* ---- NOTICE TICKER ---- */
.notice {
    background: #0a0500;
    padding: 8px 14px;
    font-size: 12px;
    color: #f5c518;
    border-top: 1px solid #2a1a00;
    text-align: center;
    line-height: 1.6;
}

.notice b {
    color: #fff;
    margin-right: 4px;
}

/* ================================================
   LEGAL PAGES
   (About Us, Contact, Privacy, Terms, Refund)
   All px — works on desktop AND mobile
   ================================================ */

.legal-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: #0a1628;
    min-height: 100vh;
}

/* sticky header bar on legal pages */
.legal-header {
    background: rgba(5, 30, 60, 0.97);
    border-bottom: 1px solid #1a6b3a;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 99;
}

.legal-header .back {
    color: #4ade80;
    font-size: 15px;
    text-decoration: none;
    font-weight: 700;
}

.legal-header .page-title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

/* body content */
.legal-body {
    padding: 30px 24px 60px;
}

.legal-body h1 {
    font-size: 26px;
    color: #22c55e;
    margin: 0 0 16px 0;
    line-height: 1.3;
    font-weight: 700;
}

.legal-body h2 {
    font-size: 18px;
    color: #4ade80;
    margin: 26px 0 10px;
    font-weight: 600;
}

.legal-body p {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.8;
    margin: 0 0 12px;
}

.legal-body ul {
    margin: 0 0 14px;
    padding-left: 22px;
}

.legal-body li {
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-body strong {
    color: #e2e8f0;
}

.legal-body a {
    color: #4ade80;
    text-decoration: underline;
}

.legal-body .contact-block {
    background: #051a0e;
    border: 1px solid #1a6b3a;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 16px 0;
}

.legal-body .contact-block p {
    margin: 6px 0;
}

.legal-body .updated {
    font-size: 13px;
    color: #475569;
    margin-top: 28px;
}

/* footer on legal pages */
.legal-wrap .footer {
    background: #050a12;
    padding: 18px 16px 28px;
    border-top: 1px solid #1a3a1a;
}

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

.legal-wrap .footer-links a {
    color: #f5c518;
    font-size: 13px;
    text-decoration: none;
}

.legal-wrap .footer-links a:hover {
    text-decoration: underline;
}

.legal-wrap .footer-divider {
    color: #334155;
    font-size: 12px;
    line-height: 1.6;
}

.legal-wrap .footer-copy {
    font-size: 12px;
    color: #334155;
    text-align: center;
    margin-top: 10px;
}

/* ---- DESKTOP: shadow + centering ---- */
@media (min-width: 721px) {
    .container,
    .legal-wrap {
        box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
    }
}
