:root {
  --bg: #030716;
  --panel: rgba(7, 13, 26, .88);
  --card: rgba(10, 16, 32, .94);
  --text: #f4f6ff;
  --muted: #bfc5d8;
  --purple: #a43dff;
  --purple2: #7e39ff;
  --blue: #1dbbff;
  --cyan: #2fe8ff;
  --pink: #ff55ca;
  --gold: #ffc93d;
  --radius: 22px;
  --line: rgba(102, 131, 219, .28);
  --shadow: 0 22px 60px rgba(0, 0, 0, .55);

  /* Hero ana fotoğraf ayarları: buradan da oynatabilirsin. */
  --hero-image-top: 18px;
  --hero-image-left: -78px;
  --hero-image-right: auto;
  --hero-image-bottom: auto;
  --hero-image-width: 690px;
  --hero-image-scale: 1;
}


* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 2%, rgba(155, 74, 255, .22), transparent 22rem),
    radial-gradient(circle at 22% 12%, rgba(25, 190, 255, .12), transparent 24rem),
    linear-gradient(180deg, #020611, #040816 45%, #020612);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.35) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(47,232,255,.35) 0 1px, transparent 1px);
  background-size: 180px 180px, 250px 250px;
  background-position: 20px 40px, 100px 80px;
  opacity: .17;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.page-wrap {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.1fr .95fr;
  gap: 42px;
  align-items: center;
  min-height: 650px;
  padding: 8px 10px 24px;
}

.hero-left { max-width: 520px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  color: #f1f2fb;
  background: rgba(255,255,255,.04);
  margin-bottom: 28px;
  font-size: 15px;
}
.eyebrow span { color: var(--gold); }

.hero-left h1 {
  font-size: clamp(46px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -2.4px;
  font-weight: 800;
  margin-bottom: 24px;
}
.hero-left .purple {
  color: var(--purple);
  text-shadow: 0 0 26px rgba(164,61,255,.4);
}
.hero-left .blue {
  color: var(--blue);
  text-shadow: 0 0 24px rgba(29,187,255,.4);
}
.hero-left p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 700;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary {
  background: linear-gradient(90deg, var(--purple2), var(--blue));
  box-shadow: 0 16px 35px rgba(22,184,255,.18);
}
.btn-secondary {
  border: 1px solid rgba(47,232,255,.35);
  background: rgba(6, 12, 24, .58);
}

.hero-right {
  position: relative;
  height: 500px;
}
.hero-right::after {
  content: "";
  position: absolute;
  left: 8px;
  right: -10px;
  bottom: 48px;
  height: 135px;
  background:
    linear-gradient(rgba(47,232,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47,232,255,.14) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: perspective(560px) rotateX(68deg);
  transform-origin: bottom;
  opacity: .5;
}

/* =========================================================
   HERO FOTOĞRAF
   Eski çizim elemanlarının yerine tek görsel basıyoruz.
   Hareket/büyütme için script.js içindeki heroResminiAyarla()
   bloğunu kullan. CSS üzerinden düzenlemek istersen yukarıdaki
   :root değişkenlerini de değiştirebilirsin.
   ========================================================= */
.hero-right {
  isolation: isolate;
  overflow: visible;
}

.hero-right::after {
  display: none;
}

.hero-art {
  position: absolute;
  top: var(--hero-image-top);
  left: var(--hero-image-left);
  right: var(--hero-image-right);
  bottom: var(--hero-image-bottom);
  width: var(--hero-image-width);
  max-width: none;
  z-index: 4;
  transform: scale(var(--hero-image-scale));
  transform-origin: center center;
  pointer-events: none;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 12% 8% 8% 8%;
  z-index: -1;
  border-radius: 42px;
  background: radial-gradient(circle at 50% 46%, rgba(29, 187, 255, .22), transparent 58%);
  filter: blur(28px);
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, .46));
}

.unity-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unity-logo-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.14));
}

