:root{
  --bg:#0b0b0b;
  --bg2:#050505;
  --text:#ffffff;
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --red:#e10600;
  --redGlow: rgba(225,6,0,.28);
  --line: rgba(255,255,255,.10);

  --card: rgba(255,255,255,.03);
  --card2: rgba(0,0,0,.22);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,255,255,.08);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:"Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 700px at 12% -10%, rgba(225,6,0,.12), transparent 60%),
    radial-gradient(900px 700px at 85% 0%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(var(--bg2), var(--bg));
}

/* TOPBAR */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(5,5,5,.75);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  max-width:1300px;
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.topbar__line{
  height:2px;
  width:0%;
  background: var(--red);
  box-shadow: 0 0 18px var(--redGlow);
  transition: width .28s ease;
}

/* BRAND */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
  min-width: 240px;
}
.brand__logo{
  width:44px;
  height:44px;
  object-fit:contain;
  filter: drop-shadow(0 0 10px rgba(225,6,0,.18));
}
.brand__name{
  font-weight:900;
  letter-spacing:2px;
  font-size:14px;
}
.brand__sub{
  margin-top:2px;
  font-size:12px;
  color:var(--muted2);
}

/* NAV CHIPS */
.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.chip{
  text-decoration:none;
  color: rgba(255,255,255,.86);
  font-weight:800;
  font-size:12px;
  letter-spacing:1px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:12px;
  transition:.18s ease;
}
.chip:hover{
  border-color: rgba(225,6,0,.45);
  box-shadow: 0 0 0 4px rgba(225,6,0,.10);
}
.chip--active{
  border-color: rgba(225,6,0,.60);
  color:#fff;
}

/* WRAP */
.wrap{
  max-width:1300px;
  margin:0 auto;
  padding:22px 18px 60px;
}

/* HERO */
.hero{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 980px){
  .hero{ grid-template-columns:1fr; }
}

.kicker{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,.78);
  font-weight:800;
  letter-spacing:1.6px;
  font-size:12px;
  text-transform:uppercase;
}
.kdot{
  width:10px; height:10px;
  border-radius:999px;
  background: rgba(225,6,0,.95);
  box-shadow: 0 0 18px var(--redGlow);
}
.title{
  margin:10px 0 8px;
  font-size:44px;
  line-height:1.06;
  letter-spacing:1px;
}
@media (max-width: 560px){ .title{ font-size:34px; } }
.subtitle{
  margin:0;
  color: var(--muted);
  max-width: 780px;
  line-height:1.65;
}
.hero__actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* BUTTONS */
.btn{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:#fff;
  padding:11px 14px;
  border-radius:14px;
  font-weight:900;
  letter-spacing:.6px;
  font-size:12px;
  cursor:pointer;
  transition:.18s ease;
}
.btn:hover{
  border-color: rgba(225,6,0,.45);
  box-shadow: 0 0 0 4px rgba(225,6,0,.10);
}
.btn--primary{
  background: linear-gradient(180deg, rgba(225,6,0,.92), rgba(225,6,0,.76));
  border-color: rgba(225,6,0,.65);
  box-shadow: 0 14px 28px rgba(225,6,0,.16);
}
.btn--ghost{ background: transparent; }

