:root{
  --bg:#0b0c10;
  --bg2:#0f1118;
  --panel:#121521;
  --line:rgba(255,255,255,.10);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.68);

  --gold:#d6b15e;
  --silver:#c7ced6;
  --red:#ff2d2d;
  --neon:rgba(255,45,45,.55);

  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 18px;
  --radius2: 26px;
  --max: 1160px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(1200px 800px at 70% -10%, rgba(214,177,94,.14), transparent 55%),
              radial-gradient(900px 600px at 20% 0%, rgba(255,45,45,.12), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}

img{max-width:100%; display:block}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.skip{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:10px;
}
.skip:focus{left:10px; z-index:9999}

.header{
  position:sticky; top:0; z-index:50;
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(12px);
  background: rgba(11,12,16,.62);
}
.header__row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; gap:12px; align-items:center;
  text-decoration:none;
}
.brand__mark{
  width:34px; height:34px; border-radius:12px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 55%),
              linear-gradient(135deg, rgba(214,177,94,.9), rgba(255,45,45,.75));
  box-shadow: 0 0 28px rgba(255,45,45,.22);
  border:1px solid rgba(255,255,255,.12);
}
.brand__text strong{display:block; letter-spacing:.08em}
.brand__text em{
  display:block; font-style:normal;
  color:var(--muted); font-size:12px; letter-spacing:.12em; text-transform:uppercase;
}

.nav{display:flex; gap:18px; align-items:center}
.nav a{
  text-decoration:none;
  color: rgba(255,255,255,.82);
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
}
.nav a:hover{background: rgba(255,255,255,.06)}
.nav__cta{
  border:1px solid rgba(255,45,45,.28);
  background: linear-gradient(180deg, rgba(255,45,45,.14), rgba(255,45,45,.06));
  box-shadow: 0 0 0 1px rgba(214,177,94,.12) inset;
}

.burger{
  display:none;
  width:46px; height:42px;
  border-radius:14px;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  cursor:pointer;
}
.burger span{
  display:block; height:2px; width:22px; margin:6px auto;
  background: rgba(255,255,255,.88);
  border-radius:99px;
}

.hero{position:relative; overflow:hidden}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 65% 35%, rgba(255,45,45,.18), transparent 60%),
    radial-gradient(700px 420px at 45% 5%, rgba(214,177,94,.16), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  pointer-events:none;
}
.hero__grid{
  position:relative;
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap:26px;
  padding:62px 0 30px;
  align-items:center;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  color: var(--silver);
  letter-spacing:.12em; text-transform:uppercase;
  font-size:12px;
}
.kicker:before{
  content:"";
  width:30px; height:1px;
  background: linear-gradient(90deg, var(--gold), rgba(255,45,45,.5));
}
.hero h1{
  margin:12px 0 12px;
  font-size:44px; line-height:1.06;
}
.lead{
  margin:0 0 18px;
  color: var(--muted);
  font-size:16px; line-height:1.6;
  max-width: 56ch;
}

.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
}
.btn--primary{
  border-color: rgba(255,45,45,.28);
  background: radial-gradient(circle at 20% 20%, rgba(255,45,45,.26), transparent 48%),
              linear-gradient(135deg, rgba(214,177,94,.26), rgba(255,45,45,.18));
  box-shadow: 0 0 0 1px rgba(214,177,94,.14) inset, 0 22px 60px rgba(255,45,45,.10);
}
.btn--ghost{
  background: rgba(255,255,255,.04);
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}

