/* ==========================================================================
   Jadijital — ana stil dosyası
   ========================================================================== */

:root {
  --bg: #0a0a12;
  --panel: #12121e;
  --panel-line: #2a2a3d;
  --fg: #f2f1f8;
  --cyan: #7A5CFF;
  --magenta: #00E5FF;
  --yellow: #C77DFF;
  --green: #3D8BFF;

  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Orbitron', sans-serif;
  --font-sans: 'Space Grotesk', sans-serif;
}

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

html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body::-webkit-scrollbar { display: none; }

body {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

body.no-custom-cursor { cursor: auto; }

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

::selection { background: #ff3ea5; color: #0a0a12; }

/* ---------- effects layer ---------- */

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 19.8px;
  height: 19.8px;
  margin-left: -9.9px;
  margin-top: -9.9px;
  border: 1.8px solid var(--cyan);
  border-radius: 1.8px;
  pointer-events: none;
  z-index: 90;
  transition: width 0.15s, height 0.15s, margin 0.15s, border-color 0.15s;
  transform: translate(-90px, -90px);
  box-shadow: 0 0 10.8px var(--cyan);
}

#scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 0.9px, transparent 0.9px, transparent 3.6px);
  animation: scanmove 0.5s linear infinite;
  mix-blend-mode: overlay;
}

#vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 59;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ---------- keyframes ---------- */

