/* Theme Variables */
html {
  scroll-behavior: smooth;
}

:root {
  --hero-primary: #2563EB;
  --hero-accent: #06B6D4;
  --hero-bg-dark: #0F172A;
  --hero-text-dark: #0F172A;
  --hero-text-light: #E2E8F0;
}

:root {
  --bg: #f5f7fa;
  --fg: #222;
  --link: #007acc;
  --btn-bg: #007acc;
  --btn-hover: #005fa3;
  --card-bg: #f9f9f9;
  --section-bg: #eef1f5;
  --border: #ddd;
}

[data-theme='dark'] {
  --bg: #121212;
  --fg: #e0e0e0;
  --link: #66b2ff;
  --btn-bg: #1e88e5;
  --btn-hover: #1565c0;
  --card-bg: #1e1e1e;
  --section-bg: #181818;
  --border: #333;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

a {
  color: var(--link);
  text-decoration: none;
}

#logo-img {
  height: 35px;
  transition: height 0.2s ease;
}

@media (max-width: 768px) {
  #logo-img {
    height: 22px;
  }
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem;
}

header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--bg);
  z-index: 1100;
  border-bottom: 1px solid var(--border);
}

.site-header .nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20rem;
  position: relative;
}

/* Tablet */
@media (max-width: 1500px) {
 .site-header .nav-container {
    padding: 1rem 4rem;
  }
}

/* Mobil */
@media (max-width: 768px) {
 .site-header .nav-container {
    padding: 1rem 2rem;
  }
}

/* Hamburger */
#menu-toggle {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--link);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center center;
  position: absolute;
}

#menu-toggle .bar:nth-child(1) {
  transform: translateY(-6px);
}
#menu-toggle .bar:nth-child(2) {
  transform: translateY(0);
}
#menu-toggle .bar:nth-child(3) {
  transform: translateY(6px);
}
#menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
}

#menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
}
/* Side panel */
#mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 260px;
  height: 100vh;
  background: var(--bg);
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#mobile-nav.open {
  right: 0;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#overlay.show {
  opacity: 1;
  visibility: visible;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.nav-links a {
  color: var(--link);
  text-decoration: none;
  font-size: 1.1rem;
  width: 100%;
  display: block;
  padding: 0.5rem 0;
}

#theme-toggle, #theme-toggle-mobile {
  margin-top: auto;
  align-self: flex-end;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--link);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 769px) {
  #mobile-nav {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #menu-toggle {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

}

.hero {
  background: var(--section-bg);
  padding: 4rem 0;
  padding-top: 160px; /* or whatever height your header is */
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--btn-bg);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

.btn:hover {
  background: var(--btn-hover);
}

.script-buttons {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}
.btn-secondary {
  padding: 0.6rem 1.2rem;
  background: transparent;
  border: 2px solid var(--btn-bg);
  color: var(--btn-bg);
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--btn-bg);
  color: white;
}

.scripts {
  background: var(--bg);
  padding: 3rem 0;
}

.script-item {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.script-item h3 {
  margin-bottom: 0.5rem;
}

.script-item ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.25rem;
}

.script-item .price {
  font-weight: bold;
  font-size: 1.1rem;
}

.contact {
  padding: 3rem 0;
  background: var(--section-bg);
  text-align: center;
}
.side-panel .nav-links {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.side-panel .nav-links li {
  width: 100%;
}

.side-panel .nav-links a {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.05rem;
  color: var(--fg);
  background-color: transparent;
  border-radius: 8px;
  transition: background 0.25s ease;
}

.side-panel .nav-links a:hover {
  background-color: var(--section-bg);
}

#theme-toggle-mobile {
  margin-top: auto;
  padding: 0.75rem 1rem;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--link);
  align-self: flex-start;
  transition: color 0.2s;
}

#theme-toggle-mobile:hover {
  color: var(--btn-hover);
}
footer {
  background: var(--bg);
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--fg);
}
/* Fix alignment of nav links */
#mobile-nav .nav-links {
  padding: 0;
   margin-top: 3rem; /* push the links downward */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

#mobile-nav .nav-links a {
  padding: 0.75rem 1.5rem;
  width: 100%;
  font-size: 1.1rem;
  color: var(--link);
  border-radius: 6px;
  transition: background 0.2s ease;
}

#mobile-nav .nav-links a:hover {
  background: var(--section-bg);
}

/* Fix theme toggle button */
#theme-toggle-mobile {
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  font-size: 1.2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--link);
  display: inline-block;
}

