/* ==============================================================================
   Rummy 888 (rummy888s.com) - Subpages Stylesheet
   - Clean White & Light Theme Architecture
   - Crisp slate typography, vibrant emerald green accents, zero emojis
   - Shared layout for Terms, Privacy, Responsible Gaming, Pricing, Disclaimer,
     Contact, Sitemap, and Download subpages
   ============================================================================== */

:root {
  --bg-dark: #f8fafc;
  --bg-container: #ffffff;
  --bg-card: #ffffff;
  --border-gold: #e2e8f0;
  --border-subtle: #f1f5f9;
  --gold-primary: #d97706;
  --gold-hover: #b45309;
  --gold-light: #fef3c7;
  --gold-glow: rgba(217, 119, 6, 0.25);
  --green-online: #16a34a;
  --text-main: #0f172a;
  --text-sub: #334155;
  --text-muted: #64748b;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

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

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #f8fafc;
  color: var(--text-main);
  font-family: var(--font-stack);
  overflow-x: hidden;
  padding-bottom: 30px;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--gold-hover);
  text-decoration: underline;
}

img, svg {
  max-width: 100%;
}

/* 1. Portal Navigation Bar */
.portal-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.navbar-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
}

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

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45);
  color: #ffffff;
  text-decoration: none;
}

/* 2. Content Layout */
.content-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 20px 0;
}

.page-header {
  text-align: center;
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.page-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Policy Card */
.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 26px 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.policy-card h2 {
  font-size: 19px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.policy-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 12px;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-card ul, .policy-card ol {
  margin: 10px 0 14px 22px;
  color: #334155;
  font-size: 14px;
  line-height: 1.75;
}

.policy-card li {
  margin-bottom: 8px;
}

.policy-card strong {
  color: #0f172a;
}

/* Warning Box */
.warning-box {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: #92400e;
}

.warning-box strong {
  color: #78350f;
}

/* Contact Cards Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
}

/* 3. Subpage Footer */
.page-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-gold);
  border-radius: 20px 20px 0 0;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-gold);
}

@media (max-width: 600px) {
  .footer-trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-gold);
  padding: 10px 12px;
  border-radius: 10px;
}

.trust-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.trust-badge-text strong {
  display: block;
  font-size: 12.5px;
  color: #0f172a;
}

.trust-badge-text span {
  font-size: 11px;
  color: var(--text-muted);
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

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

.footer-col a:hover {
  color: var(--gold-primary);
  text-decoration: underline;
}

.footer-payments-box {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.footer-payments-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.payment-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-badge {
  background: #f1f5f9;
  border: 1px solid var(--border-gold);
  color: #1e293b;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pay-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
}

.footer-statutory-banner {
  display: flex;
  gap: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.statutory-badge-18 {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.statutory-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 4px;
}

.statutory-text p {
  font-size: 12px;
  line-height: 1.6;
  color: #7f1d1d;
  margin: 0;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
}

.footer-bottom-links {
  display: flex;
  gap: 14px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
}

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

@media (max-width: 480px) {
  .content-container {
    padding: 16px 12px 0;
  }
  .page-header h1 {
    font-size: 20px;
  }
  .page-header p {
    font-size: 13px;
  }
  .policy-card {
    padding: 18px 14px;
    border-radius: 14px;
  }
  .policy-card h2 {
    font-size: 17px;
  }
  .policy-card p,
  .policy-card li {
    font-size: 13px;
  }
  .footer-trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-payments-box {
    padding: 14px 12px;
  }
  .footer-statutory-banner {
    padding: 12px 12px;
    gap: 12px;
  }
  .statutory-badge-18 {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

