/* ==============================================================================
   Teen Patti Go (teenpattigos.com) - Subpages & Legal Suite Stylesheet
   - Matching luxury cyber-casino aesthetic
   - Glassmorphic policy cards with subtle gold trims
   - Sculpted 5-Layer Unique Trust Footer
   ============================================================================== */

:root {
  --bg-dark: #080312;
  --bg-deep: #0e051d;
  --bg-card: rgba(22, 10, 41, 0.78);
  --bg-card-hover: rgba(33, 15, 61, 0.88);
  --border-gold: #f5b82e;
  --border-gold-subtle: rgba(245, 184, 46, 0.28);
  --border-subtle: rgba(147, 51, 234, 0.18);
  --gold-primary: #f5b82e;
  --gold-light: #fed876;
  --gold-glow: rgba(245, 184, 46, 0.45);
  --red-accent: #e11d48;
  --green-online: #10b981;
  --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);
  background-image: 
    radial-gradient(circle at 50% 0%, #20083b 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(147, 51, 234, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 90% 60%, rgba(245, 184, 46, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.7;
  padding-bottom: 60px;
}

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

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

.portal-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(12, 5, 26, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-gold-subtle);
  z-index: 1000;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

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

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

.brand-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

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

.brand-name {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

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

.brand-tagline {
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

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

.nav-links a {
  color: var(--text-sub);
  font-size: 13.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--gold-primary), #c98818);
  color: #080312;
  font-size: 13px;
  font-weight: 800;
  border-radius: 25px;
  box-shadow: 0 3px 12px var(--gold-glow);
  transition: all 0.2s ease;
}

.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px var(--gold-glow);
  color: #080312;
  text-decoration: none;
}

.page-topbar {
  background: rgba(12, 5, 26, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold-subtle);
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

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

.brand-title {
  font-size: 19px;
  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 16px;
  background: rgba(245, 184, 46, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: 20px;
  transition: all 0.2s ease;
}

.back-home-link:hover {
  background: var(--gold-primary);
  color: #080312;
  text-decoration: none;
  box-shadow: 0 2px 10px var(--gold-glow);
}

.content-container {
  max-width: 1020px;
  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;
  letter-spacing: 0.3px;
}

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

.policy-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.policy-card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(245, 184, 46, 0.2);
  padding-bottom: 8px;
}

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

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

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

.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(225, 29, 72, 0.1);
  border-left: 4px solid var(--red-accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0;
}

.warning-box strong {
  color: #f87171;
}

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

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

.contact-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-gold);
}

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

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

/* ==============================================================================
   Unique Sculpted 5-Layer Trust Footer (Subpages)
   ============================================================================== */
.page-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #100624 0%, #06020c 100%);
  border-top: 2px solid var(--border-gold);
  border-radius: 16px;
  padding: 24px 20px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

/* 1. Trust Badges Strip */
.footer-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 184, 46, 0.2);
  margin-bottom: 24px;
}

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

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 10, 41, 0.7);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 10px;
  padding: 10px 12px;
}

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

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

.trust-badge-text strong {
  display: block;
  font-size: 12px;
  color: var(--text-main);
  line-height: 1.2;
}

.trust-badge-text span {
  font-size: 10.5px;
  color: var(--gold-primary);
}

/* 2. Multi-Column Directory */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.footer-col h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  position: relative;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(245, 184, 46, 0.2);
}

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

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

.footer-contact-item a {
  color: var(--text-sub);
  word-break: break-all;
}

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

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

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

.footer-links-list a {
  color: var(--text-sub);
  font-size: 12.5px;
  transition: all 0.2s ease;
  display: inline-block;
}

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

/* 3. Payment Methods Showcase */
.footer-payments-box {
  background: rgba(14, 5, 29, 0.85);
  border: 1px solid var(--border-gold-subtle);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.footer-payments-title {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22, 10, 41, 0.9);
  border: 1px solid rgba(245, 184, 46, 0.2);
  border-radius: 6px;
  padding: 6px 11px;
  font-size: 11.5px;
  font-weight: 600;
  color: #cbd5e1;
}

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

/* 4. Statutory 18+ Warning */
.footer-statutory-banner {
  background: rgba(225, 29, 72, 0.08);
  border: 1px solid rgba(225, 29, 72, 0.35);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

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

.statutory-text h5 {
  font-size: 13px;
  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. Sub-footer Bottom Bar */
.footer-bottom-bar {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: #94a3b8;
  text-align: left;
}

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

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

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