/* ==========================================================================
   GAMETRIBE - BLASTIK LEGAL & POLICY PORTAL STYLESHEET
   Clean, modern, accessible, responsive design compliant with Google Play
   ========================================================================== */

:root {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: #1e293b;
  --bg-card-hover: #243248;
  --border-color: rgba(56, 189, 248, 0.22);
  --border-focus: #38bdf8;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-cyan: #38bdf8;
  --accent-blue: #0284c7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 1px 1px rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover, a:focus-visible {
  color: #7dd3fc;
  text-decoration: underline;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
  object-fit: cover;
}

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

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  text-transform: uppercase;
}

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

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.12);
  text-decoration: none;
}

.nav-links a.btn-cta {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 8px 14px;
}

.nav-links a.btn-cta:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   HERO / BANNER
   ========================================================================== */
.hero-banner {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.8) 0%, rgba(11, 15, 25, 0.6) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 24px 36px;
  text-align: center;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.app-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-title {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 16px;
}

.last-updated {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MAIN CONTENT CONTAINER
   ========================================================================== */
.main-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  flex: 1;
  width: 100%;
}

.content-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

/* Headings */
h1, h2, h3, h4 {
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
}

h2 {
  font-size: 1.45rem;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #e2e8f0;
}

p {
  margin-bottom: 16px;
  color: #cbd5e1;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: #cbd5e1;
}

li {
  margin-bottom: 8px;
}

/* Highlights & Alerts */
.callout-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
}

.callout-box.amber {
  background: rgba(245, 158, 11, 0.08);
  border-left-color: var(--accent-amber);
}

.callout-box.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--accent-emerald);
}

.callout-box h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.callout-box p {
  margin-bottom: 0;
  font-size: 0.92rem;
  color: #e2e8f0;
}

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

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

th, td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: #f8fafc;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge.cyan { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.badge.emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.badge.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.badge.rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

/* ==========================================================================
   INTERACTIVE DATA DELETION FORM
   ========================================================================== */
.deletion-form {
  margin-top: 24px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 6px;
}

.form-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.95rem;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  cursor: pointer;
}

.form-checkbox {
  margin-top: 4px;
  accent-color: var(--accent-cyan);
}

.btn-submit {
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid rgba(244, 63, 94, 0.5);
  border-radius: var(--radius-sm);
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #e11d48, #be123c);
  box-shadow: 0 0 16px rgba(244, 63, 94, 0.4);
}

.form-status-msg {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
  font-size: 0.9rem;
}

.form-status-msg.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #6ee7b7;
}

.form-status-msg.error {
  display: block;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid var(--accent-rose);
  color: #fda4af;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 36px 24px;
  margin-top: auto;
  text-align: center;
}

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

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .content-card {
    padding: 24px 18px;
  }
}
