/* DIGIMON VANGUARD ONLINE - Tema Cyber Vanguard v1
 * Visual azul-elétrico / ouro / azul-marinho. Camada por cima do Bootstrap,
 * style.css e form.css; nenhuma regra de pagamento, SQL ou ranking foi alterada.
 * Assets oficiais: assets/images/dvo-background.webp e dvo-logo-top.webp.
 */
:root {
  --dvo-void: #030711;
  --dvo-navy: #081629;
  --dvo-panel: rgba(8, 21, 42, .91);
  --dvo-panel-strong: rgba(5, 16, 32, .96);
  --dvo-cyan: #40d5ff;
  --dvo-blue: #0879ee;
  --dvo-gold: #ffc750;
  --dvo-gold-light: #ffe29a;
  --dvo-text: #ecf6ff;
  --dvo-muted: #afc4da;
  --dvo-line: rgba(60, 178, 249, .30);
  --bs-primary: #1684ee;
  --bs-primary-rgb: 22, 132, 238;
  color-scheme: dark;
}
html { scroll-padding-top: 80px; }
body.dvo-theme {
  min-width: 320px;
  background-color: var(--dvo-void) !important;
  background-image:
    linear-gradient(180deg, rgba(2,7,20,.38), rgba(3,8,23,.72) 45%, rgba(3,8,19,.93)),
    url('/assets/images/dvo-background.webp') !important;
  background-size: cover, cover !important;
  background-position: center top, center top !important;
  background-attachment: fixed, fixed !important;
  background-repeat: no-repeat !important;
  color: var(--dvo-text);
  font-family: 'Segoe UI', system-ui, Arial, sans-serif;
  scroll-snap-type: none !important;
  overflow-x: hidden;
}
body.dvo-theme .full-height { scroll-snap-align: none; }
body.dvo-theme a { transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
body.dvo-theme a:focus-visible, body.dvo-theme button:focus-visible,
body.dvo-theme input:focus-visible, body.dvo-theme select:focus-visible {
  outline: 2px solid var(--dvo-cyan); outline-offset: 3px;
}

/* Menu principal – a marca é o logo original em miniatura + sigla DVO. */
body.dvo-theme .navbar {
  background: linear-gradient(90deg, rgba(3,11,24,.98), rgba(7,24,48,.93) 52%, rgba(3,11,24,.98)) !important;
  border-bottom: 1px solid rgba(65,191,255,.39) !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.45), 0 1px 0 rgba(255,199,80,.12) inset;
  backdrop-filter: blur(16px);
  min-height: 77px;
  z-index: 1050;
}
body.dvo-theme .navbar .container { max-width: 1460px; }
body.dvo-theme .dvo-brand {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  margin-right: 22px; text-decoration: none;
}
body.dvo-theme .dvo-brand-mark {
  display: block; width: 92px; height: 62px; object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(38, 167, 255, .42));
}
body.dvo-theme .dvo-brand-label {
  font-size: 1.14rem; font-weight: 900; letter-spacing: .14em;
  color: var(--dvo-gold);
  text-shadow: 0 1px 0 #6f3200, 0 0 14px rgba(255, 183, 48, .32);
}
body.dvo-theme .navbar-nav { gap: clamp(.35rem, 1vw, .85rem) !important; }
body.dvo-theme .navbar-nav .nav-link {
  color: #d4e8fb !important; font-size: .83rem; font-weight: 750;
  letter-spacing: .035em; padding: 9px 9px;
}
body.dvo-theme .navbar-nav .nav-link.active,
body.dvo-theme .navbar-nav .nav-link:hover,
body.dvo-theme .navbar-nav .nav-link:focus {
  color: var(--dvo-gold) !important;
  text-shadow: 0 0 14px rgba(255,203,85,.43);
}
body.dvo-theme .navbar-toggler { border: 1px solid var(--dvo-line); background-color: rgba(42,96,153,.15); }
body.dvo-theme .navbar-toggler-icon { filter: invert(1) grayscale(1) brightness(3); }
body.dvo-theme .dvo-locale-switch { display:flex; gap: .5rem; white-space:nowrap; margin-left:auto; }
body.dvo-theme .dvo-lang-choice {
  display:inline-flex; gap:.35rem; align-items:center; text-decoration:none;
  background:rgba(10,30,57,.9); padding:7px 11px; border-radius:8px;
  border:1px solid var(--dvo-line); color:#dbefff; font-size:.82rem; font-weight:750;
}
body.dvo-theme .dvo-lang-choice:is(.active,:hover,:focus-visible) {
  background: linear-gradient(145deg,rgba(14,78,135,.72),rgba(11,37,73,.92));
  border-color:var(--dvo-gold); color:#fff;
  box-shadow:inset 0 0 11px rgba(40,177,245,.14), 0 0 12px rgba(255,194,62,.16);
}

