:root {
    --green: #3DFF78;
    --green-dim: #2bc95a;
    --black: #0A0A0A;
    --dark: #111111;
    --card: #161616;
    --border: rgba(61,255,120,0.15);
    --text: #F0F0F0;
    --muted: #8A8A8A;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--dark);
    color: var(--text);
    overflow-x: hidden;
  }

  /* ─── MONEY PATTERN BACKGROUND ─── */
  .money-bg {
    position: relative;
    background-image: url('../graphics/Tema.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* ─── NAVBAR ─── */
  nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 5vw;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(5px);
    border-bottom: 0px solid var(--border);
  }

  .nav-logo {
    text-decoration: none;
    color: inherit;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    color: var(--text);
  }
  .nav-logo span { color: var(--green); }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--green); }

  .nav-cta {
    background: var(--green);
    color: var(--black) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    font-weight: 600 !important;
  }
  .nav-cta:hover { background: var(--green-dim) !important; color: var(--black) !important; }

/* ─── DROPDOWN ─── */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10,10,10,0.95);
  border: 0.5px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 200;
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s, background 0.2s;
}

.dropdown-menu li a:hover {
  color: var(--green);
  background: rgba(61,255,120,0.05);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}


  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5vw;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .hero::after {
    content: '';
    position: absolute;
    left: -20%;
    top: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(61,255,120,0.06) 0%, transparent 70%);
    pointer-events: none;
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
  }

  .hero-tag {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    padding: 0.35rem 0.8rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
  }

  .hero h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
  }
  .hero h1 em {
    color: var(--green);
    font-style: normal;
    display: block;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #aaa;
    max-width: 480px;
    margin-bottom: 2.5rem;
  }

  .hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .btn-primary {
    background: var(--green);
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 2px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
  }
  .btn-primary:hover { background: var(--green-dim); transform: translateY(-1px); }

  .btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border-radius: 2px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: border-color 0.2s;
  }
  .btn-outline:hover { border-color: var(--green); color: var(--green); }

  .hero-stats {
    position: absolute;
    right: 5vw;
    bottom: 10vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 2;
  }
  .stat-item {
    text-align: right;
  }
  .stat-item .num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--green);
    line-height: 1;
  }
  .stat-item .label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  /* ─── SECTION BASE ─── */
  section {
    padding: 6rem 5vw;
  }

  .section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--green);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }
  .section-label::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--green);
    flex-shrink: 0;
  }

  .section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
  }
  .section-title em { color: var(--green); font-style: normal; }

  /* ─── OM MIG ─── */
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    border-top: 0px solid rgba(255,255,255,0.07);
  }

  .about-visual {
    position: relative;
  }

  .about-card {
    background: var(--card);
    border: 0,5px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
    position: relative;
  }
  .about-card {
    background: var(--card);
    border: 1px solid var(--green);
    border-radius: 4px;
    padding: 9rem;
    position: relative;
  }

  .about-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--green);
    margin-bottom: 1.5rem;
    background: #1a3d25;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    color: var(--green);
  }

  .about-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
  }
  .about-card .handle {
    font-size: 0.8rem;
    color: var(--green);
    font-family: 'Space Mono', monospace;
    margin-bottom: 1.2rem;
  }
  .about-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #aaa;
  }

  .about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 0.5px solid rgba(255,255,255,0.07);
  }
  .metric {
    background: rgba(61,255,120,0.04);
    padding: 0.8rem;
    border-radius: 2px;
    border: 0.5px solid var(--border);
  }
  .metric .n {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--green);
    line-height: 1;
  }
  .metric .l {
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.2rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 1.2rem;
  }
  .about-text strong { color: var(--text); font-weight: 500; }

  /* ─── ÄMNEN / TOPICS ─── */
  .topics {
    background: var(--dark);
    border-top: 0px solid rgba(255,255,255,0.05);
    border-bottom: 0x solid rgba(255,255,255,0.05);
  }

  .topics-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
  }

  .topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    border: 0.5px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: hidden;
  }

  .topic-card {
    background: var(--card);
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
  }
  .topic-card:hover { background: #1c1c1c; }
  .topic-card:hover .topic-icon { color: var(--green); }

  .topic-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: block;
    transition: color 0.2s;
    color: #555;
  }
  .topic-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }
  .topic-card p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
  }
  .topic-arrow {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
    color: var(--border);
    transition: color 0.2s, transform 0.2s;
  }
  .topic-card:hover .topic-arrow { color: var(--green); transform: translate(2px, -2px); }

  /* ─── INLÄGG / POSTS ─── */
  .posts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
  }

  .post-card {
    background: var(--card);
    border: 0.5px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
  }
  .post-card:hover { border-color: var(--border); }

  .post-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #0e2418, #173322);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .post-thumb.tall { aspect-ratio: 4/3; }

  .post-thumb-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
  }
  .post-thumb-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--text);
    line-height: 1.2;
  }
  .post-thumb-sub {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: var(--green);
    margin-top: 0.4rem;
  }
  .post-chart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
  }

  .post-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .post-tag {
    font-size: 0.65rem;
    color: var(--green);
    font-family: 'Space Mono', monospace;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  .post-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }
  .post-card p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.5;
    flex: 1;
  }
  .post-date {
    font-size: 0.7rem;
    color: #555;
    margin-top: 0.8rem;
    font-family: 'Space Mono', monospace;
  }

  /* ─── CHART SVG ─── */
  .sparkline { overflow: visible; }

  /* ─── NEWSLETTER ─── */
  .newsletter {
    background: var(--dark);
    border-top: 0.5px solid rgba(255,255,255,0.05);
  }

  .newsletter-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  .newsletter-inner .section-label {
    justify-content: center;
  }
  .newsletter-inner .section-label::before { display: none; }

  .newsletter p {
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;
  }
  .newsletter-form input {
    flex: 1;
    background: rgba(61,255,120,0.03);
    border: none;
    outline: none;
    padding: 0.9rem 1.2rem;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
  }
  .newsletter-form input::placeholder { color: #555; }
  .newsletter-form button {
    background: var(--green);
    color: var(--black);
    border: none;
    padding: 0.9rem 1.5rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
  }
  .newsletter-form button:hover { background: var(--green-dim); }

  .newsletter-note {
    font-size: 0.75rem;
    color: #555;
    margin-top: 1rem;
  }

  /* ─── INSTAGRAM STRIP ─── */
  .instagram {
    border-top: 0.5px solid rgba(255,255,255,0.05);
  }
  .insta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
  }
  .insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    border-radius: 4px;
    overflow: hidden;
  }
  .insta-item {
    aspect-ratio: 1;
    background: var(--card);
    position: relative;
    overflow: hidden;
    cursor: pointer;
  }
  .insta-item-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, #0e2418, #1a3d25);
  }
  .insta-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: #ccc;
    line-height: 1.2;
  }
  .insta-label em { color: var(--green); font-style: normal; }

  .insta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
  }
  .insta-item:hover .insta-overlay { opacity: 1; }
  .insta-overlay svg { color: var(--green); }

  /* ─── FOOTER ─── */
  footer {
    background: #080808;
    padding: 3rem 5vw 2rem;
    border-top: 0.5px solid rgba(255,255,255,0.07);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 0.5px solid rgba(255,255,255,0.05);
  }
  .footer-brand h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }
  .footer-brand h2 span { color: var(--green); }
  .footer-brand p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    max-width: 300px;
  }
  .footer-col h4 {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 1rem;
    font-family: 'Space Mono', monospace;
  }
  .footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .footer-col ul a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
  }
  .footer-col ul a:hover { color: var(--green); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer-bottom p {
    font-size: 0.75rem;
    color: #444;
    font-family: 'Space Mono', monospace;
  }
  .footer-social {
    display: flex;
    gap: 1rem;
  }
  .footer-social a {
    width: 36px;
    height: 36px;
    border: 0.5px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.8rem;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    transition: border-color 0.2s, color 0.2s;
  }
  .footer-social a:hover { border-color: var(--green); color: var(--green); }


/* ═══════════════════════════════════════════════════
   HAMBURGER — hidden on desktop
═══════════════════════════════════════════════════ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}
nav.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
nav.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ═══════════════════════════════════════════════════
   MOBILE — max-width: 768px
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* NAV */
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
    flex-direction: column;
    padding: 0.5rem 5vw 1.5rem;
    gap: 0;
    z-index: 99;
  }
  nav.nav-open .nav-links { display: flex; }

  .nav-links > li {
    border-bottom: 0.5px solid rgba(255,255,255,0.05);
  }
  .nav-links > li > a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.88rem;
  }
  .nav-cta {
    background: none !important;
    color: var(--muted) !important;
    padding: 0 !important;
  }

  /* Show dropdown items inline on mobile */
  .dropdown-menu {
    position: static !important;
    display: block !important;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 0.5rem 1rem;
    min-width: auto;
  }
  .dropdown-menu li { border: none; }
  .dropdown-menu li a { padding: 0.4rem 0; font-size: 0.8rem; }

  /* SECTIONS */
  section { padding: 4rem 5vw; }

  /* SECTION TITLE */
  .section-title { font-size: clamp(2rem, 7vw, 3rem); }

  /* POSTS GRID */
  .posts-grid { grid-template-columns: 1fr !important; }

  /* ABOUT (hem-sidan) */
  .about { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-card { padding: 2rem; }

  /* FOOTER */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }

}
