/* MESS O' PEDALS – UNIQUE THEME
   Dark workbench + neon lab vibe
*/

@font-face {
  font-family: "Chakra Petch";
  src: url("https://onionmadder.com/ChakraPetch-Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg-main: #050308;
  --bg-panel: #0e0a14;
  --bg-shell: radial-gradient(circle at top left, #28143e 0, #09040f 40%, #050308 100%);
  --accent-pink: #ff3ca6;
  --accent-lime: #9aff2a;
  --accent-cyan: #35f5ff;
  --text-main: #f9f4ff;
  --text-subtle: #b8a6d5;
  --border-soft: rgba(255, 255, 255, 0.16);
  --radius-shell: 1.6rem;
  --radius-panel: 1.25rem;
  --glow-soft: 0 0 18px rgba(255, 60, 166, 0.35),
               0 0 26px rgba(53, 245, 255, 0.25);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Chakra Petch", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Subtle background grid / traces */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  mix-blend-mode: soft-light;
  z-index: -2;
}

/* Header / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: radial-gradient(circle at top, #241534 0, #050308 55%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.75),
    0 0 16px rgba(255, 60, 166, 0.35);
  backdrop-filter: blur(12px);
  padding: 0.6rem 1rem;
}

.site-header .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header .brand a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  color: var(--accent-lime);
  text-shadow: 0 0 8px var(--accent-lime);
  box-shadow:
    0 0 8px rgba(154, 255, 42, 0.5),
    0 0 12px rgba(53, 245, 255, 0.35);
}

/* nav structure */

.site-nav {
  margin-top: 0.5rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-cyan));
  box-shadow: 0 0 10px rgba(255, 60, 166, 0.7);
  transition: width 0.18s ease-out;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-cyan);
}

/* Hamburger (mobile) */

.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text-main);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Layout */

.page-main {
  flex: 1;
  padding: 1.75rem 1rem 2.5rem;
  display: flex;
  justify-content: center;
}

.wrapper {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.pedal-shell {
  margin: 0 auto;
  max-width: 980px;
  border-radius: var(--radius-shell);
  padding: 2.5rem 2.2rem;
  background: var(--bg-shell);
  border: 1px solid var(--border-soft);
  box-shadow: var(--glow-soft);
  position: relative;
  overflow: hidden;
}

/* Decorative “traces” on shell */

.pedal-shell::before,
.pedal-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.3;
  mix-blend-mode: screen;
  pointer-events: none;
}

.pedal-shell::before {
  width: 140%;
  height: 2px;
  top: 12%;
  left: -20%;
  background: linear-gradient(
    90deg,
    transparent 0,
    var(--accent-cyan) 30%,
    var(--accent-pink) 70%,
    transparent 100%
  );
}

.pedal-shell::after {
  width: 90%;
  height: 2px;
  bottom: 14%;
  left: 5%;
  background: linear-gradient(
    90deg,
    transparent 0,
    var(--accent-lime) 50%,
    transparent 100%
  );
}

/* Panels / sections */

#main {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr);
  gap: 1.8rem;
}

.panel {
  background: radial-gradient(circle at top left, #241632 0, #0b0714 55%, #06030a 100%);
  border-radius: var(--radius-panel);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow:
    0 0 18px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(53, 245, 255, 0.18);
  position: relative;
}

/* Little “LED” indicators on panels */

.panel::before {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent-lime) 0, #050308 70%);
  box-shadow: 0 0 10px rgba(154, 255, 42, 0.9);
  opacity: 0.75;
}

/* Headings / typography */

.page-title {
  font-size: 2.1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1.4rem;
  color: var(--accent-cyan);
  text-shadow:
    0 0 12px rgba(53, 245, 255, 0.9),
    0 0 18px rgba(255, 60, 166, 0.55);
  line-height: 1.3;
}

.page-title span {
  color: var(--accent-pink);
  display: block;
  font-size: 0.95em;
}

.panel h2 {
  font-size: 1.35rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  color: var(--accent-pink);
  text-shadow: 0 0 8px rgba(255, 60, 166, 0.8);
}

p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-main);
}

.subtle-link {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-subtle);
}

strong {
  font-weight: 600;
}

em {
  font-style: normal;
  color: var(--accent-cyan);
}

/* Links */

a {
  color: var(--accent-cyan);
  text-decoration: none;
}

a:hover {
  text-shadow:
    0 0 8px rgba(53, 245, 255, 0.9),
    0 0 14px rgba(255, 60, 166, 0.65);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 1.25rem 1.4rem;
  background: radial-gradient(circle at bottom, #1e1130 0, #050308 60%);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.site-footer a {
  color: var(--accent-pink);
}

/* Buttons (if you add any later) */

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle at 0 0, var(--accent-pink), #050308);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow:
    0 0 14px rgba(255, 60, 166, 0.75),
    0 0 12px rgba(53, 245, 255, 0.45);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px) scale(1.02);
  filter: brightness(1.08);
  box-shadow:
    0 0 18px rgba(53, 245, 255, 0.95),
    0 0 22px rgba(255, 60, 166, 0.85);
}

.button:active,
button:active {
  transform: translateY(1px) scale(0.98);
}

/* Responsive tweaks */

@media (max-width: 840px) {
  .site-header {
    padding: 0.6rem 0.9rem;
  }

  .site-header .brand {
    flex-direction: row;
  }

  .site-nav {
    margin-top: 0.4rem;
  }

  .site-nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .pedal-shell {
    padding: 2.1rem 1.5rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.5rem 0.9rem 0.55rem;
  }

  .site-header .brand {
    justify-content: space-between;
    align-items: center;
  }

  .site-nav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.18s ease-out;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.4rem 0 0.3rem;
  }

  .hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 200px;
  }

  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .page-main {
    padding: 1.4rem 0.85rem 2rem;
  }

  .pedal-shell {
    padding: 1.8rem 1.2rem;
    border-radius: 1.3rem;
  }

  .panel {
    padding: 1.35rem 1.2rem 1.5rem;
  }

  .page-title {
    font-size: 1.7rem;
  }
}
