/* ============================================
   Noel — személyes oldal
   ============================================ */

:root {
  --bg: #0a0d13;
  --bg-alt: #0d1119;
  --bg-soft: #10141d;
  --surface: #121724;
  --surface-2: #161c2b;
  --border: rgba(148, 163, 184, 0.12);
  --border-strong: rgba(148, 163, 184, 0.24);

  --text: #e7eaf1;
  --text-dim: #97a0b3;
  --text-faint: #565f72;

  --accent-blue: #5b8def;
  --accent-cyan: #4dd0c4;
  --accent-violet: #8b7cf6;

  --glow-blue: rgba(91, 141, 239, 0.16);
  --glow-violet: rgba(139, 124, 246, 0.14);
  --glow-cyan: rgba(77, 208, 196, 0.12);

  --radius: 16px;
  --radius-sm: 9px;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

section {
  position: relative;
  padding: 128px 0;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.section-label .num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
}

.section-label .tag {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-heading {
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.01em;
  max-width: 680px;
  margin-bottom: 20px;
}

.section-intro {
  color: var(--text-dim);
  max-width: 560px;
  font-size: 16.5px;
}

/* Oversized background numerals — decorative, secondary */
.bg-numeral {
  position: absolute;
  top: 40px;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(90px, 14vw, 200px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-strong);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

/* ---------- Global background layers ---------- */

.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}

.bg-mesh {
  position: fixed;
  inset: -10%;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(600px 500px at 15% 8%, var(--glow-violet), transparent 60%),
    radial-gradient(700px 600px at 90% 28%, var(--glow-blue), transparent 60%),
    radial-gradient(600px 500px at 30% 85%, var(--glow-cyan), transparent 60%);
  filter: blur(10px);
  will-change: transform;
  animation: meshDrift 50s ease-in-out infinite alternate;
}

@keyframes meshDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.04); }
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* ---------- Cursor glow ---------- */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 124, 246, 0.08), transparent 70%);
  transform: translate3d(-1000px, -1000px, 0);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.cursor-glow.active {
  opacity: 1;
}

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 20px 0;
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 13, 19, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.nav-logo-mark {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.nav-logo:hover .nav-logo-mark {
  transform: rotate(-8deg);
}

.nav-logo span {
  color: var(--accent-violet);
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.15s ease;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 1px;
  background: var(--accent-cyan);
  transition: right 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  right: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile-panel {
  display: none;
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-mobile-panel {
    display: none;
    flex-direction: column;
    padding: 8px 28px 20px;
    gap: 4px;
  }
  .nav-mobile-panel.open {
    display: flex;
  }
  .nav-mobile-panel a {
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-panel a:last-child {
    border-bottom: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  background: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
  transition: color 0.2s ease;
  width: fit-content;
  margin-bottom: 26px;
}

.hero-kicker:hover {
  color: var(--text-dim);
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
  box-shadow: 0 0 10px 1px var(--glow-cyan);
}

.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  color: var(--accent-violet);
}

.hero-text {
  margin-top: 22px;
  font-size: 17.5px;
  color: var(--text-dim);
  max-width: 480px;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll-cue {
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.08em;
}

.hero-scroll-cue .line {
  width: 28px;
  height: 1px;
  background: var(--border-strong);
}

/* ---------- Hero visual: layered workspace panels ---------- */

.hero-visual {
  position: relative;
  height: 460px;
}

.hv-layer {
  position: absolute;
  transition: transform 0.05s linear;
  will-change: transform;
}

.hv-code {
  top: 10px;
  left: 20px;
  width: 300px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.hv-code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}

.hv-code-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}

.hv-code-bar .fname {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
}

.hv-code pre {
  margin: 0;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
  overflow: hidden;
}

.hv-code .kw { color: var(--accent-violet); }
.hv-code .fn { color: var(--accent-blue); }
.hv-code .str { color: var(--accent-cyan); }
.hv-code .cm { color: var(--text-faint); }

.hv-files {
  top: 250px;
  left: 0;
  width: 210px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-dim);
}

.hv-files .title {
  color: var(--text-faint);
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hv-files .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.hv-files .row .icon {
  width: 12px;
  height: 12px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hv-chips {
  top: 40px;
  right: 10px;
  width: 190px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.5);
}

.hv-chips .title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.hv-chips .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hv-chip {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
}

.hv-status {
  bottom: 20px;
  right: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 14px 8px 10px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-dim);
}

.hv-status .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 0 0 rgba(77, 208, 196, 0.5);
  animation: pulse 2.6s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(77, 208, 196, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(77, 208, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 208, 196, 0); }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    height: 380px;
    margin-top: 20px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 120px 0 60px;
  }
  .hero-visual {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hv-layer {
    position: static !important;
    width: 100% !important;
    transform: none !important;
  }
  .hv-chips .chip-row {
    max-width: none;
  }
  .hv-status {
    align-self: flex-start;
  }
}

/* ---------- Rólam: interactive orbit ---------- */

.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bg-alt-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
  margin-top: 48px;
}

