/* PlayTime Portal Philippines - Modern Production CSS (2026 Mobile-First) */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #162032;
  --bg-card-hover: #1e293b;
  --border-color: #24324d;
  --border-accent: #3b82f6;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-emerald: #10b981;
  --accent-emerald-hover: #059669;
  --accent-cyan: #06b6d4;
  --accent-red: #ef4444;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.25);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* space for mobile sticky bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

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

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(10, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

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

.nav-links {
  display: none;
  gap: 1.25rem;
  list-style: none;
  align-items: center;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background-color: var(--bg-card);
  text-decoration: none;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.55rem 1.15rem;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.825rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: #0b0f19 !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #fbbf24 0%, var(--accent-gold) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary) !important;
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--accent-cyan);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #059669 100%);
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, var(--accent-emerald) 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

/* Layout Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs span.separator {
  color: var(--text-muted);
}

.breadcrumbs span.current {
  color: var(--text-primary);
  font-weight: 600;
}

/* Article Hero & Headers */
.page-header {
  margin-bottom: 2rem;
}

.meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-blue {
  background-color: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Featured Image */
.featured-image-wrapper {
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  background-color: var(--bg-card);
}

.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-caption {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

/* Callout Boxes */
.expert-insight-box {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(26, 32, 44, 0.6) 100%);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.expert-insight-title {
  font-weight: 800;
  color: var(--accent-gold);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.expert-insight-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  font-style: italic;
}

.tldr-box {
  background-color: #0f241d;
  border: 1px solid #059669;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.tldr-header {
  font-size: 1rem;
  font-weight: 800;
  color: #34d399;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tldr-content {
  font-size: 0.975rem;
  color: #d1fae5;
}

.answer-capsule {
  background: linear-gradient(180deg, #131c2e 0%, #0e1626 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin: 1rem 0 1.25rem;
  color: #e2e8f0;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.answer-capsule-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.callout-protip {
  background-color: rgba(59, 130, 246, 0.08);
  border-left: 4px solid #3b82f6;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: #e0f2fe;
}

.callout-warning {
  background-color: rgba(239, 68, 68, 0.08);
  border-left: 4px solid #ef4444;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  color: #fee2e2;
}

/* Headings in Article */
h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: -0.3px;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 1.5rem 0 0.75rem;
}

p {
  margin-bottom: 1.15rem;
  color: #cbd5e1;
}

ul, ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #cbd5e1;
}

li {
  margin-bottom: 0.5rem;
}

/* Numbered Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #b45309 100%);
  color: #0b0f19;
  font-weight: 800;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Data Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  text-align: left;
}

thead {
  background-color: var(--bg-secondary);
  border-bottom: 2px solid var(--border-color);
}

th {
  padding: 0.85rem 1rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: #cbd5e1;
}

tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

/* Category Grid / Hub Cards */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 640px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.content-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.content-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  line-height: 1.4;
}

.card-title a {
  color: #fff;
}

.card-title a:hover {
  color: var(--accent-gold);
  text-decoration: none;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* In-Content CTA Box */
.incontent-cta {
  background: radial-gradient(circle at top right, #243552 0%, #111827 100%);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-glow);
}

.incontent-cta h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.incontent-cta p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.cta-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Responsible Gaming Box */
.responsible-gaming-box {
  background-color: #171c26;
  border: 1px solid #334155;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0;
}

.rg-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.age-badge {
  background-color: var(--accent-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}

.rg-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.rg-content p {
  font-size: 0.925rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.rg-helpline-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .rg-helpline-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.rg-item {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-size: 0.85rem;
}

.rg-item-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.rg-item-contact {
  color: var(--accent-cyan);
}

/* FAQ Accordion */
.faq-section {
  margin: 2.5rem 0;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.1rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.01);
}

.faq-answer {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Author Box */
.author-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .author-box {
    flex-direction: row;
    align-items: center;
  }
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b0f19;
  flex-shrink: 0;
}

.author-details h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.author-bio {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Footer */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1rem 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  }
}

.footer-column h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.regulatory-notice {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 800px;
  line-height: 1.5;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 0.6rem 0.8rem;
  gap: 0.6rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}

@media (min-width: 769px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar .btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.875rem;
}
