/* ═══════════════════════════════════════════════════
   DION PRIVATE SERVER – downloads.css
   Downloads / Official Distribution Center Page
═══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#dl-hero {
  position: relative;
  min-height: 50vh;
  padding-top: calc(var(--header-h) + 34px + 3.5rem);
  padding-bottom: 3.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.dl-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 25% 40%, rgba(212,175,55,.14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(111,44,255,.18) 0%, transparent 50%),
    linear-gradient(180deg, rgba(9,9,9,.6) 0%, var(--obsidian) 100%);
}
.dl-hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url('background_dion.png') center/cover no-repeat;
  opacity: .16;
  filter: blur(2px);
}

.dl-hero-fog {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at 15% 75%, rgba(76,184,255,.07) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 25%, rgba(212,175,55,.08) 0%, transparent 40%);
  animation: fog-drift 22s ease-in-out infinite alternate;
}

.dl-hero-runes {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden;
}
.dl-hero-runes .rune {
  position: absolute;
  font-family: serif;
  color: rgba(212,175,55,.1);
  line-height: 1;
  animation: rune-float 16s ease-in-out infinite alternate;
}
.dl-hero-runes .rune-1 { top: 14%; left: 5%;  font-size: 3.5rem; animation-duration: 15s; }
.dl-hero-runes .rune-3 { top: 18%; right: 8%; font-size: 4rem;   animation-duration: 18s; animation-delay: -4s; }
.dl-hero-runes .rune-4 { top: 65%; right: 6%; font-size: 3rem;   animation-duration: 19s; animation-delay: -7s; }
.dl-hero-runes .rune-6 { top: 60%; left: 4%;  font-size: 3.2rem; animation-duration: 21s; animation-delay: -2s; }

.dl-hero-inner {
  position: relative; z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.dl-hero-text { flex: 1; min-width: 280px; }

.dl-hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  background: linear-gradient(180deg, #fff8e0 0%, var(--gold-light) 45%, var(--gold) 75%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(212,175,55,.3));
  line-height: 1.1;
  margin: .6rem 0 1rem;
}

.dl-hero-sub {
  font-family: 'IM Fell English', serif;
  font-style: italic;
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--text-dim);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.dl-hero-tags { display: flex; flex-wrap: wrap; gap: .75rem; }
.dl-htag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Cinzel', serif; font-size: .62rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dim);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  padding: .4rem .85rem;
}
.dl-htag-dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dl-htag-dot.dl-htag-ok   { background: #55dd88; box-shadow: 0 0 6px #55dd88; }
.dl-htag-dot.dl-htag-gold { background: var(--gold); box-shadow: 0 0 6px var(--gold-glow); }

/* Seal */
.dl-hero-seal {
  flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  position: relative;
  width: 150px; height: 150px;
  justify-content: center;
}
.dl-seal-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(212,175,55,.35);
  box-shadow: 0 0 30px rgba(212,175,55,.12), inset 0 0 20px rgba(111,44,255,.08);
  animation: spin-slow 18s linear infinite;
}
.dl-seal-ring::before {
  content: ''; position: absolute; inset: 12px; border-radius: 50%;
  border: 1px solid rgba(111,44,255,.25);
}
.dl-seal-icon {
  font-size: 2.6rem; color: var(--gold);
  filter: drop-shadow(0 0 14px var(--gold-glow));
  position: relative; z-index: 2;
}
.dl-seal-label {
  font-family: 'Cinzel', serif; font-size: .55rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dark);
  text-align: center; line-height: 1.5; position: relative; z-index: 2;
}

/* ══════════════════════════════════════════════
   ACCESS SECTION (shared wrapper)
══════════════════════════════════════════════ */
#dl-access {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--obsidian), var(--stone));
  position: relative; z-index: 10;
}