.hero__badges{
  display:grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.badge{
  display:flex; gap:10px;
  padding:12px 12px;
  border-radius:16px;
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
}
.badge__dot{
  width:10px; height:10px; border-radius:99px;
  background: var(--red);
  box-shadow: 0 0 18px var(--neon);
  margin-top:4px;
}
.badge strong{display:block; font-size:13px}
.badge small{display:block; color:var(--muted); font-size:12px; margin-top:2px}

.hero__visual{
  position:relative;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.03);
}
.hero__visual img{
  width:100%;
  height:520px;
  object-fit:cover;
  filter: contrast(1.05) saturate(1.05);
}
.hero__glow{
  position:absolute; inset:-40px;
  background: radial-gradient(closest-side at 60% 60%, rgba(255,45,45,.22), transparent 60%);
  pointer-events:none;
}
.hero__spec{
  position:absolute; left:16px; bottom:16px;
  display:flex; gap:10px; flex-wrap:wrap;
}
.hero__spec span{
  font-size:12px; color: rgba(255,255,255,.84);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(12,14,20,.55);
  backdrop-filter: blur(10px);
}

.section{padding:56px 0}
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 8px; font-size:28px; letter-spacing:.01em}
.section__head p{margin:0; color:var(--muted); max-width: 70ch; line-height:1.6}

.cards{display:grid; gap:14px}
.cards--4{grid-template-columns: repeat(4, minmax(0,1fr))}
.card{
  padding:18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset;
}
.card--link{text-decoration:none}
.card--link:hover{
  border-color: rgba(255,45,45,.22);
  box-shadow: 0 0 0 1px rgba(214,177,94,.10) inset, 0 30px 70px rgba(0,0,0,.35);
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0 0 12px; color:var(--muted); line-height:1.6}
.card__meta{color: rgba(214,177,94,.92); font-size:13px}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns: repeat(3, minmax(0,1fr))}
.grid--2{grid-template-columns: repeat(2, minmax(0,1fr))}

.tile{
  padding:18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  border:1px solid var(--line);
}
.tile h3{margin:0 0 10px}
.list{margin:0; padding-left:18px; color:var(--muted); line-height:1.75}
.textlink{display:inline-block; margin-top:12px; color:rgba(255,255,255,.88); text-decoration:none}
.textlink:hover{color:var(--gold)}

.panel{
  padding:22px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.panel--neon{
  background:
    radial-gradient(600px 320px at 20% 20%, rgba(255,45,45,.16), transparent 62%),
    radial-gradient(700px 360px at 80% 35%, rgba(214,177,94,.12), transparent 62%),
    rgba(255,255,255,.03);
}
.steps{display:grid; gap:12px; margin:14px 0}
.step{
  display:grid; grid-template-columns: 42px 1fr; gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background: rgba(12,14,20,.55);
}
.step span{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:16px;
  color: rgba(0,0,0,.92);
  background: linear-gradient(135deg, rgba(214,177,94,.95), rgba(255,45,45,.65));
  font-weight:800;
}
.step p{margin:0; color:var(--muted); line-height:1.6}
.step p strong{color: rgba(255,255,255,.92)}

.cta{
  margin-top:18px;
  padding:18px;
  border-radius: var(--radius2);
  border:1px solid rgba(255,45,45,.22);
  background: radial-gradient(circle at 20% 20%, rgba(255,45,45,.18), transparent 55%),
              rgba(255,255,255,.03);
  display:flex; align-items:center; justify-content:space-between; gap:14px;
}
.cta__text h3{margin:0 0 6px}
.cta__text p{margin:0; color:var(--muted); line-height:1.6}

.accordion{display:grid; gap:10px}
.acc{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  overflow:hidden;
}
.acc summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
  list-style:none;
}
.acc summary::-webkit-details-marker{display:none}
.acc__body{
  padding:0 16px 14px;
  color:var(--muted);
  line-height:1.75;
}

.footer{
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.25);
  padding:34px 0;
}
.footer__grid{
  display:grid; gap:18px;
  grid-template-columns: 1.4fr .8fr .8fr;
}
.footer h4{margin:0 0 10px}
.footer__links{margin:0; padding:0; list-style:none; display:grid; gap:8px}
.footer__links a{text-decoration:none; color: rgba(255,255,255,.82)}
.footer__links a:hover{color: var(--gold)}
.muted{color:var(--muted)}
.small{font-size:12px}

