/* =====================================================
   ABOUT PAGE - ROYALE PROGRESS
   ===================================================== */

/* ===== LAYOUT ===== */
body.about-page {
  --ab-text: #f7f9ff;
  --ab-muted: rgba(230, 236, 255, 0.82);
  --ab-soft: rgba(188, 203, 236, 0.74);
  --ab-panel-bg: linear-gradient(165deg, rgba(8, 21, 52, 0.92) 0%, rgba(6, 13, 34, 0.9) 100%);
  --ab-card-bg: linear-gradient(170deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
  --ab-card-border: rgba(163, 190, 248, 0.22);
  --ab-cyan: #56ccf2;
  --ab-gold: #ffd166;
  padding-top: 80px;
  padding-bottom: 32px;
}

@media (max-width: 900px) {
  body.about-page {
    padding-top: 52px;
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

.about-main {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 900px) {
  .about-main {
    padding: 20px 14px 48px;
  }
}

/* ===== HERO ===== */
.about-hero {
  text-align: center;
  margin-bottom: 36px;
}

.about-hero-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background:
    radial-gradient(100% 130% at 8% -10%, rgba(86, 204, 242, 0.2) 0%, rgba(86, 204, 242, 0) 58%),
    radial-gradient(90% 90% at 100% 0%, rgba(255, 209, 102, 0.2) 0%, rgba(255, 209, 102, 0) 60%),
    var(--ab-panel-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(2, 8, 24, 0.55), 0 0 0 1px rgba(141, 172, 238, 0.3) inset;
}

.about-hero-logo svg {
  width: 40px;
  height: 40px;
  fill: #ffffff;
}

.about-hero-title {
  font-family: 'ClashBold', Arial, sans-serif;
  font-size: 2.2rem;
  color: #ffffff;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  letter-spacing: 0.02em;
}

.about-hero-sub {
  font-family: 'ClashRegular', Arial, sans-serif;
  font-size: 1rem;
  color: var(--ab-muted);
  margin: 0 auto;
  max-width: 480px;
  line-height: 1.6;
}

@media (max-width: 600px) {
  .about-hero-title { font-size: 1.65rem; }
  .about-hero-sub { font-size: 0.9rem; }
  .about-hero-logo { width: 58px; height: 58px; border-radius: 16px; }
  .about-hero-logo svg { width: 30px; height: 30px; }
}

/* ===== CARDS ===== */
.about-card {
  background: var(--ab-card-bg), var(--ab-panel-bg);
  border: 1px solid var(--ab-card-border);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 12px 34px rgba(2, 8, 24, 0.52), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.about-card:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .about-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
}

/* Card header */
.about-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.about-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(160deg, rgba(255, 209, 102, 0.26) 0%, rgba(247, 185, 75, 0.14) 100%) !important;
  border: 1px solid rgba(247, 203, 107, 0.6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}

.about-card-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.about-card-title {
  font-family: 'ClashBold', Arial, sans-serif;
  font-size: 1.1rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Card body */
.about-card-body {
  font-family: 'ClashRegular', Arial, sans-serif;
  font-size: 0.96rem;
  color: var(--ab-muted);
  line-height: 1.72;
  margin: 0;
}

.about-card-body p {
  margin: 0 0 10px;
}

.about-card-body p:last-child {
  margin-bottom: 0;
}

.about-card-body strong {
  color: var(--ab-text);
  font-family: 'ClashBold', Arial, sans-serif;
}

.about-card-body a {
  color: var(--ab-cyan);
  text-decoration: none;
}

.about-card-body a:hover {
  text-decoration: underline;
}

/* Feature list */
.about-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ab-cyan);
  margin-top: 8px;
  flex-shrink: 0;
}

.about-feature-dot.accent {
  background: var(--ab-gold);
}

.about-feature-text {
  font-family: 'ClashRegular', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--ab-muted);
  line-height: 1.6;
}

.about-feature-text strong {
  color: #ffffff;
  font-family: 'ClashBold', Arial, sans-serif;
}

/* ===== CONTACT CARD ===== */
.about-contact-card {
  background: linear-gradient(170deg, rgba(86, 204, 242, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%), var(--ab-panel-bg);
  border: 1px solid rgba(141, 172, 238, 0.32);
  border-radius: 18px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(2, 8, 24, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 600px) {
  .about-contact-card {
    padding: 18px 16px;
    border-radius: 14px;
  }
}

.about-contact-body {
  font-family: 'ClashRegular', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--ab-muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.about-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(86, 204, 242, 0.2);
  border: 1px solid rgba(86, 204, 242, 0.48);
  border-radius: 50px;
  padding: 10px 20px;
  color: var(--ab-text);
  font-family: 'ClashBold', Arial, sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(86, 204, 242, 0.22);
}

.about-contact-email:hover {
  background: rgba(86, 204, 242, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 204, 242, 0.35);
}

.about-contact-email svg {
  width: 18px;
  height: 18px;
  fill: var(--ab-cyan);
  flex-shrink: 0;
}

/* ===== DISCLAIMER CARD ===== */
.about-disclaimer-card {
  background: linear-gradient(165deg, rgba(6, 13, 34, 0.9) 0%, rgba(4, 10, 26, 0.96) 100%);
  border: 1px solid rgba(141, 172, 238, 0.22);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 20px;
  text-align: left;
}

.about-disclaimer-text {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--ab-soft);
  line-height: 1.5;
  margin: 0;
}

.about-disclaimer-text a {
  color: var(--ab-cyan);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .about-disclaimer-card {
    padding: 12px 14px;
  }

  .about-disclaimer-text {
    font-size: 0.72rem;
    line-height: 1.25;
  }
}

/* ===== POLICY TABLE ===== */
.about-table-wrap {
  overflow-x: auto;
  margin: 12px 0 6px;
  -webkit-overflow-scrolling: touch;
}

.about-policy-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'ClashRegular', Arial, sans-serif;
  font-size: 0.85rem;
  color: #fff;
  min-width: 480px;
}

.about-policy-table thead th {
  font-family: 'ClashBold', Arial, sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}

.about-policy-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
  line-height: 1.5;
}

.about-policy-table tbody tr:last-child td {
  border-bottom: none;
}

.about-policy-table code {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: #93bbfd;
  background: rgba(59,130,246,0.08);
  padding: 1px 5px;
  border-radius: 4px;
}

.about-policy-table .badge-necessary {
  font-size: 0.72rem;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(34,197,94,0.15);
  white-space: nowrap;
}

.about-policy-table .badge-advertising {
  font-size: 0.72rem;
  color: #f59e0b;
  background: rgba(245,158,11,0.1);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(245,158,11,0.15);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .about-policy-table {
    font-size: 0.8rem;
  }
  .about-policy-table thead th,
  .about-policy-table tbody td {
    padding: 8px 8px;
  }
}

/* ===== COOKIE SETTINGS LINK ===== */
