/* Rummy Best - Legal & Information Pages Stylesheet */
:root {
  --bg-dark: #090b10;
  --bg-card: #111420;
  --bg-card-hover: #181d2e;
  --border-gold: #f5b82e;
  --border-subtle: #1f2538;
  --gold-primary: #f5b82e;
  --gold-light: #fed876;
  --gold-glow: rgba(245, 184, 46, 0.45);
  --red-accent: #e11d48;
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  min-height: 100vh;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.7;
  padding-bottom: 60px;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
}

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

.page-topbar {
  background: #0d0f1b;
  border-bottom: 1px solid var(--border-gold);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.topbar-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.back-home-link {
  font-size: 13px;
  color: var(--gold-primary);
  font-weight: 600;
  padding: 6px 14px;
  background: rgba(245, 184, 46, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.back-home-link:hover {
  background: var(--gold-primary);
  color: #000;
  text-decoration: none;
}

.content-container {
  max-width: 860px;
  margin: 30px auto;
  padding: 0 20px;
}

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

header.page-header h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 10px;
}

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

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.policy-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
}

.policy-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin: 16px 0 8px 0;
}

.policy-card p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.policy-card ul, .policy-card ol {
  margin-left: 20px;
  margin-bottom: 14px;
  color: var(--text-sub);
  font-size: 14px;
}

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

.highlight-box {
  background: rgba(245, 184, 46, 0.08);
  border-left: 4px solid var(--gold-primary);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

.warning-box {
  background: rgba(229, 57, 53, 0.1);
  border-left: 4px solid #ef4444;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.contact-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
}

.contact-card .icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.contact-card h4 {
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 6px;
}

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

/* Unique Premium Footer Component */
footer.page-footer,
.site-footer {
  margin-top: 50px;
  background: linear-gradient(180deg, #0d1017 0%, #050609 100%);
  border-top: 1px solid rgba(245, 184, 46, 0.25);
  padding: 40px 18px 50px 18px;
  color: var(--text-sub);
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
}

footer.page-footer::before,
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* 1. Trust Badges Strip */
.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 12px;
  border-radius: 8px;
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(245, 184, 46, 0.1);
  color: var(--gold-primary);
}

.trust-badge-text {
  text-align: left;
}

.trust-badge-text strong {
  display: block;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;
}

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

/* 2. Multi-Column Grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
  text-align: left;
}

.footer-col h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 22px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

.footer-col p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links-list a {
  font-size: 12.5px;
  color: #94a3b8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-links-list a:hover {
  color: var(--gold-primary);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* 3. Payment Methods Showcase */
.footer-payments-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 22px;
  text-align: center;
}

.footer-payments-title {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
  display: block;
}

.payment-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #141824;
  border: 1px solid #232a3b;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #cbd5e1;
}

.pay-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

/* 4. Responsible Gaming & Statutory Notice */
.footer-statutory-banner {
  background: rgba(225, 29, 72, 0.06);
  border: 1px solid rgba(225, 29, 72, 0.25);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.statutory-badge-18 {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 2px solid #e11d48;
  color: #e11d48;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 13px;
}

.statutory-text h5 {
  font-size: 12.5px;
  color: #f87171;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.statutory-text p {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.5;
  margin: 0;
}

/* 5. Subfooter Copyright & Micro-links */
.footer-bottom-bar {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: #64748b;
  text-align: left;
}

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

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
}

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