.cookie{
  position:fixed; left:0; right:0; bottom:14px; z-index:60;
}
.cookie__inner{
  max-width:var(--max); margin:0 auto; padding:0 18px;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(12,14,20,.78);
  backdrop-filter: blur(14px);
  padding:14px 14px;
  box-shadow: var(--shadow);
}
.cookie__inner p{margin:0; color:var(--muted); line-height:1.5}
.cookie__inner a{color: rgba(214,177,94,.92)}
.cookie__actions{display:flex; gap:10px; flex-wrap:wrap}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; padding-top:46px}
  .hero h1{font-size:36px}
  .hero__badges{grid-template-columns: 1fr}
  .cards--4{grid-template-columns: 1fr 1fr}
  .grid--3{grid-template-columns: 1fr}
  .grid--2{grid-template-columns: 1fr}
  .footer__grid{grid-template-columns: 1fr}
  .cta{flex-direction:column; align-items:flex-start}
}
@media (max-width: 760px){
  .nav{
    position:fixed; top:70px; left:12px; right:12px;
    border-radius: 20px;
    padding:12px;
    background: rgba(12,14,20,.92);
    border:1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow);
    display:none;
    flex-direction:column;
    align-items:stretch;
  }
  .nav a{padding:12px 12px}
  .burger{display:block}
  .cards--4{grid-template-columns: 1fr}
}
.nav.is-open{display:flex}

/* =========================
   Premium Form Styles
   ========================= */

.form{
  display:grid;
  gap:14px;
}

.field{
  position:relative;
  display:grid;
  gap:8px;
}

.field label{
  font-weight:800;
  letter-spacing:.02em;
  font-size:13px;
  color: rgba(255,255,255,.88);
}

.field input,
.field textarea{
  width:100%;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(120px 80px at 18% 18%, rgba(214,177,94,.10), transparent 55%),
    radial-gradient(130px 90px at 85% 30%, rgba(255,45,45,.08), transparent 60%),
    rgba(255,255,255,.03);
  color: rgba(255,255,255,.92);
  outline:none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease, background .18s ease;
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 18px 45px rgba(0,0,0,.22);
}

.field textarea{
  resize: vertical;
  min-height: 130px;
  line-height:1.7;
}

.field input::placeholder,
.field textarea::placeholder{
  color: rgba(255,255,255,.45);
}

.field input:hover,
.field textarea:hover{
  border-color: rgba(214,177,94,.22);
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(214,177,94,.42);
  box-shadow:
    0 0 0 1px rgba(214,177,94,.18) inset,
    0 0 0 4px rgba(214,177,94,.10),
    0 20px 60px rgba(255,45,45,.08);
  background:
    radial-gradient(140px 90px at 18% 18%, rgba(214,177,94,.14), transparent 55%),
    radial-gradient(140px 90px at 85% 30%, rgba(255,45,45,.10), transparent 60%),
    rgba(255,255,255,.035);
}

.field:focus-within{
  transform: translateY(-1px);
}

/* Hint text */
.hint{
  display:block;
  margin-top:0;
  color: rgba(255,255,255,.62);
  font-size:12px;
  line-height:1.55;
}

/* Checkbox block */
.check{
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(240px 120px at 20% 20%, rgba(255,45,45,.08), transparent 65%),
    rgba(12,14,20,.55);
  box-shadow:
    0 1px 0 rgba(255,255,255,.05) inset,
    0 20px 60px rgba(0,0,0,.22);
}

.check label{
  display:flex;
  gap:10px;
  align-items:flex-start;
  font-size:13px;
  color: rgba(255,255,255,.78);
  line-height:1.55;
}