/* Hero: imagem inteira visível na tela grande, controles deslocados para baixo
   para não cobrir o logo grande já presente na arte de fundo. */
body.dvo-theme #home.hero {
  background-color: #040c1b !important;
  background-image:
    linear-gradient(180deg, rgba(2,8,22,.04) 0%, rgba(3,9,23,.09) 40%, rgba(2,8,20,.50) 72%, rgba(3,9,21,.95) 100%),
    url('/assets/images/dvo-background.webp') !important;
  background-position: center center, center top !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  min-height: max(690px, calc(100svh - 77px));
  justify-content: flex-end;
  padding: clamp(300px, 36vh, 440px) 18px clamp(24px, 4vh, 60px) !important;
}
body.dvo-theme .hero-content {
  width: min(1030px, 100%);
  max-width: 1030px;
  margin-top:auto;
  padding: 18px 26px;
  justify-content:space-around; align-items:center;
  gap: 20px;
  border: 1px solid rgba(56, 182, 251, .37);
  border-radius: 19px;
  background:linear-gradient(90deg,rgba(4,13,29,.70),rgba(5,26,52,.64),rgba(4,13,29,.72));
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.05);
}
body.dvo-theme .btn-download, body.dvo-theme .btn-register { width: clamp(160px, 18vw, 225px); }
body.dvo-theme .btn-download:hover, body.dvo-theme .btn-register:hover { filter:drop-shadow(0 0 12px rgba(59, 185, 255, .5)); }
body.dvo-theme .online-circle { margin: 0; }
body.dvo-theme .online-circle svg circle:last-child { stroke: var(--dvo-cyan) !important; filter: drop-shadow(0 0 5px rgba(38,175,255,.7)); }
body.dvo-theme .online-circle .circle-number { color:var(--dvo-gold); font-size: 1.45rem; font-weight:900; }

/* Seções: vidro azul escuro para que o fundo permaneça visível. */
body.dvo-theme #destaques,
body.dvo-theme #auth,
body.dvo-theme #shop {
  background:linear-gradient(180deg,rgba(3,8,20,.82),rgba(3,11,27,.89) 48%,rgba(3,8,20,.88)) !important;
  color:var(--dvo-text) !important;
  min-height: min(100vh, 780px);
  padding-top: clamp(3rem,6vw,5rem) !important;
  padding-bottom: clamp(3rem,6vw,5rem) !important;
}
body.dvo-theme #auth .container,
body.dvo-theme #shop .container { position:relative; }
body.dvo-theme .section-title, body.dvo-theme #destaques h3,
body.dvo-theme #auth h2, body.dvo-theme .wiki-index-title,
body.dvo-theme .wiki-title {
  color:var(--dvo-gold) !important; font-weight:800;
  text-shadow:0 2px 18px rgba(255,168,49,.17);
}
body.dvo-theme .section-title::after { content:""; display:block; width:90px; height:3px;
  margin: 12px auto 0; border-radius:12px; background:linear-gradient(90deg,var(--dvo-blue),var(--dvo-cyan),var(--dvo-gold)); }
