/* ── PRIVATE STYLES FOR REGULAMIN ── */
.legal-page body {
  background: var(--brand);
  color: var(--white);
}

/* ── HERO ── */
.legal-page .hero {
  position: relative;
  background: var(--brand);
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 8rem 0 4rem;
}

.legal-page .hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 3;
}

/* ── PAGE WRAPPER ── */
.legal-page .page {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

.hero h1 .gt {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BACK LINK ── */
.legal-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 500;
  color: var(--accent-bright);
  text-decoration: none;
  letter-spacing: .04em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .6s .1s ease forwards;
  transition: gap .2s;
}

.legal-page .back-link svg {
  width: 15px;
  height: 15px;
  transition: transform .2s;
}

.legal-page .back-link:hover {
  gap: .75rem;
}

.legal-page .back-link:hover svg {
  transform: translateX(-3px);
}

/* ── HEADER ── */
.legal-page .doc-header {
  margin-bottom: 0;
  opacity: 0;
  animation: fadeUp .6s .2s ease forwards;
}

.legal-page .doc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 1rem;
}

.legal-page .doc-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDot 2s infinite;
}

.legal-page .doc-header h1 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: .75rem;
}

.legal-page .doc-header h1 span {
  background: linear-gradient(100deg, var(--accent-bright), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-page .doc-meta {
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .04em;
}

/* ── DIVIDER ── */
.legal-page .doc-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(100, 255, 218, .2), transparent);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp .6s .25s ease forwards;
}

/* ── SECTIONS ── */
.legal-page .doc-section {
  margin-bottom: 2.25rem;
  padding: 1.75rem 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: border-color .3s, background .3s;
  opacity: 0;
  animation: fadeUp .6s ease forwards;
}

.legal-page .doc-section:hover {
  background: rgba(0, 180, 216, .04);
  border-color: rgba(0, 180, 216, .2);
}

.legal-page .doc-section:nth-child(1) {
  animation-delay: .30s;
}

.legal-page .doc-section:nth-child(2) {
  animation-delay: .37s;
}

.legal-page .doc-section:nth-child(3) {
  animation-delay: .44s;
}

.legal-page .doc-section:nth-child(4) {
  animation-delay: .51s;
}

.legal-page .doc-section:nth-child(5) {
  animation-delay: .58s;
}

.legal-page .doc-section:nth-child(6) {
  animation-delay: .65s;
}

.legal-page .doc-section:nth-child(7) {
  animation-delay: .72s;
}

.legal-page .section-title-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.legal-page .section-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 180, 216, .12);
  border: 1px solid rgba(0, 180, 216, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-h);
  font-size: .68rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: .02em;
}

.legal-page .section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 180, 216, .1);
  border: 1px solid rgba(0, 180, 216, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s;
}

.legal-page .doc-section:hover .section-icon {
  transform: scale(1.08);
}

.legal-page .section-icon svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}

.legal-page .section-heading {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}

.legal-page .doc-section p {
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .65);
  line-height: 1.85;
}

.legal-page .doc-section p a {
  color: var(--accent-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 180, 216, .35);
  transition: border-color .2s, color .2s;
}

.legal-page .doc-section p a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.legal-page .doc-section p strong {
  color: rgba(255, 255, 255, .85);
  font-weight: 500;
}

/* ── FOOTER ── */
.legal-page .doc-footer {
  margin-top: 3.5rem;
  text-align: center;
  opacity: 0;
  animation: fadeUp .6s .8s ease forwards;
}

.legal-page .doc-footer p {
  font-family: var(--font);
  font-size: .75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, .22);
  line-height: 1.75;
}

.legal-page .doc-footer a {
  color: rgba(0, 180, 216, .6);
  text-decoration: none;
  transition: color .2s;
}

.legal-page .doc-footer a:hover {
  color: var(--accent-bright);
}

.legal-page .back-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 2rem;
  padding: .75rem 1.75rem;
  border-radius: 100px;
  background: rgba(0, 180, 216, .1);
  border: 1px solid rgba(0, 180, 216, .25);
  font-family: var(--font);
  font-size: .85rem;
  font-weight: 500;
  color: var(--accent-bright);
  text-decoration: none;
  transition: all .25s;
}

.legal-page .back-btn svg {
  width: 15px;
  height: 15px;
  transition: transform .2s;
}

.legal-page .back-btn:hover {
  background: rgba(0, 180, 216, .18);
  border-color: var(--accent-bright);
  transform: translateY(-2px);
}

.legal-page .back-btn:hover svg {
  transform: translateX(-3px);
}

@media(max-width: 768px) {
  .legal-page .hamburger {
    display: flex;
  }
}