  :root {
    --primary: #ffb347;
    --secondary: #ffbf64;
    --primary-dark: #b25e00;
    --on-primary: #3a2410;
    --page: #efefef;
    --card: #ffffff;
    --text: #373737;
    --muted: #6b6b6b;
    --footer1: #d0d0d0;
    --footer2: #c4c4c4;
    --header-image: url("../images/loddysmp_halloween.png");
  }
  body.dark {
    --page: #1b1b1b; --card: #272727; --text: #e2e2e2; --muted: #b5b5b5;
    --primary-dark: #ffbf64; --footer1: #333333; --footer2: #404040;
  }
  * { box-sizing: border-box; }
  body { margin: 0; font-family: "Montserrat", system-ui, sans-serif; font-size: 15px; line-height: 1.6; color: var(--text); background: var(--page); }
  a { color: var(--primary-dark); }
  .container { width: min(100% - 2rem, 1140px); margin-inline: auto; }

  .header { position: relative; overflow: hidden; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.45);
    background: linear-gradient(135deg, #ffb347b3, #ffbf64b3), var(--header-image) center / cover no-repeat, linear-gradient(160deg, #2b1a08, #5a3510); }
  #particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .topbar { position: relative; background: rgba(255,255,255,.2); box-shadow: 0 3px 3px rgba(0,0,0,.05); }
  .topbar .container { display: flex; align-items: center; gap: 1.5rem; padding-block: 1.1rem; }
  .topbar ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
  .topbar a { color: #fff; font-weight: 700; font-size: .8rem; text-transform: uppercase; text-decoration: none; }
  .topbar a:hover, .topbar a:focus-visible { text-decoration: underline; }
  .server { margin-left: auto; text-align: right; cursor: pointer; background: none; border: 0; color: inherit; font: inherit; text-shadow: inherit; padding: 0; }
  .server .small { display: block; font-size: .7rem; line-height: 1.2; }
  .server .ip { display: block; font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
  .server:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
  .logo { position: relative; text-align: center; padding: 3rem 1rem 5.5rem; }
  .logo a { text-decoration: none; color: #fff; display: inline-block; animation: pulse 4s ease-in-out infinite; }
  .logo strong { font-size: clamp(2.6rem, 9vw, 4.5rem); font-weight: 700; letter-spacing: .02em; }
  @keyframes pulse { 50% { transform: scale(1.08); } }

  .store-content { margin-top: -2.8rem; position: relative; padding-bottom: 3rem; }
  .layout { display: grid; grid-template-columns: 1fr; gap: 1rem; }
  @media (min-width: 992px) { .layout { grid-template-columns: 1fr 3fr; align-items: start; } }
  .card { background: var(--card); border-radius: 3px; box-shadow: 0 3px 3px rgba(0,0,0,.05); padding: 1.1rem 1.25rem; margin-bottom: 12px; }
  .card h2 { margin: 0 0 1rem; font-size: 1.1rem; text-align: center; color: var(--primary-dark); position: relative; padding-bottom: .6rem; }
  .card h2::after { content: ""; position: absolute; left: calc(50% - 18px); bottom: 0; width: 36px; height: 4px; border-radius: 3px; background: var(--primary); }
  .card p { margin: 0 0 .8rem; }

  .nav { list-style: none; margin: 0 0 12px; padding: 0; }
  .nav li { background: var(--card); border-radius: 3px; margin-bottom: 12px; box-shadow: 0 3px 3px rgba(0,0,0,.05); border-left: 4px solid transparent; transition: border-color .15s; }
  .nav li:hover, .nav li:focus-within { border-left-color: var(--primary); }
  .nav a { display: block; padding: .8rem 1rem; color: var(--text); font-weight: 700; text-decoration: none; }
  .nav a:focus-visible { outline: 2px solid var(--primary-dark); outline-offset: -2px; }
  .stat { display: flex; align-items: center; gap: .8rem; }
  .stat .dot { width: .8rem; height: .8rem; border-radius: 50%; background: #999; flex: none; }
  .stat .dot.on { background: #4ec344; }
  .stat .dot.off { background: #db3434; }
  .stat b { display: block; font-size: 1.6rem; line-height: 1.1; }
  .stat span { font-size: .85rem; color: var(--muted); }

  .btn { display: inline-block; border: 0; border-radius: 4px; cursor: pointer; background: var(--primary); color: var(--on-primary); font: 700 .95rem "Montserrat", system-ui, sans-serif; padding: .7rem 1.3rem; text-decoration: none; }
  .btn:hover, .btn:focus-visible { background: var(--secondary); }
  ol.steps { padding-left: 1.2rem; margin: 0; }
  ol.steps li { margin-bottom: .6rem; }
  code { background: rgba(255,179,71,.25); padding: .1rem .4rem; border-radius: 3px; }

  .utils { background: var(--footer1); }
  .utils .container { display: grid; gap: 2rem; padding-block: 2rem; }
  @media (min-width: 768px) { .utils .container { grid-template-columns: 1fr 2fr 1fr; } }
  .utils .title { font-weight: 700; margin-bottom: 1rem; position: relative; padding-bottom: .5rem; }
  .utils .title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 4px; border-radius: 4px; background: var(--primary); }
  .utils ul { list-style: none; padding: 0; margin: 0; }
  .utils li { padding: .5rem 0; border-bottom: 1px dashed #7b7b7b; }
  .utils li a { color: var(--text); }
  .utils .brand { font-weight: 700; font-size: 1.6rem; }
  .copyright { background: var(--footer2); font-size: .75rem; font-weight: 700; color: var(--muted); }
  .copyright .container { padding-block: .9rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

  .theme { position: fixed; left: 0; top: 50%; z-index: 20; background: var(--card); color: var(--text); border: 0; padding: .7rem .8rem; cursor: pointer; border-radius: 0 8px 8px 0; box-shadow: 0 3px 3px rgba(0,0,0,.1); font: 700 .8rem "Montserrat", system-ui, sans-serif; }
  @media (max-width: 991px) { .theme { top: auto; bottom: 12px; } }
  .theme:focus-visible { outline: 2px solid var(--primary-dark); }
  .toast { position: fixed; left: 50%; bottom: 1.5rem; z-index: 30; transform: translate(-50%, 150%); transition: transform .25s; background: #2b1a08; color: #fff; padding: .8rem 1.3rem; border-radius: 6px; border-left: 4px solid var(--primary); max-width: calc(100% - 2rem); }
  .toast.show { transform: translate(-50%, 0); }
  @media (prefers-reduced-motion: reduce) { .logo a { animation: none; } .toast, .nav li { transition: none; } }