.check a{
  color: rgba(214,177,94,.92);
  text-decoration:none;
  border-bottom: 1px solid rgba(214,177,94,.35);
}
.check a:hover{
  color: rgba(255,255,255,.92);
  border-bottom-color: rgba(255,45,45,.35);
}

/* Custom checkbox (без псевдо-елементів складної магії, але виглядає преміально) */
.check input[type="checkbox"]{
  width:18px;
  height:18px;
  margin-top:2px;
  accent-color: var(--red);
}

/* Actions row */
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:4px;
}

/* Error state (JS додає .is-invalid) */
.is-invalid{
  border-color: rgba(255,45,45,.62) !important;
  box-shadow:
    0 0 0 1px rgba(255,45,45,.22) inset,
    0 0 0 4px rgba(255,45,45,.10),
    0 18px 55px rgba(255,45,45,.08) !important;
}

/* Optional: small inline helper for required asterisk */
.field label .req{
  color: rgba(255,45,45,.95);
  margin-left:4px;
}

/* Make form feel “premium” inside panel */
.panel .form{
  padding-top: 2px;
}

/* Responsive */
@media (max-width: 760px){
  .field input,
  .field textarea{
    padding:13px 12px;
    border-radius:14px;
  }
  .check{
    border-radius:16px;
  }
}

/* =========================
   Premium Map Section Styles
   ========================= */

.panel.map{
  position:relative;
  overflow:hidden;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(214,177,94,.10), transparent 60%),
    radial-gradient(900px 420px at 85% 25%, rgba(255,45,45,.10), transparent 60%),
    rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}

/* Subtle neon strokes */
.panel.map::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--radius2) + 2px);
  pointer-events:none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(214,177,94,.22) 35%, rgba(255,45,45,.18) 65%, transparent 100%);
  filter: blur(16px);
  opacity:.55;
}

/* Header row above the map */
.map__top{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(12,14,20,.65), rgba(12,14,20,.20));
  backdrop-filter: blur(12px);
}

.map__top strong{
  letter-spacing:.01em;
  color: rgba(255,255,255,.92);
}

.map__top .muted.small{
  margin-top:4px;
  max-width: 70ch;
  line-height: 1.55;
}

/* Make the reload button feel like a control */
.map__top .btn{
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
}
.map__top .btn:hover{
  border-color: rgba(214,177,94,.26);
  box-shadow:
    0 0 0 1px rgba(214,177,94,.10) inset,
    0 18px 55px rgba(0,0,0,.35);
}

/* Map slot */
.map__slot{
  position:relative;
  border-radius: 0 0 var(--radius2) var(--radius2);
  overflow:hidden;
  min-height: 420px;
  background:
    radial-gradient(380px 220px at 20% 30%, rgba(255,45,45,.10), transparent 60%),
    radial-gradient(420px 260px at 80% 40%, rgba(214,177,94,.10), transparent 60%),
    rgba(12,14,20,.45);
}

/* Decorative grid lines (very subtle) */
.map__slot::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity:.10;
}

/* Neon corner accents */
.map__slot::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(260px 140px at 6% 10%, rgba(255,45,45,.18), transparent 60%),
    radial-gradient(280px 160px at 94% 18%, rgba(214,177,94,.16), transparent 60%);
  opacity:.8;
}

/* The iframe itself */
.map__slot iframe{
  position:relative;
  width:100%;
  height: 420px;
  border:0;
  display:block;
  filter: saturate(1.05) contrast(1.03);
}

/* Loading state (when empty, before iframe inserted) */
.map__slot:empty{
  display:grid;
  place-items:center;
}

.map__slot:empty::before{
  content:"Карта завантажується…";
  position:relative;
  z-index:2;
  font-weight:800;
  letter-spacing:.03em;
  color: rgba(255,255,255,.80);
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,14,20,.65);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  opacity: .95;
}