/* ── Lock Banner (guest) ── */
.dl-lock-banner {
  background: linear-gradient(160deg, rgba(28,18,18,.97), rgba(12,8,8,.99));
  border: 1px solid rgba(212,175,55,.4);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(212,175,55,.1), 0 0 90px rgba(0,0,0,.6);
}
.dl-lock-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 12px rgba(212,175,55,.4));
}
.dl-lock-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(212,175,55,.3);
  margin-bottom: 1.25rem;
}
.dl-lock-msg {
  font-size: .92rem;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 600px;
  margin: 0 auto 2rem;
}
.dl-lock-msg strong { color: var(--gold-light); }
.dl-lock-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ── Legal cards ── */
.dl-legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.dl-legal-card {
  background: linear-gradient(160deg, rgba(20,15,28,.97), rgba(10,8,16,.99));
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: all .3s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.dl-legal-card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 30px rgba(111,44,255,.12);
  transform: translateY(-3px);
}
.dl-legal-icon { font-size: 1.6rem; display: block; margin-bottom: .75rem; }
.dl-legal-title {
  font-family: 'Cinzel', serif; font-size: .82rem; font-weight: 700;
  letter-spacing: .5px; color: var(--gold-light); margin-bottom: .6rem;
}
.dl-legal-text { font-size: .82rem; color: var(--text-dim); line-height: 1.7; }

/* ── Documentos vinculados ── */
.dl-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.dl-doc-card {
  background: linear-gradient(160deg, rgba(20,16,30,.98), rgba(10,8,16,.99));
  border: 1px solid var(--border2);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  transition: all .3s;
}
.dl-doc-card:hover {
  border-color: var(--gold-dark);
  box-shadow: 0 8px 30px rgba(212,175,55,.1);
  transform: translateY(-3px);
}
.dl-doc-icon { font-size: 2.2rem; margin-bottom: .85rem; }
.dl-doc-name {
  font-family: 'Cinzel', serif; font-size: .85rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: .6rem; letter-spacing: .5px;
}
.dl-doc-desc { font-size: .8rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 1rem; }
.dl-doc-updated {
  font-family: 'Cinzel', serif; font-size: .56rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dark); margin-bottom: 1.25rem;
}
.dl-doc-btn {
  font-family: 'Cinzel', serif; font-size: .68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--arcane-light);
  border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.dl-doc-btn:hover { border-bottom-color: var(--arcane-light); color: var(--gold-light); }

/* ── Benefícios ── */
.dl-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .9rem;
  max-width: 1100px;
  margin: 0 auto;
}
.dl-benefit {
  background: linear-gradient(135deg, rgba(20,16,30,.95), rgba(10,8,16,.98));
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Cinzel', serif; font-size: .72rem; letter-spacing: .5px;
  color: var(--text-dim);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all .25s;
}
.dl-benefit:hover { border-color: rgba(85,221,136,.4); color: var(--text); }
.dl-benefit-check { color: #55dd88; font-weight: 700; flex-shrink: 0; }

/* ── Welcome card (member) ── */
.dl-welcome-card {
  background: linear-gradient(160deg, rgba(20,28,20,.96), rgba(10,16,10,.99));
  border: 1px solid rgba(85,221,136,.35);
  padding: 2.25rem 2.5rem;
  display: flex; align-items: center; gap: 1.75rem;
  position: relative;
  max-width: 900px; margin: 0 auto;
  box-shadow: 0 0 50px rgba(85,221,136,.08), 0 0 90px rgba(0,0,0,.6);
}
.dl-welcome-icon {
  font-size: 2.8rem; color: var(--gold);
  filter: drop-shadow(0 0 14px var(--gold-glow));
  flex-shrink: 0;
}
.dl-welcome-title {
  font-family: 'Cinzel Decorative', serif; font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--gold-light); margin-bottom: .6rem;
}
.dl-welcome-msg { font-size: .88rem; color: var(--text-dim); line-height: 1.75; margin-bottom: .85rem; }
.dl-welcome-msg strong { color: var(--gold-light); }
.dl-welcome-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Cinzel', serif; font-size: .6rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #55dd88;
  background: rgba(85,221,136,.1); border: 1px solid rgba(85,221,136,.35);
  padding: .3rem .85rem;
}