body.dvo-theme .text-danger { color: var(--dvo-gold) !important; }
body.dvo-theme .border-danger { border-color:rgba(67,174,245,.55) !important; }
body.dvo-theme .border-secondary { border-color:rgba(99,155,202,.28) !important; }
body.dvo-theme .text-muted { color: var(--dvo-muted) !important; }
body.dvo-theme #destaques .bg-dark,
body.dvo-theme #auth .bg-dark,
body.dvo-theme #shop .bg-dark,
body.dvo-theme .vip-card,
body.dvo-theme .card-glow,
body.dvo-theme .pix-card,
body.dvo-theme .custom-value-card,
body.dvo-theme .cupom-container {
  background:linear-gradient(150deg,rgba(12,35,65,.91),rgba(5,15,33,.95)) !important;
  color:var(--dvo-text) !important;
  border:1px solid var(--dvo-line) !important;
  box-shadow:0 12px 30px rgba(0,0,0,.32), inset 0 1px 0 rgba(90,179,240,.07);
  border-radius:12px;
}
body.dvo-theme .card, body.dvo-theme .pix-card { transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
body.dvo-theme .pix-card:hover,body.dvo-theme .vip-card:hover,
body.dvo-theme .card:hover { border-color:rgba(255,199,80,.56) !important; box-shadow:0 15px 32px rgba(0,0,0,.46),0 0 16px rgba(31,136,235,.16); }
body.dvo-theme .pix-card.popular { border-color:var(--dvo-gold) !important; box-shadow:0 0 0 1px rgba(255,200,69,.16),0 12px 33px rgba(0,0,0,.35); }
body.dvo-theme .popular-badge { background:linear-gradient(135deg,#e8a831,#ffdc76) !important;color:#071124 !important; }
body.dvo-theme .pix-crowns { color:var(--dvo-gold-light) !important; }
body.dvo-theme .pix-amount { color:var(--dvo-cyan) !important; font-size:1.15rem; }
body.dvo-theme .form-control,body.dvo-theme .form-select,
body.dvo-theme .input-group-text {
  background-color:rgba(5,18,36,.93) !important;
  border-color:rgba(74,135,187,.42) !important;
  color:#ecf7ff !important;
}
body.dvo-theme .form-control::placeholder { color:#90a9c0; opacity:1; }
body.dvo-theme .form-control:focus,body.dvo-theme .form-select:focus {
  border-color:var(--dvo-cyan) !important;
  box-shadow:0 0 0 .22rem rgba(23,151,231,.15) !important;
}
body.dvo-theme .btn-pix,body.dvo-theme .btn-pix-custom,
body.dvo-theme .btn-danger,body.dvo-theme .btn-primary,
body.dvo-theme #register .btn-warning {
  background:linear-gradient(125deg,#0869c5,#149fee) !important;
  border:1px solid rgba(94,216,255,.55) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.15),0 6px 17px rgba(1,78,150,.27);
  color:#fff !important;
}
body.dvo-theme .btn-pix:hover,body.dvo-theme .btn-pix-custom:hover,
body.dvo-theme .btn-danger:hover,body.dvo-theme .btn-primary:hover {
  background:linear-gradient(125deg,#1486d8,#32bafe) !important;
  box-shadow:0 9px 24px rgba(21,156,255,.28);
}
body.dvo-theme .btn-warning,body.dvo-theme .btn-gold { background:linear-gradient(125deg,#ffa52a,#ffdf72) !important; color:#081223 !important; border:0; }
body.dvo-theme .btn-success { background:linear-gradient(125deg,#1362b5,#1779d7) !important; border-color:#3696e3 !important; color:#fff !important; }
body.dvo-theme .footer {
  background:linear-gradient(180deg,rgba(3,12,26,.97),rgba(1,5,14,.98)) !important;
  border-top:1px solid rgba(58,169,237,.35) !important;
  box-shadow:0 -10px 38px rgba(0,0,0,.28);
}
body.dvo-theme .footer h5,body.dvo-theme .footer .fs-2 { color:var(--dvo-gold) !important; }
body.dvo-theme .preloader-overlay { background:rgba(2,9,21,.90); }
body.dvo-theme .lds-ellipsis div { background:var(--dvo-cyan); }

/* Wiki: respeita grids, tabelas e árvore de evolução; unifica fundo e cards. */
body.dvo-wiki { background-color:#030b1d !important; }
body.dvo-wiki::before { content:none !important; }
body.dvo-wiki .wiki-search-box,
body.dvo-wiki .wiki-digimon-card,
body.dvo-wiki .wiki-panel,
body.dvo-wiki .wiki-infobox {
  background:linear-gradient(155deg,rgba(11,32,59,.94),rgba(4,15,32,.97)) !important;
  border-color:rgba(66,170,244,.35) !important;
  box-shadow:0 12px 33px rgba(0,0,0,.40),inset 0 1px 0 rgba(70,168,255,.05);
}
body.dvo-wiki .container.wiki-page::before { background:linear-gradient(150deg,rgba(9,29,53,.66),rgba(4,13,29,.84)); border-color:rgba(63,164,239,.28); }
body.dvo-wiki .wiki-digimon-card:hover { border-color:var(--dvo-gold) !important;box-shadow:0 12px 32px rgba(0,0,0,.50),0 0 19px rgba(22,139,232,.19); }
body.dvo-wiki .wiki-index-subtitle,body.dvo-wiki .wiki-subtitle { color:var(--dvo-muted); }

/* Painel streamer: somente aparência; nenhum cálculo, ação ou tabela alterado. */
body.dvo-streamer { color:var(--dvo-text); }
body.dvo-streamer h3,body.dvo-streamer h5 { color:var(--dvo-gold); }
body.dvo-streamer .card { background:var(--dvo-panel) !important; border:1px solid var(--dvo-line); box-shadow:0 12px 30px rgba(0,0,0,.36); }
body.dvo-streamer .table-dark { --bs-table-bg:rgba(8,23,45,.91); --bs-table-border-color:rgba(65,139,207,.35); }

@media (max-width:1199.98px) {
  body.dvo-theme .dvo-brand { margin-right:8px; }
  body.dvo-theme .dvo-brand-mark { width:75px; height:56px; }
  body.dvo-theme .navbar-nav .nav-link { padding-inline:6px; font-size:.79rem; }
}
@media (max-width:991.98px) {
  body.dvo-theme .navbar .container { padding-inline:18px; }
  body.dvo-theme .navbar-nav { margin-top:10px;gap:2px !important; }
  body.dvo-theme .navbar-nav .nav-link { font-size:.92rem; padding:9px 10px; }
  body.dvo-theme .dvo-locale-switch { justify-content:center; padding:12px 0; margin-left:0; }
  body.dvo-theme .hero-content { gap:12px; }
}
@media (max-width:767.98px) {
  body.dvo-theme { background-attachment:scroll,scroll !important; background-position:center top,center top !important; }
  body.dvo-theme #home.hero {
    background-image:
      linear-gradient(180deg,rgba(2,7,17,.06) 0%,rgba(2,7,17,.18) 38%,rgba(2,8,21,.80) 72%,rgba(2,7,18,.97) 100%),
      url('/assets/images/dvo-background.webp') !important;
    background-size:cover, 145% auto !important;
    background-position:center top,center 15px !important;
    min-height:690px; padding: 300px 12px 30px !important;
  }
  body.dvo-theme .hero-content { padding:14px 10px; width:100%; border-radius:15px; }
  body.dvo-theme .online-circle { width:145px;height:145px; }
  body.dvo-theme .online-circle svg { width:200px;height:200px; transform:scale(.725); transform-origin:top left; }
  body.dvo-theme .online-circle .content { width:145px;height:145px; }
  body.dvo-theme .btn-download,body.dvo-theme .btn-register { width:130px; }
  body.dvo-theme .btn-download .icon-img,body.dvo-theme .btn-register .icon-img { display:block; }
  body.dvo-theme .btn-download .texto,body.dvo-theme .btn-register .texto { display:block;font-size:1rem !important; }
  body.dvo-theme #destaques,body.dvo-theme #auth,body.dvo-theme #shop { min-height:0; }
}
@media (max-width:430px) {
  body.dvo-theme .dvo-brand-mark { width:67px;height:49px; }
  body.dvo-theme .dvo-brand-label { font-size:1rem; }
  body.dvo-theme #home.hero { background-size:cover, 175% auto !important; min-height:610px; padding-top:240px !important; }
  body.dvo-theme .online-circle { width:132px;height:132px; }
  body.dvo-theme .online-circle svg { transform:scale(.66); }
  body.dvo-theme .online-circle .content { width:132px;height:132px; }
}
@media (prefers-reduced-motion:reduce) {
  body.dvo-theme *,body.dvo-theme *::before,body.dvo-theme *::after { scroll-behavior:auto !important; transition-duration:.01ms !important;animation-duration:.01ms !important; }
}