/* Optional: small icon dot near address */
.map__top > div > strong::after{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-left:10px;
  border-radius:99px;
  background: var(--red);
  box-shadow: 0 0 18px rgba(255,45,45,.55);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 760px){
  .map__top{
    flex-direction:column;
    align-items:flex-start;
    padding:14px 14px 12px;
  }
  .map__slot{
    min-height: 360px;
  }
  .map__slot iframe{
    height: 360px;
  }
}

/* =========================
   Premium Notice / Alert
   ========================= */

.notice{
  position:fixed;
  inset:0;
  z-index:80;
}

.notice[hidden]{display:none}

.notice__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.notice__card{
  position:relative;
  width:min(680px, calc(100% - 24px));
  margin: 10vh auto 0;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(214,177,94,.12), transparent 60%),
    radial-gradient(900px 420px at 85% 30%, rgba(255,45,45,.14), transparent 60%),
    rgba(12,14,20,.86);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;

  transform: translateY(14px) scale(.985);
  opacity:0;
  animation: noticeIn .22s ease forwards;
}

@keyframes noticeIn{
  to { transform: translateY(0) scale(1); opacity:1; }
}

.notice__card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--radius2) + 2px);
  pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(214,177,94,.25), rgba(255,45,45,.22), transparent);
  filter: blur(16px);
  opacity:.55;
}

.notice__top{
  position:relative;
  display:grid;
  grid-template-columns: 18px 1fr 42px;
  gap:14px;
  align-items:start;
  padding:18px 18px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}

.notice__badge{
  width:18px;
  height:18px;
  border-radius:6px;
  margin-top:4px;
  background: linear-gradient(135deg, rgba(214,177,94,.95), rgba(255,45,45,.75));
  box-shadow: 0 0 22px rgba(255,45,45,.18);
}

.notice__head h3{
  margin:0 0 4px;
  letter-spacing:.01em;
}

.notice__head p{
  margin:0;
}

.notice__x{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.88);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.notice__x:hover{
  border-color: rgba(214,177,94,.26);
  box-shadow: 0 0 0 1px rgba(214,177,94,.10) inset;
}

.notice__body{
  position:relative;
  padding:14px 18px 6px;
}

.notice__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.notice__item{
  padding:12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.notice__item strong{
  display:block;
  margin-bottom:8px;
  letter-spacing:.01em;
}
.notice__item p{margin:0; line-height:1.7}

.notice__actions{
  position:relative;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 18px 18px;
  border-top:1px solid rgba(255,255,255,.10);
}

/* Mobile */
@media (max-width: 760px){
  .notice__card{ margin-top: 8vh; }
  .notice__grid{ grid-template-columns: 1fr; }
}

/* =========================
   Premium Notice / Alert
   ========================= */

.notice{
  position:fixed;
  inset:0;
  z-index:80;
}

.notice[hidden]{display:none}

.notice__backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
}

.notice__card{
  position:relative;
  width:min(680px, calc(100% - 24px));
  margin: 10vh auto 0;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(214,177,94,.12), transparent 60%),
    radial-gradient(900px 420px at 85% 30%, rgba(255,45,45,.14), transparent 60%),
    rgba(12,14,20,.86);
  box-shadow: 0 30px 90px rgba(0,0,0,.65);
  overflow:hidden;

  transform: translateY(14px) scale(.985);
  opacity:0;
  animation: noticeIn .22s ease forwards;
}

@keyframes noticeIn{
  to { transform: translateY(0) scale(1); opacity:1; }
}

.notice__card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--radius2) + 2px);
  pointer-events:none;
  background: linear-gradient(90deg, transparent, rgba(214,177,94,.25), rgba(255,45,45,.22), transparent);
  filter: blur(16px);
  opacity:.55;
}

.notice__top{
  position:relative;
  display:grid;
  grid-template-columns: 18px 1fr 42px;
  gap:14px;
  align-items:start;
  padding:18px 18px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.04), transparent);
}