@keyframes blink { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0.15; } 100% { opacity: 1; } }
@keyframes scanmove { 0% { background-position: 0 0; } 100% { background-position: 0 7.2px; } }
@keyframes floaty { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-12.6px); } }
@keyframes glowpulse {
  0%, 100% { filter: drop-shadow(0 0 5.4px var(--cyan)) drop-shadow(0 0 12.6px var(--magenta)); }
  50% { filter: drop-shadow(0 0 12.6px var(--cyan)) drop-shadow(0 0 23.4px var(--magenta)); }
}
@keyframes wheelSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes ledSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes driveAlong {
  0% { offset-distance: 0%; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
@keyframes charReveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes tagPop {
  0% { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes caretBlink { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes modalBackdropIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalCardIn {
  0% { opacity: 0; transform: scale(0.9) translateY(12.6px); filter: blur(5.4px); }
  60% { filter: blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes modalScanSweep { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes modalBackdropOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalCardOut {
  0% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); box-shadow: 0 0 0 5.4px #0a0a12, 0 0 45px rgba(0,0,0,0.6), 0 0 36px var(--modal-glow, var(--cyan)); }
  100% { opacity: 0; transform: scale(0.9) translateY(9px); filter: blur(5.4px); box-shadow: 0 0 0 5.4px #0a0a12, 0 0 45px rgba(0,0,0,0.6), 0 0 0px var(--modal-glow, var(--cyan)); }
}
@keyframes modalScanSweepOut { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-100%); opacity: 0; } }
@keyframes modalGlowPulse {
  0%, 100% { box-shadow: 0 0 0 5.4px #0a0a12, 0 0 45px rgba(0,0,0,0.6), 0 0 7.2px var(--modal-glow, var(--cyan)), inset 0 0 18px color-mix(in srgb, var(--modal-glow, var(--cyan)) 15%, transparent); }
  50% { box-shadow: 0 0 0 5.4px #0a0a12, 0 0 45px rgba(0,0,0,0.6), 0 0 63px var(--modal-glow, var(--cyan)), inset 0 0 36px color-mix(in srgb, var(--modal-glow, var(--cyan)) 35%, transparent); }
}
@keyframes confettiFall {
  from { transform: translateY(-36px) rotate(0deg); opacity: 1; }
  to { transform: translateY(115vh) rotate(720deg); opacity: 0; }
}

/* ---------- shared bits ---------- */

.floaty-dot {
  position: absolute;
  animation-name: floaty;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12.6px;
  margin-bottom: 32.4px;
}
.section-kicker .line { width: 45px; height: 0.9px; opacity: 0.4; }
.section-kicker .diamond { width: 6.3px; height: 6.3px; transform: rotate(45deg); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(39.6px, 4.2vw, 86.4px);
  margin-bottom: 14.4px;
  text-align: center;
}

.section-sub {
  font-family: var(--font-mono);
  font-size: clamp(12.6px, 1.1vw, 17.1px);
  color: var(--fg);
  opacity: 0.55;
  margin-bottom: 50.4px;
  text-align: center;
}

section[id] {
  position: relative;
  overflow: hidden;
  padding: 108px 36px;
  max-width: none;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
section[id] > .inner { max-width: 1620px; width: 100%; margin: 0 auto; position: relative; }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19.8px 36px;
  background: linear-gradient(to bottom, rgba(10,10,18,0.9), transparent);
  font-family: var(--font-mono);
  font-size: clamp(11.7px, 0.85vw, 15.3px);
  letter-spacing: 0.05em;
}
.nav-logo { height: clamp(25.2px, 2vw, 37.8px); width: auto; }
.nav-links { display: flex; gap: 25.2px; align-items: center; }
.nav-links a { color: var(--fg); opacity: 0.8; }
.nav-links a:hover { opacity: 1; color: var(--cyan); }
.nav-score {
  padding: 5.4px 10.8px;
  border: 0.9px solid var(--panel-line);
  background: var(--panel);
  color: var(--yellow);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18.36px;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 0.77px, transparent 0.77px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 0.77px, transparent 0.77px);
  background-size: 30.6px 30.6px;
  text-align: center;
}
.hero-status {
  font-family: var(--font-mono);
  font-size: clamp(9.94px, 1vw, 13.77px);
  letter-spacing: 0.3em;
  color: var(--green);
  margin-top: clamp(38.25px, 7vh, 84.15px);
  margin-bottom: 21.42px;
}
.hero-logo { height: clamp(229.5px, 26vw, 397.8px); width: auto; margin-bottom: 15.3px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64.26px, 12vw, 168.3px);
  line-height: 1.15;
  margin: 0 0 13.77px;
  color: var(--fg);
  animation: glowpulse 3s ease-in-out infinite;
}
.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(11.47px, 1.7vw, 19.89px);
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 24.48px;
  text-shadow: 0 0 4.59px var(--cyan), 0 0 12.24px var(--cyan);
}
.hero-tagline .char { opacity: 0; }
.hero-tagline .char.revealed { animation: charReveal 0.05s linear both; }
.hero-tagline .caret {
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 1.53px;
  background: var(--cyan);
  box-shadow: 0 0 6.12px var(--cyan);
  vertical-align: text-bottom;
  animation: caretBlink 0.9s steps(1) infinite;
}
.hero-scroll {
  font-family: var(--font-display);
  font-size: clamp(8.42px, 0.8vw, 11.47px);
  color: var(--fg);
  opacity: 0.7;
  animation: blink 1.6s steps(1) infinite;
}

/* ---------- about ---------- */

#hakkinda {
  background:
    radial-gradient(ellipse 765px 459px at 50% 32%, color-mix(in srgb, var(--magenta) 16%, transparent), transparent 85%),
    var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(244.8px, 306px) 1fr;
  gap: 42.84px;
  align-items: stretch;
}
.about-portrait {
  aspect-ratio: 1;
  background: var(--panel);
  border: 1.53px solid var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24.48px;
  box-shadow: 0 0 18.36px rgba(0,0,0,0.4);
}
.about-portrait img { width: 100%; height: 100%; object-fit: contain; }
.about-desc {
  font-family: var(--font-sans);
  font-size: clamp(12.24px, 1.3vw, 16.83px);
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.85;
  margin-top: 21.42px;
}
.terminal {
  background: #08080f;
  border: 0.77px solid var(--panel-line);
  box-shadow: 0 15.3px 30.6px rgba(0,0,0,0.4);
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6.12px;
  padding: 7.65px 10.71px;
  border-bottom: 0.77px solid var(--panel-line);
  background: linear-gradient(180deg, #14141f, #0c0c14);
}
.terminal-dot { width: 6.88px; height: 6.88px; border-radius: 50%; }
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  font-family: var(--font-mono);
  font-size: clamp(8.42px, 0.75vw, 11.47px);
  color: var(--fg);
  opacity: 0.5;
  margin-left: 6.12px;
  letter-spacing: 0.05em;
}
.terminal-body {
  padding: 19.89px 18.36px 22.95px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12.24px;
  flex: 1;
}
.terminal-line { display: flex; align-items: baseline; gap: 7.65px; flex-wrap: nowrap; }
.terminal-tag {
  font-family: var(--font-display);
  font-size: clamp(7.5px, 0.7vw, 10.3px);
  flex-shrink: 0;
  width: clamp(88px, 8.5vw, 122px);
  display: inline-block;
  opacity: 0;
  transform: scale(0.7);
}
.terminal-tag.revealed { animation: tagPop 0.3s ease-out both; }
.terminal-text {
  font-family: var(--font-mono);
  font-size: clamp(9.5px, 0.98vw, 13.5px);
  line-height: 1.7;
  color: var(--fg);
  opacity: 0.9;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 0;
}
.terminal-char { display: inline; opacity: 0; }
.terminal-char.space { white-space: pre; }
.terminal-char.revealed { animation: charReveal 0.06s linear both; }
.terminal-caret {
  display: inline-block;
  width: 5.35px;
  height: 10.71px;
  margin-left: 1.53px;
  vertical-align: text-bottom;
  opacity: 0;
}
.terminal-caret.revealed { animation: caretBlink 0.9s steps(1) infinite; }

/* ---------- levels / services ---------- */

#leveller {
  background:
    radial-gradient(ellipse 1000px 600px at 50% 32%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 85%),
    var(--bg);
}
.levels-viewport {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.levels-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 40px 28px;
  scrollbar-width: none;
  cursor: grab;
}
.levels-track::-webkit-scrollbar { display: none; }
.levels-track.dragging { cursor: grabbing; }
.levels-fade { position: absolute; top: 0; bottom: 28px; width: clamp(90px, 9vw, 180px); pointer-events: none; z-index: 2; }
.levels-fade.left { left: 0; background: linear-gradient(to right, var(--bg) 0%, var(--bg) 25%, transparent 100%); }
.levels-fade.right { right: 0; background: linear-gradient(to left, var(--bg) 0%, var(--bg) 25%, transparent 100%); }

.level-card {
  background: var(--panel);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--panel), var(--panel)), linear-gradient(135deg, #4FA8FF, #B347FF);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  display: flex;
  flex-direction: column;
  flex: 0 0 clamp(300px, 21vw, 440px);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0,0,0,0.45);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.level-card:hover { transform: translateY(-6px); }
.level-card.accent-cyan:hover { border-color: var(--cyan); box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--cyan); }
.level-card.accent-magenta:hover { border-color: var(--magenta); box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--magenta); }
.level-card.accent-yellow:hover { border-color: var(--yellow); box-shadow: 0 12px 32px rgba(0,0,0,0.5), 0 0 0 1px var(--yellow); }