/* Add spacing inside the panel */
.side-panel {
  padding: 2rem 1.5rem;
  padding-top: 4rem;
}

/* Fix the close (X) icon position */
#menu-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1100;
}
/* ----- Desktop menu fix ----- */
@media (min-width: 769px) {
  .desktop-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    position: relative;
    right: 0;
  }

  .desktop-nav .nav-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    margin: 0;
  }

  .desktop-nav .nav-links li {
    list-style: none;
  }

  .desktop-nav .nav-links a {
    padding: 0.25rem 0;
    color: var(--link);
    font-size: 1rem;
    border-radius: 4px;
    transition: background 0.2s ease;
  }

  .desktop-nav .nav-links a:hover {
    background: var(--section-bg);
  }

  #theme-toggle {
    margin-left: 1rem;
    font-size: 1.2rem;
    background: transparent;
    line-height: 2;
    border: none;
    cursor: pointer;
    color: var(--link);
  }
}
@media (min-width: 769px) {
  #menu-toggle {
    display: none !important;
  }
}
/* Footer Base */
.site-footer {
  background: var(--section-bg);
  padding: 2rem 1rem;
  color: var(--fg);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-left,
.footer-right {
  flex: 1 1 300px;
}

.footer-left .footer-logo img {
  height: 25px;
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--fg);
}
/* Copy Notice */
.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--fg);
}
.footer-copy.centered {
  text-align: center;
  font-size: 0.875rem;
  color: var(--fg);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}
.footer-right {
  flex: 1 1 300px;
  text-align: right;
}

/* Tablet + Mobil */
@media (max-width: 1024px) {
  .footer-right {
    text-align: left;
  }
}

.footer-right h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.footer-right p {
  margin-bottom: 1rem;
}

.footer-right .btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: var(--btn-bg);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.footer-right .btn:hover {
  background: var(--btn-hover);
}

/* Responsive Fix */
@media (max-width: 768px) {
  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0; /* zero out space between sections */
    margin-bottom: 1rem;
  }

  .footer-left {
    margin-bottom: -10rem; /* reduce space below logo */
  }

  .footer-logo img {
    height: 32px;
    margin: 0;
    padding: 0;
    display: block;
  }

  .footer-right h3 {
    margin-top: 0; /* remove extra top margin */
  }

  .footer-right {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}
.btc-box {
  max-width: 600px;
  margin: 5rem auto;
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
}

.btc-box img {
  margin: 1.5rem 0;
}

.btc-address {
  font-family: monospace;
  word-break: break-all;
}

/* ===== Scripts "Coming soon" + Quality section ===== */

.script-soon {
  position: relative;
  opacity: 0.88;
}

.script-soon::after {
  content: "COMING SOON";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--fg);
  background: var(--section-bg);
  border: 1px solid var(--border);
}

.script-soon .btn {
  background: transparent;
  border: 2px solid var(--btn-bg);
  color: var(--btn-bg);
}

.script-soon .btn:hover {
  background: var(--btn-bg);
  color: #fff;
}

.script-soon .btn-secondary {
  opacity: 0.9;
}

/* Make buttons wrap nicely on small screens */
@media (max-width: 520px) {
  .script-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .script-buttons a {
    text-align: center;
    width: 100%;
  }
}

/* Quality section */
.quality {
  background: var(--section-bg);
  padding: 3.25rem 0;
}