.notice__badge{
  width:18px;
  height:18px;
  border-radius:6px;
  margin-top:4px;
  background: linear-gradient(135deg, rgba(214,177,94,.95), rgba(255,45,45,.75));
  box-shadow: 0 0 22px rgba(255,45,45,.18);
}

.notice__head h3{
  margin:0 0 4px;
  letter-spacing:.01em;
}

.notice__head p{
  margin:0;
}

.notice__x{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.88);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.notice__x:hover{
  border-color: rgba(214,177,94,.26);
  box-shadow: 0 0 0 1px rgba(214,177,94,.10) inset;
}

.notice__body{
  position:relative;
  padding:14px 18px 6px;
}

.notice__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.notice__item{
  padding:12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}
.notice__item strong{
  display:block;
  margin-bottom:8px;
  letter-spacing:.01em;
}
.notice__item p{margin:0; line-height:1.7}

.notice__actions{
  position:relative;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  padding:12px 18px 18px;
  border-top:1px solid rgba(255,255,255,.10);
}

/* Mobile */
@media (max-width: 760px){
  .notice__card{ margin-top: 8vh; }
  .notice__grid{ grid-template-columns: 1fr; }
}

/* =========================
   Header Logo (Premium)
   ========================= */

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

/* Logo container */
.brand__logo{
  width:44px;
  height:44px;
  min-width:44px;
  border-radius:12px;

  display:grid;
  place-items:center;

  background:
    radial-gradient(circle at 30% 25%, rgba(214,177,94,.35), transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(255,45,45,.25), transparent 60%),
    rgba(12,14,20,.9);

  border:1px solid rgba(255,255,255,.18);

  box-shadow:
    0 0 0 1px rgba(214,177,94,.10) inset,
    0 12px 32px rgba(0,0,0,.45);

  overflow:hidden;
}

/* Logo image */
.brand__logo img{
  width:70%;
  height:70%;
  object-fit:contain;
  filter:
    drop-shadow(0 0 6px rgba(214,177,94,.35))
    contrast(1.05);
  transition: transform .25s ease, filter .25s ease;
}

/* Hover effect */
.brand:hover .brand__logo img{
  transform: scale(1.08);
  filter:
    drop-shadow(0 0 10px rgba(214,177,94,.55))
    drop-shadow(0 0 16px rgba(255,45,45,.25));
}

/* Text block */
.brand__text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand__text strong{
  font-size:18px;
  letter-spacing:.08em;
  font-weight:900;
}

.brand__text em{
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color: rgba(214,177,94,.9);
  font-style:normal;
}

/* Mobile adjust */
@media (max-width: 720px){
  .brand__logo{
    width:38px;
    height:38px;
    min-width:38px;
  }

  .brand__text strong{
    font-size:16px;
  }

  .brand__text em{
    font-size:10px;
  }
}

/* =========================
   Footer Logo (Compact)
   ========================= */

.brand--footer{
  align-items:center;
  gap:12px;
}

/* smaller logo in footer */
.brand__logo--footer{
  width:40px;
  height:40px;
  min-width:40px;
  border-radius:14px;
  box-shadow:
    0 0 0 1px rgba(214,177,94,.08) inset,
    0 10px 28px rgba(0,0,0,.38);
  opacity:.96;
}

.brand__logo--footer img{
  width:72%;
  height:72%;
  filter:
    drop-shadow(0 0 6px rgba(214,177,94,.25))
    contrast(1.05);
}

/* footer brand text tweaks */
.footer .brand__text strong{
  font-size:16px;
  letter-spacing:.09em;
}

.footer .brand__text em{
  font-size:10px;
  letter-spacing:.26em;
  color: rgba(214,177,94,.85);
}

/* footer description spacing */
.footer .muted{
  margin-top:10px;
  max-width: 52ch;
  line-height:1.7;
}

/* responsive */
@media (max-width: 760px){
  .brand__logo--footer{
    width:38px;
    height:38px;
    min-width:38px;
  }
}