/* ── Download cards ── */
.dl-downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.dl-dl-card {
  background: linear-gradient(160deg, rgba(20,15,28,.98), rgba(10,8,16,.99));
  border: 1px solid var(--border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: all .35s;
}
.dl-dl-card:hover {
  border-color: var(--border2);
  box-shadow: 0 10px 40px rgba(111,44,255,.15);
  transform: translateY(-4px);
}
.dl-dl-card.dl-dl-featured {
  border-color: rgba(212,175,55,.5);
  background: linear-gradient(160deg, rgba(28,20,32,.98), rgba(14,10,20,.99));
  box-shadow: 0 0 40px rgba(212,175,55,.15);
}
.dl-dl-ribbon {
  position: absolute; top: 10px; right: -16px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #1a1408; padding: 3px 22px;
  font-family: 'Cinzel', serif; font-size: .52rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  transform: rotate(35deg); transform-origin: left center;
}
.dl-dl-icon { font-size: 2.4rem; display: block; margin-bottom: .85rem; }
.dl-dl-name {
  font-family: 'Cinzel', serif; font-size: .95rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: .6rem;
}
.dl-dl-desc { font-size: .8rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 1.25rem; min-height: 2.6em; }

.dl-dl-meta {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .6rem .5rem;
  padding: 1rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.dl-dl-meta-item { display: flex; flex-direction: column; gap: .15rem; }
.dl-dl-meta-item span {
  font-family: 'Cinzel', serif; font-size: .54rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dark);
}
.dl-dl-meta-item strong {
  font-family: 'Cinzel', serif; font-size: .78rem; color: var(--text);
}

.dl-dl-links { display: flex; flex-direction: column; gap: .55rem; }
.dl-link-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Cinzel', serif; font-size: .68rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: .65rem 1rem;
  border: 1px solid var(--border2);
  transition: all .25s;
}
.dl-link-btn.dl-link-http {
  background: linear-gradient(135deg, var(--arcane-dark), var(--arcane));
  color: #fff; border-color: rgba(111,44,255,.5);
  box-shadow: 0 0 15px rgba(111,44,255,.25);
}
.dl-link-btn.dl-link-http:hover { box-shadow: 0 0 25px rgba(111,44,255,.5); transform: translateY(-1px); }
.dl-link-btn.dl-link-drive {
  background: rgba(255,255,255,.03); color: var(--text-dim);
}
.dl-link-btn.dl-link-drive:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.dl-link-btn.dl-link-mf {
  background: rgba(255,255,255,.03); color: var(--text-dim);
}
.dl-link-btn.dl-link-mf:hover { color: var(--text); border-color: rgba(255,255,255,.3); }

/* ── Future platforms ── */
.dl-future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.dl-future-card {
  background: linear-gradient(160deg, rgba(16,14,24,.9), rgba(8,7,14,.95));
  border: 1px dashed rgba(212,175,55,.22);
  padding: 1.75rem;
  text-align: center;
  opacity: .82;
  transition: opacity .3s;
}
.dl-future-card:hover { opacity: 1; }
.dl-future-icon { font-size: 2rem; display: block; margin-bottom: .65rem; filter: grayscale(.3); }
.dl-future-name {
  font-family: 'Cinzel', serif; font-size: .8rem; font-weight: 700;
  color: var(--text-dim); margin-bottom: .5rem;
}
.dl-future-desc { font-size: .75rem; color: var(--text-dark); line-height: 1.6; margin-bottom: 1rem; }
.dl-future-status {
  font-family: 'Cinzel', serif; font-size: .58rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark);
  background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.25);
  padding: .25rem .75rem; display: inline-block;
}

/* ── Status panel ── */
.dl-status-panel {
  background: linear-gradient(180deg, rgba(18,14,28,.98), rgba(10,8,16,.99));
  border: 1px solid var(--border);
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  box-shadow: 0 0 50px rgba(0,0,0,.5);
}
.dl-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}
.dl-status-item { display: flex; flex-direction: column; gap: .4rem; }
.dl-status-label {
  font-family: 'Cinzel', serif; font-size: .58rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-dark);
}
.dl-status-val {
  font-family: 'Cinzel', serif; font-size: .95rem; font-weight: 700; color: var(--text);
}
.dl-status-val.gold { color: var(--gold); }
.dl-status-val.online { color: #55dd88; display: flex; align-items: center; gap: .5rem; font-size: .85rem; }
.dl-status-val.mono { font-family: monospace; font-size: .75rem; letter-spacing: .5px; color: var(--arcane-light); }
.dl-status-checksum { grid-column: 1 / -1; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 1rem; }
.dl-status-checksum .dl-status-label { flex-shrink: 0; }
.dl-copy-btn {
  font-family: 'Cinzel', serif; font-size: .58rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim);
  border: 1px solid var(--border2); background: rgba(255,255,255,.03);
  padding: .3rem .7rem; transition: all .2s; cursor: pointer;
}
.dl-copy-btn:hover { color: var(--gold-light); border-color: var(--gold-dark); }

