/* ===========================
   PK Miners – Privacy Policy
   Color Palette (from logo):
   - Primary Dark:    #0E1525
   - Primary Blue:    #1A2744
   - Accent Gold:     #D4A636
   - Accent Blue Gem: #3AADFF
   - Warm Amber:      #F5A623
   - Text Light:      #E8ECF1
   - Text Muted:      #94A3B8
   - Section BG:      #131D30
   - Divider:         #1E2D4A
   - Emerald:         #2ECC71
   - Ruby:            #EF4444
   - Purple:          #8B5CF6
   =========================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0B1120;
  color: #CBD5E1;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(165deg, #0E1525 0%, #162033 50%, #1A2744 100%);
  border-bottom: 1px solid rgba(212, 166, 54, 0.15);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 173, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 166, 54, 0.3), transparent);
}

.header-logo {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(212, 166, 54, 0.2);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-app-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.header-app-name span {
  background: linear-gradient(135deg, #D4A636, #F5C842);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #64748B;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* ---------- Main Content ---------- */
.policy-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ---------- Effective Date Badge ---------- */
.effective-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 166, 54, 0.08);
  border: 1px solid rgba(212, 166, 54, 0.18);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #D4A636;
  margin-bottom: 2.5rem;
}

.effective-date::before {
  content: '🔐';
  font-size: 0.9rem;
}

/* ---------- Policy Intro ---------- */
.policy-intro {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.85;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1E2D4A;
}

/* ---------- Section ---------- */
.policy-section {
  margin-bottom: 0;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(30, 45, 74, 0.6);
}

.policy-section:last-child {
  border-bottom: none;
}

.section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #E2E8F0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.4;
}

.section-heading .emoji {
  font-size: 1.35rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(58, 173, 255, 0.07);
  border-radius: 10px;
  border: 1px solid rgba(58, 173, 255, 0.12);
}

.section-heading .number {
  color: #3AADFF;
}

.section-text {
  font-size: 0.98rem;
  color: #94A3B8;
  line-height: 1.85;
  margin-bottom: 0.8rem;
}

/* ---------- Check Lists ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0.8rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: #B0BEC9;
  line-height: 1.7;
}

.check-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #2ECC71;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Bullet Lists ---------- */
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0.8rem;
}

.bullet-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  color: #B0BEC9;
  line-height: 1.7;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3AADFF;
}

/* ---------- Arrow Notes ---------- */
.arrow-note {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.arrow-note::before {
  content: '👉';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

/* ---------- Highlight Box ---------- */
.highlight-box {
  background: rgba(58, 173, 255, 0.05);
  border-left: 3px solid #3AADFF;
  border-radius: 0 8px 8px 0;
  padding: 0.85rem 1.15rem;
  margin: 0.8rem 0;
  font-size: 0.95rem;
  color: #8EBBDC;
}

/* ---------- Contact Box ---------- */
.contact-box {
  background: linear-gradient(135deg, rgba(212, 166, 54, 0.06) 0%, rgba(58, 173, 255, 0.04) 100%);
  border: 1px solid rgba(212, 166, 54, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.contact-box .email-label {
  font-size: 0.85rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.contact-box a {
  color: #3AADFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}

.contact-box a:hover {
  color: #6FC9FF;
  text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #090E1A;
  border-top: 1px solid rgba(30, 45, 74, 0.5);
  text-align: center;
  padding: 2rem 1.5rem;
}

.footer-company {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #94A3B8;
  margin-bottom: 0.35rem;
}

.footer-email {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 0.5rem;
}

.footer-email a {
  color: #3AADFF;
  text-decoration: none;
}

.footer-email a:hover {
  text-decoration: underline;
}

.footer-updated {
  font-size: 0.78rem;
  color: #475569;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #D4A636, #C49530);
  color: #0E1525;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(212, 166, 54, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: linear-gradient(135deg, #E4B646, #D4A636);
  box-shadow: 0 6px 24px rgba(212, 166, 54, 0.35);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .site-header {
    padding: 2.25rem 1.25rem 2rem;
  }

  .header-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .header-app-name {
    font-size: 1.45rem;
  }

  .header-title {
    font-size: 0.88rem;
  }

  .policy-main {
    padding: 2rem 1.25rem 3rem;
  }

  .section-heading {
    font-size: 1.15rem;
  }

  .section-heading .emoji {
    width: 34px;
    height: 34px;
    font-size: 1.15rem;
    border-radius: 8px;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .site-header {
    padding: 1.75rem 1rem 1.5rem;
  }

  .header-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .header-app-name {
    font-size: 1.3rem;
  }

  .policy-main {
    padding: 1.5rem 1rem 2.5rem;
  }

  .section-heading {
    font-size: 1.08rem;
    gap: 0.5rem;
  }

  .section-heading .emoji {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .contact-box {
    padding: 1rem 1.15rem;
  }
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(58, 173, 255, 0.2);
  color: #E2E8F0;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0B1120;
}

::-webkit-scrollbar-thumb {
  background: #1E2D4A;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2A3D5C;
}