.about-text p {
  color: var(--text-dim);
  font-size: 16.5px;
  margin-bottom: 20px;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

.detail-chips {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--border);
}

.detail-chip {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.detail-chip .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.detail-chip .value {
  font-size: 14.5px;
  color: var(--text);
  text-align: right;
}

.school-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 14px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.school-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.school-logo {
  grid-column: 1;
  grid-row: 1;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  object-fit: contain;
}

.school-info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.school-name {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.school-link {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  transition: color 0.2s ease;
}

.school-card:hover .school-link {
  color: var(--accent-cyan);
}

.school-shot {
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 2px;
}

.orbit-wrap {
  position: relative;
}

.orbit {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.orbit svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit-line {
  stroke: var(--border-strong);
  stroke-width: 1;
  transition: stroke 0.25s ease, stroke-width 0.25s ease;
}

.orbit-line.active {
  stroke: var(--accent-cyan);
  stroke-width: 1.4;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 1px rgba(139, 124, 246, 0.08), 0 20px 50px -20px rgba(139, 124, 246, 0.35);
  z-index: 2;
}

@media (prefers-reduced-motion: no-preference) {
  .orbit-center {
    animation: centerBreathe 6s ease-in-out infinite;
  }
}

@keyframes centerBreathe {
  0%, 100% { box-shadow: 0 0 0 1px rgba(139, 124, 246, 0.08), 0 20px 50px -20px rgba(139, 124, 246, 0.35); }
  50% { box-shadow: 0 0 0 1px rgba(139, 124, 246, 0.16), 0 20px 60px -14px rgba(139, 124, 246, 0.5); }
}

.orbit-node {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 8px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 3;
  white-space: nowrap;
}

.orbit-node:hover,
.orbit-node:focus-visible,
.orbit-node.active {
  border-color: var(--accent-cyan);
  color: var(--text);
  background: var(--surface-2);
  transform: translate(-50%, -50%) scale(1.08);
  outline: none;
}

.orbit-desc {
  margin-top: 28px;
  min-height: 44px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
  color: var(--text-dim);
  transition: opacity 0.2s ease;
}

.orbit-desc strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 8px;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .orbit {
    max-width: 340px;
  }
}

/* mini path / journey strip */

.mini-path {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.mini-path-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.mini-path-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.mini-path-step {
  font-size: 13.5px;
  color: var(--text-dim);
  white-space: nowrap;
}

.mini-path-step.current {
  color: var(--accent-cyan);
}

.mini-path-sep {
  width: 24px;
  height: 1px;
  background: var(--border-strong);
  margin: 0 14px;
}

@media (max-width: 700px) {
  .mini-path-track {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .mini-path-sep {
    display: none;
  }
}

/* ---------- Tech + Gaming ---------- */

.tech-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.skill-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.skill-tag {
  position: relative;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text-dim);
  background: var(--surface);
  cursor: default;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
  font-family: var(--font-body);
}

.skill-tag:hover {
  border-color: var(--accent-violet);
  color: var(--text);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.skill-tag.size-lg {
  font-size: 19px;
  font-weight: 600;
  padding: 14px 24px;
}

.skill-tag.size-md {
  font-size: 15.5px;
  font-weight: 500;
  padding: 11px 19px;
}

.skill-tag.size-sm {
  font-size: 13px;
  padding: 9px 15px;
}

.skill-tag[data-note]::after {
  content: attr(data-note);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 12px;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 5;
}

.skill-tag[data-note]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.gaming-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 30px;
}

.gaming-panel .title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.gaming-entry {
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.gaming-entry:first-of-type {
  border-top: none;
  padding-top: 0;
}

.gaming-entry h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.gaming-entry p {
  font-size: 14px;
  color: var(--text-dim);
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Projektek ---------- */

.oldalka-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.oldalka-preview {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(91, 141, 239, 0.15);
  transition: transform 0.2s ease;
  will-change: transform;
}

.op-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.op-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
}

.op-bar .url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.op-shot {
  display: block;
  width: 100%;
  height: auto;
}

.oldalka-info .status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent-violet);
  border: 1px solid rgba(139, 124, 246, 0.3);
  background: rgba(139, 124, 246, 0.07);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.oldalka-info .status-tag .dot2 {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-violet);
}

.oldalka-info h3 {
  font-size: 27px;
  margin-bottom: 14px;
}

.oldalka-info p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 14px;
}

.oldalka-goals {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oldalka-goals li {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-dim);
}

.oldalka-goals li::before {
  content: "→";
  color: var(--accent-cyan);
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .oldalka-showcase {
    grid-template-columns: 1fr;
  }
}

.project-rows {
  margin-top: 48px;
}

.project-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s ease;
}