.level-stripe {
  aspect-ratio: 16/10;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--panel-line);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.level-lvl-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-display);
  font-size: clamp(10px, 0.7vw, 13px);
  background: #0a0a12;
  color: var(--fg);
  padding: 6px 8px;
  border: 1px solid var(--panel-line);
}
.level-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.7vw, 13px);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 9px;
  background: var(--green);
  color: #0a0a12;
}
.level-body { padding: 24px 24px 28px; }
.level-title { font-family: var(--font-display); font-size: clamp(22px, 1.7vw, 32px); color: var(--fg); margin-bottom: 10px; }
.level-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.75vw, 14px);
  letter-spacing: 0.05em;
  color: var(--bg);
  padding: 4px 10px;
}
.level-tag.accent-cyan { background: var(--cyan); }
.level-tag.accent-magenta { background: var(--magenta); }
.level-tag.accent-yellow { background: var(--yellow); }

/* ---------- process / quest road ---------- */

#surec {
  background:
    radial-gradient(ellipse 765px 459px at 50% 32%, color-mix(in srgb, var(--yellow) 14%, transparent), transparent 85%),
    var(--bg);
  justify-content: flex-start;
  padding-top: 40px;
}
.road-scroll { overflow-x: hidden; padding-bottom: 9.18px; }
.road-container {
  position: relative;
  height: 630px;
  width: 100%;
  perspective: 1100px;
}
.road-glow {
  position: absolute;
  left: 0;
  right: 0;
  top: 228.9px;
  height: 306px;
  background: radial-gradient(ellipse 382.5px 198.9px at 50% 40%, color-mix(in srgb, var(--yellow) 10%, transparent), transparent 75%);
  pointer-events: none;
}
.road-plane {
  position: absolute;
  inset: 0;
  transform: rotateX(42deg);
  transform-origin: 50% 45%;
  transform-style: preserve-3d;
}
.road-segment {
  position: absolute;
  height: 16.83px;
  background: #33333d;
  background-image: linear-gradient(90deg, #ffffff 0 7.65px, transparent 7.65px 15.3px);
  background-size: 15.3px 2.29px;
  background-position: center;
  background-repeat: repeat-x;
  border-top: 1.53px solid rgba(255,255,255,0.15);
  border-bottom: 1.53px solid rgba(0,0,0,0.4);
  box-shadow: 0 3.06px 7.65px rgba(0,0,0,0.4);
  transform-origin: 0 50%;
}
.road-car { position: absolute; top: 0; left: 0; width: 27.54px; height: 12.24px; offset-rotate: auto; animation: driveAlong 11s linear infinite; }
.road-car-shadow { position: absolute; bottom: 1.53px; left: 0.77px; width: 26.01px; height: 3.82px; background: rgba(0,0,0,0.5); filter: blur(1.53px); }
.road-car-body { position: absolute; bottom: 3.82px; left: 0; width: 27.54px; height: 6.88px; background: #8FD9FF; box-shadow: 0 0 7.65px #8FD9FF; }
.road-car-cabin { position: absolute; bottom: 8.42px; left: 6.12px; width: 13.77px; height: 5.35px; background: var(--panel); border: 0.77px solid var(--panel-line); }
.road-car-wheel { position: absolute; bottom: 0; width: 4.59px; height: 4.59px; background: #0a0a12; border: 0.77px solid var(--panel-line); border-radius: 0.77px; animation: wheelSpin 0.4s linear infinite; }
.road-car-wheel.front { left: 18.36px; }
.road-car-wheel.back { left: 3.06px; }

.quest-card {
  position: absolute;
  width: clamp(145.35px, 15vw, 214.2px);
  transform: translateX(-50%);
  text-align: center;
}
.quest-level-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(7.65px, 0.7vw, 9.94px);
  letter-spacing: 0.05em;
  color: #0a0a12;
  padding: 3.06px 6.12px;
  margin-bottom: 7.65px;
}
.quest-media {
  margin: 0 auto;
  background: transparent;
  border-radius: 7.65px;
}
.quest-media lottie-player { width: 100%; height: 100%; }
.quest-title { font-family: var(--font-display); font-size: clamp(13.77px, 1.4vw, 19.89px); color: var(--fg); margin-top: 9.18px; }
.quest-desc { font-family: var(--font-sans); font-size: clamp(9.18px, 0.9vw, 12.24px); line-height: 1.5; color: var(--fg); opacity: 0.7; margin-top: 6.12px; }
.quest-connector { position: absolute; width: 2.29px; opacity: 0.6; transform: translateX(-50%); }
.quest-node {
  position: absolute;
  width: 15.3px;
  height: 15.3px;
  border-radius: 50%;
  border: 1.53px solid #0a0a12;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8.42px;
  font-weight: 700;
  color: #0a0a12;
  transition: background 0.3s, box-shadow 0.3s;
}
.quest-node.passed { background: #39FF14 !important; box-shadow: 0 0 13.77px 3.06px #39FF14, 0 0 22.95px #39FF14 !important; }
.quest-tick { opacity: 0; }
.quest-node.passed .quest-tick { opacity: 1; }

/* ---------- testimonials ---------- */

#referanslar {
  background:
    radial-gradient(ellipse 1000px 600px at 50% 32%, color-mix(in srgb, var(--green) 14%, transparent), transparent 85%),
    var(--bg);
}
.testimonial-stage { position: relative; height: clamp(420px, 30vw, 560px); }
.testimonial-card-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1), width 0.6s cubic-bezier(0.22,1,0.36,1), opacity 0.6s ease;
}
.testimonial-led {
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.testimonial-led-inner {
  position: absolute;
  top: 50%; left: 50%;
  width: 200%; height: 200%;
  margin-left: -100%; margin-top: -100%;
  animation: ledSpin 2.5s linear infinite;
}
.testimonial-card {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 2px solid var(--panel-line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: height 0.5s cubic-bezier(0.16,1,0.3,1), padding 0.5s;
  overflow: hidden;
}
.testimonial-quote {
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--fg);
  opacity: 0.9;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}
.testimonial-name { font-family: var(--font-mono); font-size: clamp(13px, 0.95vw, 18px); font-weight: 700; color: var(--fg); }
.testimonial-role { font-family: var(--font-mono); font-size: clamp(12px, 0.85vw, 16px); color: var(--cyan); }
.testimonial-dots { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.testimonial-dot { height: 8px; border-radius: 4px; cursor: pointer; transition: all 0.3s; }

/* ---------- modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6,6,12,0.82);
  backdrop-filter: blur(3.6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 21.6px;
  animation: modalBackdropIn 0.25s ease-out both;
}
.modal-overlay.hidden { display: none; }
.modal-overlay.closing { animation: modalBackdropOut 0.3s ease-in both; }
.modal-card {
  background: var(--panel);
  max-width: clamp(504px, 45vw, 702px);
  width: 100%;
  padding: 36px;
  position: relative;
  overflow: hidden;
  animation: modalCardIn 0.38s cubic-bezier(0.16,1,0.3,1) both, modalGlowPulse 2.4s ease-in-out 0.3s 3;
}
.modal-card.closing { animation: modalCardOut 0.3s cubic-bezier(0.4,0,1,1) both; }
.modal-sweep {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 100%;
  pointer-events: none;
  animation: modalScanSweep 0.85s ease-out 0.05s both;
  mix-blend-mode: screen;
}
.modal-card.closing .modal-sweep { animation: modalScanSweepOut 0.3s ease-in both; }
.modal-close {
  position: absolute;
  top: 14.4px; right: 14.4px;
  font-family: var(--font-mono);
  font-size: 10.8px;
  color: var(--fg);
  opacity: 0.7;
  cursor: pointer;
  border: 0.9px solid var(--panel-line);
  padding: 5.4px 9px;
}
.modal-close:hover { opacity: 1; color: var(--magenta); }
.modal-level { font-family: var(--font-display); font-size: clamp(9px, 0.7vw, 11.7px); color: var(--yellow); margin-bottom: 14.4px; }
.modal-title { font-family: var(--font-display); font-size: clamp(25.2px, 2.4vw, 41.4px); color: var(--fg); margin-bottom: 12.6px; }
.modal-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(9.9px, 0.75vw, 12.6px);
  color: var(--bg);
  padding: 3.6px 9px;
  margin-bottom: 21.6px;
}
.modal-image {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 21.6px;
  border: 0.9px solid var(--panel-line);
  background-size: cover;
  background-position: center;
}
.modal-desc { font-family: var(--font-sans); font-size: clamp(13.5px, 1.1vw, 17.1px); line-height: 1.7; color: var(--fg); opacity: 0.85; }

.mail-modal-card { max-width: clamp(360px, 32vw, 460px); text-align: center; }
.mail-modal-title { margin-bottom: 21.6px; color: var(--cyan); }
.mail-box {
  display: flex;
  align-items: center;
  gap: 10.8px;
  border: 0.9px solid var(--panel-line);
  background: color-mix(in srgb, var(--cyan) 6%, transparent);
  padding: 12.6px 12.6px 12.6px 18px;
}
.mail-address {
  flex: 1;
  font-family: var(--font-mono);
  font-size: clamp(12.6px, 1.1vw, 15.3px);
  color: var(--fg);
  text-align: left;
  word-break: break-all;
}
.mail-copy-btn {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: clamp(10.8px, 0.85vw, 12.6px);
  color: var(--bg);
  background: var(--cyan);
  border: none;
  padding: 9px 14.4px;
  cursor: pointer;
  transition: filter 0.2s;
}
.mail-copy-btn:hover { filter: brightness(1.15); }
.mail-copy-btn.copied { background: var(--yellow); }

/* ---------- confetti ---------- */

#confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.confetti-piece { position: absolute; top: 0; }

/* ---------- contact ---------- */

#iletisim {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 126px 21.6px 90px;
  text-align: center;
  background:
    radial-gradient(ellipse 810px 468px at 50% 30%, color-mix(in srgb, var(--magenta) 14%, transparent), transparent 85%),
    var(--bg);
}
.contact-insert {
  font-family: var(--font-mono);
  font-size: clamp(15.3px, 1.4vw, 25.2px);
  letter-spacing: 0.3em;
  color: var(--green);
  margin-bottom: 28.8px;
  animation: blink 1.6s steps(1) infinite;
  position: relative;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(63px, 10vw, 144px);
  color: var(--magenta);
  margin-bottom: 28.8px;
}
.contact-text {
  font-family: var(--font-mono);
  font-size: clamp(16.2px, 1.6vw, 27px);
  color: var(--fg);
  opacity: 0.7;
  margin-bottom: 50.4px;
  max-width: 576px;
  margin-left: auto;
  margin-right: auto;
}
.contact-links { display: flex; gap: 28.8px; justify-content: center; flex-wrap: wrap; }
.contact-link { display: flex; flex-direction: column; align-items: center; gap: 12.6px; background: none; border: none; padding: 0; cursor: pointer; }
.contact-link:hover .contact-icon { filter: brightness(1.3); }
.contact-icon {
  width: clamp(64.8px, 6vw, 100.8px); height: clamp(64.8px, 6vw, 100.8px);
  border: 1.8px solid var(--cyan);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: clamp(14.4px, 1.3vw, 23.4px);
  color: var(--cyan);
}
.contact-label { font-family: var(--font-mono); font-size: clamp(10.8px, 0.85vw, 14.4px); color: var(--fg); opacity: 0.7; }

/* ---------- footer ---------- */

.site-footer { padding: 28.8px 21.6px; text-align: center; border-top: 0.9px solid var(--panel-line); }
.footer-copy { font-family: var(--font-mono); font-size: clamp(9.9px, 0.75vw, 12.6px); color: var(--fg); opacity: 0.5; letter-spacing: 0.05em; }
.footer-tag { font-family: var(--font-display); font-size: clamp(9px, 0.7vw, 11.7px); color: var(--yellow); opacity: 0.7; margin-top: 9px; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 12.6px; font-size: 9.9px; }
  .nav-links a:not(:last-child) { display: none; }
}
