/* assets/css/rgpd.css */

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
}

/* ══════════════════════════════
   NAV
══════════════════════════════ */
.rg-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 2rem;
  background: rgba(8,6,13,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  gap: .5rem;
}
.rg-brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--text);
}
.rg-brand-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(212,82,122,0.45), 0 0 6px rgba(212,82,122,0.2);
  flex-shrink: 0;
}
.rg-brand-name {
  font-family: 'Playfair Display', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
}
.rg-brand-name span { color: var(--accent); }
.rg-back-btn {
  font-size: .83rem;
  font-weight: 600;
  color: var(--muted2);
  text-decoration: none;
  padding: .45rem .9rem;
  border: 1px solid var(--border2);
  border-radius: 99px;
  transition: color var(--t), border-color var(--t);
}
.rg-back-btn:hover { color: var(--text); border-color: var(--border3); }

/* ══════════════════════════════
   LOGO ANIMATION (mirrored from index)
══════════════════════════════ */
@keyframes grr {
  0%,100% { transform: translate(0,0) rotate(0deg) scaleY(1); }
  4%  { transform: translate(-1.5px,1px) rotate(-3deg) scaleY(1.08); }
  8%  { transform: translate(1.5px,-1px) rotate(3deg) scaleY(0.94); }
  12% { transform: translate(-1px,1.5px) rotate(-2deg) scaleY(1.05); }
  16% { transform: translate(1px,-0.5px) rotate(2deg) scaleY(0.97); }
  20% { transform: translate(-0.5px,0.5px) rotate(-1deg) scaleY(1.02); }
  22%,98% { transform: translate(0,0) rotate(0deg) scaleY(1); }
}
.r-grr { display: inline-block; animation: grr 2.8s ease-in-out infinite; }
.r-grr.r1 { animation-delay: 0s; }
.r-grr.r2 { animation-delay: 0.09s; }
.r-grr.r3 { animation-delay: 0.18s; }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.rg-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 2rem 4rem;
}
.rg-hero-glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(212,82,122,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.rg-hero-lock {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 0 24px rgba(212,82,122,0.5));
}
.rg-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.rg-acc { color: var(--accent); }
.rg-hero-sub {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  color: var(--muted2);
  font-size: 1.05rem;
  line-height: 1.65;
}
.rg-hero-meta {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.rg-chip {
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border2);
  color: var(--muted2);
}

/* ══════════════════════════════
   MAIN CONTENT
══════════════════════════════ */
.rg-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

/* WARN */
.rg-warn {
  background: rgba(212,82,122,0.07);
  border: 1px solid rgba(212,82,122,0.25);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: .9rem 1.125rem;
  font-size: .845rem;
  color: var(--muted2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.rg-warn strong { color: var(--accent); }

/* GRID 2 COL */
.rg-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* CARDS */
.rg-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.625rem;
  margin-bottom: 1rem;
}
.rg-card--full {
  margin-bottom: 1rem;
}
.rg-card-title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 1rem;
}
.rg-card ul {
  padding-left: 1.125rem;
}
.rg-card li {
  margin-bottom: .5rem;
  font-size: .875rem;
  color: var(--muted2);
  line-height: 1.55;
}
.rg-card li strong { color: var(--text); }
.rg-card a { color: var(--accent); text-decoration: none; }
.rg-card a:hover { text-decoration: underline; }

/* TAGS */
.rg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .875rem;
}
.rg-tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .77rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 99px;
}
.rg-tag.ok  { background: rgba(16,185,129,0.12); color: #10b981; }
.rg-tag.no  { background: rgba(212,82,122,0.1); color: var(--accent); }

/* DATA GRID */
.rg-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .875rem;
}
.rg-data-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .875rem 1rem;
}
.rg-data-ico { font-size: 1.3rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.rg-data-label { font-size: .83rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.rg-data-desc  { font-size: .77rem; color: var(--muted2); line-height: 1.5; }
.rg-data-desc strong { color: var(--text); }

/* TIMELINE */
.rg-timeline { display: flex; flex-direction: column; gap: 0; }
.rg-tl-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.rg-tl-item:last-child { border-bottom: none; }
.rg-tl-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .35rem;
}
.rg-tl-content { flex: 1; }
.rg-tl-label { font-size: .855rem; font-weight: 600; color: var(--text2); margin-bottom: .2rem; }
.rg-tl-val   { font-size: .8rem; font-weight: 700; }
.rg-tl-val.accent { color: var(--accent); }
.rg-tl-val.blue   { color: var(--blue); }
.rg-tl-val.gold   { color: var(--gold); }
.rg-tl-val.purple { color: var(--purple); }
.rg-tl-val.teal   { color: var(--teal); }

/* RIGHTS */
.rg-rights { display: flex; flex-direction: column; gap: .875rem; }
.rg-right { display: flex; gap: .75rem; align-items: flex-start; }
.rg-right-ico { font-size: 1.15rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.rg-right-name { font-size: .83rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.rg-right-desc { font-size: .78rem; color: var(--muted2); line-height: 1.55; }
.rg-right-desc a { color: var(--accent); text-decoration: none; }
.rg-right-desc a:hover { text-decoration: underline; }

/* SECURITY */
.rg-security { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.rg-sec-item {
  display: flex;
  gap: .7rem;
  align-items: center;
  font-size: .845rem;
  color: var(--muted2);
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
}
.rg-sec-item:last-child { border-bottom: none; }
.rg-sec-ico { flex-shrink: 0; font-size: 1rem; }
.rg-sub-note {
  font-size: .78rem;
  color: var(--muted);
  margin-top: .75rem;
  font-style: italic;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.rg-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}
.rg-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.rg-footer-brand {
  font-size: 1.1rem;
  color: var(--muted2);
}
.rfb {
  font-family: 'Playfair Display', Georgia, serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
}
.rfb span { color: var(--accent); }
.rg-footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.rg-footer-links a {
  font-size: .82rem;
  color: var(--muted2);
  text-decoration: none;
  transition: color var(--t);
}
.rg-footer-links a:hover { color: var(--text); }
.rg-footer-copy {
  font-size: .75rem;
  color: var(--muted);
}

/* ══════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════ */
@media (max-width: 860px) {
  .rg-data-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════ */
@media (max-width: 600px) {
  .rg-nav { padding: .65rem 1rem; flex-wrap: nowrap; gap: .5rem; }
  .rg-brand-name { font-size: 1.1rem; }
  .rg-back-btn { font-size: .78rem; padding: .35rem .7rem; white-space: nowrap; }
  .rg-hero { padding: 3rem 1.25rem 2.5rem; }
  .rg-hero h1 { font-size: 1.75rem; }
  .rg-hero-sub { font-size: .92rem; }
  .rg-hero-meta { gap: .4rem; }
  .rg-chip { font-size: .68rem; padding: .25rem .6rem; }
  .rg-main { padding: 0 1rem 3.5rem; }
  .rg-grid2 { grid-template-columns: 1fr; }
  .rg-data-grid { grid-template-columns: 1fr; }
  .rg-card { padding: 1.125rem 1.125rem; }
  .rg-warn { font-size: .8rem; padding: .75rem 1rem; }
  .rg-footer { padding: 2rem 1rem; }
  .rg-footer-links { gap: .75rem; }
  .rg-footer-links a { font-size: .78rem; }
}
@media (max-width: 380px) {
  .rg-nav { padding: .5rem .75rem; }
  .rg-brand-icon { width: 30px; height: 30px; font-size: .9rem; }
  .rg-brand-name { font-size: .95rem; }
  .rg-hero h1 { font-size: 1.5rem; }
}

/* ── Reduced-motion accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