.monitor-wrap {
  position: absolute;
  right: 52px;
  top: 58px;
  z-index: 3;
}
.monitor-frame {
  width: 370px;
  height: 235px;
  padding: 14px;
  border-radius: 18px;
  border: 2px solid rgba(47,232,255,.55);
  background: #071323;
  box-shadow: 0 0 38px rgba(29,187,255,.15), var(--shadow);
}
.screen-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  height: 100%;
}
.screen-code,
.screen-game {
  border-radius: 12px;
  overflow: hidden;
}
.screen-code {
  padding: 14px;
  background: #091427;
  font-family: Consolas, monospace;
  font-size: 11px;
}
.screen-code b { display: block; margin-bottom: 12px; color: #fff; }
.line { margin-bottom: 10px; }
.pink { color: #ff5ca7; }
.blue { color: #2bbdff; }
.yellow { color: #ffcd54; }
.green { color: #87ff9c; }
.screen-game {
  position: relative;
  background: linear-gradient(180deg, #57caff, #2c6ea7 50%, #1a3248 100%);
}
.cloud {
  position: absolute;
  height: 15px;
  background: rgba(255,255,255,.78);
  border-radius: 999px;
}
.cloud-1 { width: 48px; left: 18px; top: 18px; }
.cloud-2 { width: 40px; right: 24px; top: 38px; }
.platform {
  position: absolute;
  height: 28px;
  background: linear-gradient(180deg, #5a381e, #40200d);
  border-top: 8px solid #43b54d;
  border-radius: 6px;
}
.platform-1 { left: 18px; bottom: 64px; width: 112px; }
.platform-2 { right: 12px; bottom: 102px; width: 82px; }
.coin {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffd43f;
  box-shadow: 0 0 12px rgba(255,212,63,.8);
}
.coin-1 { left: 106px; top: 78px; }
.coin-2 { right: 40px; top: 70px; }
.character {
  position: absolute;
  left: 68px;
  bottom: 92px;
  width: 18px;
  height: 34px;
  border-radius: 12px 12px 6px 6px;
  background: #ff8a45;
}
.unity-logo {
  position: absolute;
  right: 12px;
  bottom: 6px;
  font-size: 44px;
  color: white;
}
.monitor-stand {
  width: 46px;
  height: 42px;
  background: #071323;
  margin: 0 auto;
}
.monitor-base {
  width: 140px;
  height: 16px;
  border-radius: 999px;
  margin: 0 auto;
  background: #071323;
  box-shadow: 0 0 16px rgba(47,232,255,.22);
}

.floating-box,
.ui-card {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(47,232,255,.38);
  background: rgba(8, 16, 30, .82);
  box-shadow: 0 0 28px rgba(164,61,255,.16);
}
.code-box {
  left: 40px;
  top: 112px;
  width: 106px;
  padding: 18px 16px;
  z-index: 4;
}
.code-symbol {
  text-align: center;
  color: var(--cyan);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 14px;
}
.code-box span {
  display: block;
  height: 4px;
  margin: 8px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.ui-card {
  right: 0;
  top: 76px;
  width: 114px;
  height: 165px;
  padding: 12px;
  z-index: 2;
}
.ui-thumb {
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(56,117,255,.35), rgba(164,61,255,.12));
  margin-bottom: 14px;
}
.ui-card i {
  display: block;
  height: 5px;
  margin: 10px 0;
  border-radius: 999px;
  background: rgba(255,255,255,.24);
}

.plant {
  position: absolute;
  left: 150px;
  bottom: 148px;
  width: 72px;
  height: 86px;
  z-index: 2;
}
.leaf {
  position: absolute;
  bottom: 28px;
  width: 20px;
  height: 46px;
  border-radius: 20px 20px 0 20px;
  background: linear-gradient(180deg, #4fcc65, #1a6d32);
}
.l1 { left: 10px; transform: rotate(-22deg); }
.l2 { left: 24px; height: 54px; }
.l3 { left: 40px; transform: rotate(24deg); }
.pot {
  position: absolute;
  bottom: 0;
  width: 50px;
  height: 36px;
  left: 11px;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, #1c283e, #0b1223);
}

.controller {
  position: absolute;
  left: 162px;
  bottom: 118px;
  width: 152px;
  height: 94px;
  border-radius: 48px 48px 34px 34px;
  background: linear-gradient(145deg, #0b1120, #10192b);
  box-shadow: 0 18px 45px rgba(0,0,0,.55), 0 0 22px rgba(164,61,255,.16);
  z-index: 5;
}
.controller::before,
.controller::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  top: 28px;
  border-radius: 50%;
  border: 1px solid rgba(47,232,255,.25);
  background: #0a1222;
}
.controller::before { left: 28px; }
.controller::after { right: 28px; }
.dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.d1 { right: 45px; top: 26px; background: #ff5ca7; }
.d2 { right: 29px; top: 39px; background: #2bbdff; }
.d3 { right: 60px; top: 39px; background: #33ffd0; }
.d4 { right: 45px; top: 54px; background: #a43dff; }

.keyboard {
  position: absolute;
  right: 66px;
  bottom: 78px;
  width: 300px;
  height: 54px;
  border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(47,232,255,.75) 0 4px, transparent 4px 12px),
    linear-gradient(145deg, #0a1220, #050911);
  box-shadow: 0 0 26px rgba(47,232,255,.22);
  transform: skewX(-8deg);
  z-index: 3;
}
.mouse {
  position: absolute;
  right: 0;
  bottom: 86px;
  width: 98px;
  height: 62px;
  border-radius: 50px 50px 34px 34px;
  background: #0a1120;
  border: 1px solid rgba(47,232,255,.35);
  box-shadow: inset 0 -10px 18px rgba(164,61,255,.25), 0 0 22px rgba(255,85,202,.12);
  z-index: 3;
}
.js-cube {
  position: absolute;
  right: 98px;
  bottom: 148px;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd958, #e2a900);
  color: #111;
  font-weight: 900;
  font-size: 22px;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 0 20px rgba(255,201,61,.28);
}
.globe {
  position: absolute;
  right: 8px;
  bottom: 145px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid var(--blue);
  box-shadow: 0 0 20px rgba(29,187,255,.22);
  z-index: 3;
}
.globe::before,
.globe::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.globe::before {
  inset: 10px;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}
.globe::after {
  inset: 0 28px;
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.section { margin-top: 26px; }
.section h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 28px;
  position: relative;
}
.section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -13px;
  transform: translateX(-50%);
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.skill-card {
  min-height: 230px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)), var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.unity-border { border-color: rgba(164,61,255,.35); }
.gold-border { border-color: rgba(255,201,61,.35); }
.pink-border { border-color: rgba(255,85,202,.35); }
.cyan-border { border-color: rgba(47,232,255,.35); }
.skill-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font-size: 44px;
  font-weight: 900;
}
.unity-icon { color: white; text-shadow: 0 0 20px rgba(255,255,255,.24); }
.js-icon {
  width: 64px; height: 64px; border-radius: 12px;
  background: linear-gradient(180deg, #ffe165, #df9a00);
  color: #111; font-size: 26px;
}
.ux-icon {
  width: 118px;
  height: 82px;
}

.ux-design-img {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(240,139,255,.22));
}
.mobile-icon {
  width: 148px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-bottom: 10px;
}

.mobile-web-img {
  display: block;
  width: 132px;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translateX(-2px);
  filter: drop-shadow(0 0 18px rgba(47,232,255,.22));
}
.skill-card h3 { font-size: 18px; margin-bottom: 12px; }
.skill-card p { color: var(--muted); font-size: 15px; line-height: 1.6; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card);
  box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.project-card:hover { transform: translateY(-4px); border-color: rgba(47,232,255,.5); }
.project-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #08101f;
}
.real-thumb { object-position: center; }
.site-thumb {
  width: 120%;
  aspect-ratio: 2.15 / 1;
  object-fit: cover;
  object-position: center center;
  padding: 0;
  background: #eef2f7;
}
.project-content {
  padding: 18px 18px 20px;
  background: rgba(6, 11, 23, .94);
}
.project-content h3 { font-size: 20px; margin-bottom: 8px; }
.project-content p { color: #d8deee; font-size: 15px; }
.mini-badge {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 4px;
  background: #f4c700; color: #111; font-weight: 900; font-size: 12px;
  margin-right: 6px;
}

.thumb-platform {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #337eb1 0 45%, #12233f 45% 100%);
}
.thumb-ground {
  position: absolute; bottom: 22px; height: 36px; border-top: 10px solid #45b64f;
  background: #4b2f1a; border-radius: 6px;
}
.thumb-ground.left { left: 0; width: 138px; }
.thumb-ground.right { right: 0; width: 110px; bottom: 36px; }
.thumb-tree {
  position: absolute; right: 38px; bottom: 46px; width: 18px; height: 54px; background: #6b4317;
}
.thumb-tree::before {
  content: ""; position: absolute; left: -20px; top: -28px; width: 60px; height: 46px; border-radius: 50%; background: #37a858;
}
.thumb-hero {
  position: absolute; left: 88px; bottom: 50px; width: 18px; height: 32px; border-radius: 12px 12px 4px 4px; background: #ef7b3d;
}
.thumb-coin {
  position: absolute; width: 14px; height: 14px; border-radius: 50%; background: #ffd141; box-shadow: 0 0 10px rgba(255,209,65,.8);
}
.thumb-coin.c1 { left: 120px; top: 32px; }
.thumb-coin.c2 { left: 150px; top: 58px; }
.thumb-coin.c3 { left: 188px; top: 40px; }

.thumb-voice {
  position: relative;
  background: radial-gradient(circle at center, rgba(47,232,255,.2), transparent 120px), linear-gradient(135deg, #08152d, #08101d);
}
.wave {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 150px; height: 70px;
}
.wave::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 7px, #1ee3ff 7px 11px, transparent 11px 18px);
  clip-path: polygon(0 60%, 8% 54%, 16% 72%, 24% 38%, 32% 78%, 40% 18%, 48% 82%, 56% 28%, 64% 58%, 72% 36%, 80% 70%, 88% 44%, 100% 56%, 100% 65%, 0 65%);
  filter: drop-shadow(0 0 14px rgba(30,227,255,.8));
}
.avatar {
  position: absolute; width: 38px; height: 38px; border-radius: 50%; border: 2px solid #2b6dff;
}
.a1 { left: 30px; top: 26px; }
.a2 { right: 30px; top: 26px; }
.a3 { left: 30px; bottom: 28px; }
.a4 { right: 30px; bottom: 28px; }

.thumb-web {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #edf4ff, #b9cae2);
}
.fake-page {
  width: 86%; height: 74%; border-radius: 10px; background: white; padding: 20px; color: #152033; box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.fake-page small { display: block; margin-bottom: 8px; color: #2d4057; }
.fake-page strong { display: block; margin-bottom: 22px; }
.buildings {
  height: 54px;
  background:
    linear-gradient(90deg, #cee0f9 0 22%, transparent 22% 28%, #8aa6ca 28% 42%, transparent 42% 48%, #6e8eb6 48% 70%, transparent 70%);
}

.more-link {
  width: fit-content;
  margin: 22px auto 0;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px dashed rgba(47,232,255,.45);
  color: #25d7ff;
  background: rgba(6, 12, 24, .55);
  font-weight: 700;
}

.contact-bar {
  margin-top: 42px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), var(--card);
  box-shadow: var(--shadow);
}
.contact-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(47,232,255,.35); color: var(--cyan); font-size: 36px;
  box-shadow: inset 0 0 22px rgba(164,61,255,.14);
}
.contact-copy h2 {
  font-size: 36px;
  margin-bottom: 8px;
}
.contact-copy h2 span { color: var(--purple); }
.contact-copy p { color: var(--muted); }
.contact-btn {
  min-width: 210px;
  height: 66px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  background: linear-gradient(90deg, #0a79ff, #8b40ff);
}

.footer {
  position: relative;
  text-align: center;
  padding: 26px 0 6px;
  color: #9ea8c0;
}
.socials {
  display: flex; justify-content: center; gap: 18px; margin-bottom: 12px;
}
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); color: white; font-weight: 800;
}

@media (max-width: 1080px) {
  .hero-panel { grid-template-columns: 1fr; }
  .hero-left { max-width: unset; }
  .hero-right { width: 100%; max-width: 620px; margin: 0 auto; }
  .hero-art {
    --hero-image-top: 0px;
    --hero-image-left: -36px;
    --hero-image-width: 680px;
  }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-bar { grid-template-columns: 1fr; text-align: center; }
  .contact-icon, .contact-btn { margin: 0 auto; }
}

@media (max-width: 700px) {
  .page-wrap { width: min(100% - 28px, 1140px); }
  .hero-left h1 { font-size: 44px; letter-spacing: -1.6px; }
  .hero-left p { font-size: 16px; }
  .btn { width: 100%; }
  .hero-right {
    height: 370px;
    transform: none;
    transform-origin: top center;
    overflow: visible;
  }
  .hero-art {
    --hero-image-top: 18px;
    --hero-image-left: 50%;
    --hero-image-width: min(620px, 156vw);
    transform: translateX(-50%) scale(var(--hero-image-scale));
  }
  .skills-grid, .project-grid { grid-template-columns: 1fr; }
  .contact-copy h2 { font-size: 28px; }
}

/* === FINAL MOBILE AND CONTACT FIX === */
img {
  max-width: 100%;
}

.contact-btn,
.btn {
  text-decoration: none;
  cursor: pointer;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .page-wrap {
    width: 100%;
    max-width: 100%;
    padding: 18px 16px 30px;
  }

  .hero-panel {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 24px;
    padding: 28px 0 14px;
    text-align: center;
  }

  .hero-left {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
    padding: 9px 14px;
  }

  .hero-left h1 {
    font-size: clamp(34px, 10vw, 50px);
    line-height: 1.08;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
  }

  .hero-left p {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
  }

  .hero-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    height: auto;
    padding: 15px 18px;
    font-size: 16px;
  }

  .hero-right {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 330px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
  }

  .hero-art {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: min(520px, 105vw) !important;
    transform: translate(-50%, -50%) scale(1) !important;
    transform-origin: center center !important;
  }

  .hero-photo {
    width: 100%;
    height: auto;
  }

  .section {
    margin-top: 34px;
  }

  .section h2 {
    font-size: clamp(28px, 8vw, 38px);
    margin-bottom: 22px;
    text-align: center;
  }

  .skills-grid,
  .project-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .skill-card,
  .project-card {
    width: 100%;
    max-width: 100%;
  }

  .skill-card {
    min-height: auto;
    padding: 28px 22px;
  }

  .skill-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .project-thumb,
  .real-thumb,
  .site-thumb {
    width: 100% !important;
    height: 205px !important;
    max-height: 205px !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0 !important;
    display: block;
  }

  .site-thumb {
    background: #edf2f8;
  }

  .project-content {
    padding: 18px 18px 20px;
  }

  .project-content h3 {
    font-size: 21px;
    line-height: 1.25;
  }

  .project-content p {
    font-size: 15px;
  }

  .more-link {
    width: 100%;
    text-align: center;
  }

  .contact-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
    margin-top: 34px;
    padding: 26px 18px;
  }

  .contact-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto;
    font-size: 32px;
  }

  .contact-copy h2 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.12;
  }

  .contact-copy p {
    font-size: 15px;
    line-height: 1.5;
  }

  .contact-btn {
    width: 100%;
    min-width: 0;
    height: 58px;
    font-size: 18px;
    border-radius: 14px;
    margin: 0;
  }

  .footer {
    padding-top: 22px;
  }

  .socials {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .page-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-panel {
    padding-top: 20px;
  }

  .hero-left h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-left p {
    font-size: 15px;
  }

  .hero-right {
    height: 250px;
    border-radius: 18px;
  }

  .hero-art {
    width: 105vw !important;
  }

  .skills-grid,
  .project-grid {
    gap: 16px;
  }

  .skill-card {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .skill-card h3 {
    font-size: 19px;
  }

  .skill-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .ux-icon,
  .mobile-icon {
    width: 96px !important;
    height: 70px !important;
  }

  .ux-design-img,
  .mobile-web-img {
    width: 96px !important;
  }

  .project-card {
    border-radius: 18px;
    overflow: hidden;
  }

  .project-thumb,
  .real-thumb,
  .site-thumb {
    height: 165px !important;
    max-height: 165px !important;
  }

  .project-content {
    padding: 16px;
  }

  .project-content h3 {
    font-size: 19px;
  }

  .contact-bar {
    border-radius: 18px;
    padding: 22px 16px;
  }

  .contact-copy h2 {
    font-size: 27px;
  }

  .contact-btn {
    height: 54px;
    font-size: 17px;
  }
}