/* DOC CARD */
.docCard{
  height:100%;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  overflow:hidden;
  position:relative;
}
.docCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(650px 220px at 15% 10%, rgba(225,6,0,.22), transparent 55%);
  pointer-events:none;
}
.docCard__head{
  position:relative;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 14px 0;
}
.badge{
  border:1px solid rgba(225,6,0,.55);
  background: rgba(225,6,0,.12);
  color:#fff;
  font-weight:900;
  letter-spacing:2px;
  font-size:11px;
  padding:8px 10px;
  border-radius:999px;
}
.stamp{
  color: rgba(255,255,255,.55);
  font-weight:900;
  letter-spacing:3px;
  font-size:11px;
}
.docCard__body{
  position:relative;
  padding:14px;
}
.meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 10px;
  border-radius:14px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.08);
  margin-top:10px;
}
.meta__k{ color: rgba(255,255,255,.62); font-weight:800; font-size:12px; }
.meta__v{ color:#fff; font-weight:900; font-size:12px; letter-spacing:1px; }
.ruleLine{
  height:1px;
  background: rgba(255,255,255,.10);
  margin:14px 0;
}
.notice__t{
  font-weight:900;
  letter-spacing:.6px;
  margin-bottom:6px;
}
.notice__p{
  color: rgba(255,255,255,.72);
  line-height:1.6;
}

/* TOC */
.toc{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
@media (max-width: 980px){ .toc{ grid-template-columns:1fr; } }

.tocItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  text-decoration:none;
  color:#fff;
  border-radius:16px;
  padding:14px 14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  transition:.18s ease;
}
.tocItem:hover{
  border-color: rgba(225,6,0,.45);
  box-shadow: 0 0 0 4px rgba(225,6,0,.10);
}
.tocN{
  font-weight:900;
  letter-spacing:2px;
  color: rgba(255,255,255,.65);
}
.tocT{
  flex:1;
  font-weight:900;
  letter-spacing:.6px;
  font-size:12px;
  color: rgba(255,255,255,.86);
}
.tocA{ color: rgba(255,255,255,.60); font-weight:900; }

/* PANELS */
.panel{
  margin-top:18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  overflow:hidden;
}
.panel__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  padding:18px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 700px){
  .panel__head{ flex-direction:column; align-items:flex-start; }
}
.panel__kicker{
  color: rgba(225,6,0,.90);
  font-weight:900;
  letter-spacing:2px;
  font-size:12px;
}
.panel__title{
  margin:6px 0 6px;
  font-size:22px;
  letter-spacing:1px;
}
.panel__desc{
  margin:0;
  color: var(--muted);
  line-height:1.6;
}
.panel__tools{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* ACCORDION */
.accordion{ padding: 10px 10px 14px; }

.acc{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
  border-radius:16px;
  margin-top:10px;
  overflow:hidden;
}
.acc__btn{
  width:100%;
  text-align:left;
  background: transparent;
  border:0;
  padding:14px 14px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.4px;
}
.chev{
  width:10px; height:10px;
  border-right:2px solid rgba(255,255,255,.70);
  border-bottom:2px solid rgba(255,255,255,.70);
  transform: rotate(45deg);
  transition: .18s ease;
}
.acc.open .chev{ transform: rotate(-135deg); }

.acc__body{
  display:none;
  padding: 0 14px 14px;
  color: rgba(255,255,255,.78);
  line-height:1.7;
}
.acc.open .acc__body{ display:block; }

.acc__body ul{ margin:10px 0 0 18px; }
.acc__body li{ margin:6px 0; }

.tag{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(225,6,0,.45);
  background: rgba(225,6,0,.10);
  font-weight:900;
  letter-spacing:.4px;
}

/* DIVISIONI */
.divWrap{
  padding: 16px;
}
.divTitle{
  text-align:center;
  font-weight:900;
  letter-spacing:3px;
  font-size:20px;
  margin: 6px 0 16px;
  text-transform:uppercase;
}

.divGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){ .divGrid{ grid-template-columns: 1fr; } }

.divCard{
  position:relative;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.28);
  padding:26px 18px;
  text-align:center;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.divCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(520px 160px at 50% 0%, rgba(255,255,255,.06), transparent 60%);
  pointer-events:none;
}
.divCard:hover{
  transform: translateY(-2px);
  border-color: rgba(225,6,0,.30);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
}

.divName{
  position:relative;
  font-weight:900;
  letter-spacing:2px;
  font-size:34px;
}
.divSub{
  position:relative;
  margin-top:8px;
  color: rgba(255,255,255,.65);
  letter-spacing:.5px;
  font-weight:700;
  font-size:13px;
}

/* TOP ROW COLORS (come immagine) */
.divCard--legend{
  background: linear-gradient(180deg, rgba(212,168,0,.92), rgba(212,168,0,.66));
  border-color: rgba(212,168,0,.55);
}
.divCard--legend .divName{ color:#0b0b0b; }
.divCard--legend .divSub{ color: rgba(0,0,0,.70); }

.divCard--pro{
  background: linear-gradient(180deg, rgba(190,190,190,.92), rgba(190,190,190,.66));
  border-color: rgba(190,190,190,.55);
}
.divCard--pro .divName{ color:#0b0b0b; }
.divCard--pro .divSub{ color: rgba(0,0,0,.70); }

.divCard--s{
  background: linear-gradient(180deg, rgba(170,108,40,.92), rgba(170,108,40,.66));
  border-color: rgba(170,108,40,.55);
}
.divCard--s .divName{ color:#0b0b0b; }
.divCard--s .divSub{ color: rgba(0,0,0,.75); }

.divNote{
  margin-top:14px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.72);
  line-height:1.6;
}

/* FOOTER */
.footer{
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
@media (max-width: 700px){
  .footer__inner{ flex-direction:column; align-items:flex-start; }
}
.fBrand{
  font-weight:900;
  letter-spacing:1px;
}
.fSmall{
  color: rgba(255,255,255,.60);
  margin-top:4px;
  font-size:12px;
}