.quality h2 {
  text-align: center;
  margin-bottom: 1.75rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quality-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.quality-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.quality-card p {
  opacity: 0.95;
}

@media (max-width: 900px) {
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

.shop {
  background: var(--bg);
  padding: 3rem 0;
}

.shop-head {
  text-align: center;
  margin-bottom: 2rem;
}

.shop-head h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.shop-head p {
  opacity: 0.9;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-media {
  position: relative;
  background: var(--section-bg);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
}

.product-badge.live {
  background: rgba(30,136,229,0.9);
}

.product-body {
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.product-body h3 {
  font-size: 1.2rem;
  line-height: 1.2;
}

.product-desc {
  opacity: 0.92;
}

.product-features {
  margin: 0;
  padding-left: 1.1rem;
}

.product-features li {
  margin: 0.25rem 0;
}

.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-weight: 700;
  font-size: 1.05rem;
}

.product-actions {
  display: flex;
  gap: 0.75rem;
}

.btn.disabled,
.btn-secondary.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.page {
  padding-top: 140px;
  padding-bottom: 64px;
}

.page-head {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.page-head h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.page-head p {
  opacity: 0.9;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  border-radius: 10px;
  outline: none;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 3px rgba(30,136,229,0.15);
}

.actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}

.notice {
  max-width: 760px;
  margin: 0 auto 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--section-bg);
}

.notice-success {
  border-color: rgba(40,167,69,0.35);
}

.notice-error {
  border-color: rgba(220,53,69,0.35);
}

@media (max-width: 768px) {
  .page {
    padding-top: 120px;
    padding-bottom: 48px;
  }

  .contact-card {
    padding: 18px;
  }
}
.hero-features {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.hero-feature {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1rem;
  text-align: left;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.hero-feature h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.hero-feature p {
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 980px) {
  .hero-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-features {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1.5rem;
  }

  .hero-feature {
    padding: 0.95rem 0.95rem;
    border-radius: 14px;
  }

  .hero-feature h3 {
    font-size: 1.05rem;
  }

  .hero-feature p {
    font-size: 0.95rem;
  }
}

.footer-middle {
  flex: 1 1 200px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  text-decoration: none;
  opacity: 0.9;
}

.footer-brand {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

.hero-product{
  position:relative;
  padding:6rem 0 4rem;
  overflow:hidden;
  text-align:center;
}

/* bakgrunn */
.hero-product .hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  z-index:0;
}

/* MYE lettere overlay */
.hero-product .hero-bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.15),
      rgba(0,0,0,0.35)
    );
}

/* innhold */
.hero-product .hero-inner{
  position:relative;
  z-index:2;
  display:flex;
  justify-content:center;
}

.hero-product .hero-panel{
  width:min(900px,100%);
  padding:2.5rem;
  border-radius:18px;
  backdrop-filter:blur(14px);
}

/* DARK MODE */
html[data-theme="dark"] .hero-product .hero-panel{
  background:rgba(15,15,15,0.55);
  border:1px solid rgba(255,255,255,0.08);
  color:#fff;
}

/* LIGHT MODE */
html[data-theme="light"] .hero-product .hero-panel{
  background:rgba(255,255,255,0.65);
  border:1px solid rgba(0,0,0,0.06);
  color:#111;
}

/* sørg for at tekst alltid får riktig farge */
.hero-product h1,
.hero-product p,
.hero-product .price{
  color:inherit;
}

.hero-product .price{
  font-size:2rem;
  font-weight:700;
  margin-top:1.5rem;
  letter-spacing:-1px;
}

.legal-page h1 { margin-top: 0.25rem; }
.legal-page h2 { margin-top: 1.5rem; }
.legal-page ul { margin: 0.75rem 0 0.75rem 1.25rem; }
.legal-page li { margin: 0.35rem 0; }

/* HERO for weseth.dev
   Does NOT force dark mode
   Grid works in both themes
   Text never goes invisible
*/

/* Theme helpers (hero only) */
:root {
  --hero-grid-line: rgba(0,0,0,0.06);
  --hero-grid-size: 40px;

  --hero-text: var(--text, #0b1220);
  --hero-text-secondary: var(--text-secondary, rgba(11,18,32,0.75));
  --hero-border: var(--border, rgba(11,18,32,0.12));
  --hero-card: var(--bg-card, rgba(255,255,255,0.55));
  --hero-primary: var(--primary, #0b5cff);
}

html[data-theme="dark"] {
  --hero-grid-line: rgba(255,255,255,0.06);

  --hero-text: var(--text, #e6eaf2);
  --hero-text-secondary: var(--text-secondary, rgba(230,234,242,0.75));
  --hero-border: var(--border, rgba(255,255,255,0.12));
  --hero-card: var(--bg-card, rgba(18, 28, 50, 0.65));
  --hero-primary: var(--primary, #c084fc);
}

/* Layout */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
isolation: isolate;
  overflow: hidden;
  padding: 6rem 0;
  background: transparent;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.code-grid-bg {
  position: absolute;
  inset: 0;
z-index: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: var(--hero-grid-size) var(--hero-grid-size);
  opacity: 1;
  pointer-events: none;
  mix-blend-mode: normal;
}

html[data-theme="dark"] .code-grid-bg {
  mix-blend-mode: screen;
}

.floating-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -120px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.4rem;
  color: var(--hero-primary, #2563eb);
  opacity: 0.08;
  animation: float 14s linear infinite;
  will-change: transform;
}

@keyframes float {
  0%   { transform: translate3d(0, 110vh, 0) rotate(0deg);  opacity: 0; }
  15%  { opacity: 0.10; }
  50%  { transform: translate3d(20px, 40vh, 0) rotate(90deg); }
  85%  { opacity: 0.10; }
  100% { transform: translate3d(-10px, -120px, 0) rotate(180deg); opacity: 0; }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  z-index: 1;
  color: var(--hero-text);
}

.hero-greeting {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1rem;
  color: var(--hero-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.greeting-cursor {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,50% { opacity: 1; }
  51%,100% { opacity: 0; }
}

.hero-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.name-prefix {
  color: #65a30d;
}

.name-operator { color: #22d3ee; margin: 0 0.5rem; }

/* Gradient + visible fallback (prevents invisible text) */
.name-value {
  background: linear-gradient(90deg, #2563EB, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html[data-theme="dark"] .name-value {
  color: #c084fc;
}

.name-suffix { color: var(--hero-text); }

.hero-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1.15rem;
  color: #0F172A;
  margin-bottom: 1.5rem;
}

.title-prefix { opacity: 0.7; margin-right: 0.35rem; }

.hero-description {
  font-size: 1.05rem;
  color: var(--hero-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-social {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-card);
  border: 1px solid var(--hero-border);
  color: var(--hero-text-secondary);
  transition: 0.3s ease;
}

.social-icon:hover {
  color: var(--hero-primary);
  border-color: var(--hero-primary);
  transform: translateY(-3px);
}

/* Right visual */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-image-container {
  position: relative;
  width: 350px;
  height: 350px;
}

.profile-image-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.25) 0%, transparent 65%);
  filter: blur(2px);
  pointer-events: none;
}

.profile-image-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-card);
  backdrop-filter: blur(8px);
}

.profile-image {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.profile-placeholder {
  font-size: 6rem;
  color: var(--hero-primary);
  opacity: 0.3;
}

/* Badges */
.floating-badge {
  position: absolute;
  background: var(--hero-card);
  border: 1px solid var(--hero-border);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  animation: floatBadge 4s ease-in-out infinite;
  backdrop-filter: blur(10px);
  color: var(--hero-text);
}

.floating-badge i {
  color: #2563EB;
  font-size: 1.25rem;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.badge-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.badge-libs {
  font-size: 0.75rem;
  color: var(--hero-text-secondary);
}

.badge-1 { top: 10%; right: -10%; }
.badge-2 { bottom: 20%; right: -15%; }
.badge-3 { top: 50%; left: -15%; }

@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  color: var(--hero-text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.scroll-mouse {
  width: 30px;
  height: 48px;
  border: 2px solid var(--hero-grid-line);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: var(--hero-primary);
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-social {
    justify-content: center;
  }
  .hero-image-wrapper {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero-image-wrapper {
    display: none;
  }

  .profile-image-glow {
    display: none;
  }
}
/* FIX: make hero background renderable and keep content above it */
.hero-section {
  position: relative;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

/* grid stays behind particles */
.code-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* particles above grid */
.floating-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

/* IMPORTANT: make particles visible by default */
.particle {
  position: absolute;
  bottom: -80px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: var(--hero-primary, #2563eb);
  opacity: 0.12;
  will-change: transform;
  animation: particleFloat 14s linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.12; }
  85% { opacity: 0.12; }
  100% { transform: translateY(-120vh); opacity: 0; }
}

html[data-theme="dark"] .particle {
  color: #94A3B8 !important;
  opacity: 0.45 !important;
  text-shadow: 0 0 6px rgba(148,163,184,0.4);
}

@media (max-width: 1050px){
  .scroll-indicator {
    display: none; 
  }
}

html[data-theme="dark"] .title-text {
  color: #22d3ee !important;
}
html[data-theme="dark"] .title-prefix {
  color: #22d3ee !important;
}

.page-offset {
  padding-top: 80px;
}

.shop-hero-bg {
  position: relative;
  overflow: hidden;
}

.shop-hero-bg .shop-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shop-hero-bg .code-grid-bg {
  opacity: 0.35; /* juster 0.25–0.5 */
}

.shop-hero-bg .floating-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.8; /* juster */
}

.shop-hero-bg .container {
  position: relative;
  z-index: 2;
}

/* liten glow så det føles mer “hero” */
.shop-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    linear-gradient(
      to bottom,
      rgba(34, 211, 238, 0.18) 0%,
      rgba(34, 211, 238, 0.10) 5%,
      rgba(34, 211, 238, 0.04) 10%,
      transparent 70%
    );
}