.project-row:first-child {
  border-top: 1px solid var(--border);
}

.project-row:hover {
  padding-left: 8px;
}

.project-row .idx {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-faint);
}

.project-row h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.project-row p {
  font-size: 14px;
  color: var(--text-dim);
}

.project-row .arrow {
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-row:hover .arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-cyan);
}

@media (max-width: 600px) {
  .project-row {
    grid-template-columns: 34px 1fr;
  }
  .project-row .arrow {
    display: none;
  }
}

/* ---------- Amiket szeretek — magazine grid ---------- */

.likes-magazine {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(130px, auto);
  gap: 16px;
  margin-top: 48px;
}

.like-block {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.like-block:hover {
  border-color: var(--border-strong);
}

.likes-magazine {
  perspective: 1000px;
}

.oldalka-showcase {
  perspective: 1200px;
}

.like-block h3 {
  font-size: 17px;
  position: relative;
  z-index: 1;
}

.like-block p {
  font-size: 13.5px;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
}

.like-block.b-gaming {
  grid-column: span 3;
  grid-row: span 2;
  background: linear-gradient(155deg, var(--surface) 55%, rgba(139, 124, 246, 0.08));
}

.like-block.b-gaming h3 {
  font-size: 24px;
}

.like-block.b-code {
  grid-column: span 3;
  grid-row: span 1;
}

.like-block.b-linux {
  grid-column: span 2;
  grid-row: span 1;
}

.like-block.b-ai {
  grid-column: span 1;
  grid-row: span 1;
}

.like-block.b-math {
  grid-column: span 2;
  grid-row: span 1;
}

.like-block.b-new {
  grid-column: span 4;
  grid-row: span 1;
}

@media (max-width: 900px) {
  .likes-magazine {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .like-block,
  .like-block.b-gaming,
  .like-block.b-code,
  .like-block.b-linux,
  .like-block.b-ai,
  .like-block.b-math,
  .like-block.b-new {
    grid-column: span 1;
    grid-row: auto;
    min-height: 130px;
  }
  .like-block.b-gaming {
    grid-column: span 2;
    min-height: 170px;
  }
}

/* ---------- Kapcsolat ---------- */

.contact-inner {
  max-width: 540px;
  margin-top: 32px;
}

.contact p {
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 30px;
}

.thanks-note {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.thanks-title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 12px;
}

.thanks-note p {
  font-size: 13.5px;
  color: var(--text-faint);
  margin-bottom: 0;
}

/* ---------- Footer ---------- */

footer {
  padding: 36px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border);
}

footer a:hover {
  color: var(--text-dim);
}

/* ---------- Reveal (progressive enhancement only) ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js-reveal-ready .reveal {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-reveal-ready .reveal[data-reveal="up"] { transform: translateY(22px); }
.js-reveal-ready .reveal[data-reveal="left"] { transform: translateX(-24px); }
.js-reveal-ready .reveal[data-reveal="right"] { transform: translateX(24px); }
.js-reveal-ready .reveal[data-reveal="scale"] { transform: scale(0.96); }

.js-reveal-ready .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

.notfound-inner {
  text-align: center;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.notfound-code {
  font-family: var(--font-display);
  font-size: clamp(70px, 14vw, 130px);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
  line-height: 1;
  margin-bottom: 8px;
}

.notfound-visual {
  position: relative;
  width: 100%;
  max-width: 260px;
  height: 90px;
  margin: 0 auto 28px;
}

.notfound-visual .nf-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 16px 2px var(--glow-cyan);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.notfound-visual .nf-path {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  fill: none;
}

.notfound h1 {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 14px;
}

.notfound p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin-bottom: 30px;
}

@media (max-width: 760px) {
  section {
    padding: 88px 0;
  }
  .about-grid,
  .tech-grid {
    gap: 40px;
  }
}