/* ══════════════════════════════════════════════
   SECURITY
══════════════════════════════════════════════ */
#dl-security {
  padding: 5rem 2rem;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(111,44,255,.06) 0%, transparent 65%),
    var(--stone2);
  position: relative; z-index: 10;
}
.dl-security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}
.dl-security-item {
  background: linear-gradient(135deg, rgba(20,16,30,.95), rgba(10,8,16,.98));
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: flex; align-items: flex-start; gap: .9rem;
  transition: all .25s;
}
.dl-security-item:hover { border-color: var(--border2); }
.dl-security-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.dl-security-item p { font-size: .82rem; color: var(--text-dim); line-height: 1.7; }
.dl-security-item p strong { color: var(--gold-light); }

/* ══════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════ */
#dl-faq {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, var(--stone2), var(--stone));
  position: relative; z-index: 10;
}
.dl-faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: .75rem;
}
.dl-faq-item {
  background: linear-gradient(135deg, rgba(20,16,30,.96), rgba(10,8,16,.99));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .25s;
}
.dl-faq-item.open { border-color: var(--border2); }
.dl-faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: none; border: none; cursor: pointer;
  font-family: 'Cinzel', serif; font-size: .8rem; font-weight: 700;
  color: var(--text); text-align: left;
}
.dl-faq-q:hover { color: var(--gold-light); }
.dl-faq-arrow { color: var(--gold); transition: transform .25s; flex-shrink: 0; margin-left: 1rem; }
.dl-faq-item.open .dl-faq-arrow { transform: rotate(180deg); }
.dl-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.dl-faq-item.open .dl-faq-a { max-height: 220px; }
.dl-faq-a p {
  padding: 0 1.5rem 1.25rem;
  font-size: .82rem; color: var(--text-dim); line-height: 1.75;
}
.dl-faq-a p strong { color: var(--gold-light); }

/* ══════════════════════════════════════════════
   SUPPORT
══════════════════════════════════════════════ */
#dl-support {
  padding: 4rem 2rem 6rem;
  background: linear-gradient(180deg, var(--stone), var(--obsidian));
  position: relative; z-index: 10;
}
.dl-support-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(160deg, rgba(20,15,28,.98), rgba(10,8,16,.99));
  border: 1px solid var(--border2);
  padding: 2.75rem 2.5rem;
  position: relative;
  box-shadow: 0 0 50px rgba(111,44,255,.1), 0 0 100px rgba(0,0,0,.6);
}
.dl-support-title {
  font-family: 'Cinzel Decorative', serif; font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  color: var(--gold-light); margin-bottom: .75rem;
}
.dl-support-sub { font-size: .88rem; color: var(--text-dim); line-height: 1.75; margin-bottom: 1.75rem; }
.dl-support-actions { display: flex; gap: .85rem; flex-wrap: wrap; justify-content: center; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 960px) {
  .dl-hero-inner { flex-direction: column; text-align: center; }
  .dl-hero-text { min-width: unset; }
  .dl-hero-sub { margin: 0 auto 1.5rem; }
  .dl-hero-tags { justify-content: center; }
  .dl-welcome-card { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  #dl-hero { padding-top: calc(var(--header-h) + 34px + 2rem); min-height: auto; }
  .dl-hero-title { font-size: 1.8rem; }
  .dl-lock-banner { padding: 2.25rem 1.5rem; }
  .dl-lock-actions { flex-direction: column; }
  .dl-lock-actions .btn-primary,
  .dl-lock-actions .btn-secondary { width: 100%; text-align: center; justify-content: center; }
  .dl-status-checksum { flex-direction: column; align-items: flex-start; }
  .dl-support-actions { flex-direction: column; }
  .dl-support-actions a { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .dl-benefits-grid { grid-template-columns: 1fr 1fr; }
  .dl-hero-seal { width: 110px; height: 110px; }
  .dl-seal-icon { font-size: 2rem; }
}
