/* ==========================================================================
   BnG Yazılım — anasayfa deneyimi
   ==========================================================================

   KAPSAM: buradaki her kural `body.page-home` altındadır ve yalnızca
   anasayfaya özel bölümleri tanımlar — hero tuvali, petek tahta, telefon
   sahnesi, yol haritası gibi başka sayfada karşılığı olmayan parçalar.

   Renk paleti, yazı tipi yığını, başlık/altbilgi ve ortak bileşenlerin
   (buton, kart, form, SSS) görünümü assets/css/theme.css içindedir; o dosya
   sitenin tamamına uygulanır. Bu dosya silinse anasayfa sade kalır ama
   sitenin geri kalanıyla aynı dili konuşmayı sürdürür.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Belirteçler
   -------------------------------------------------------------------------- */

body.page-home {
  /* Palet, yazı tipi yığını ve style.css eşlemesi assets/css/theme.css
     içindedir — tüm sayfalar aynı belirteçleri kullanır. Burada yalnızca
     anasayfanın kendi ölçüleri var. */
  --hx-section: clamp(5rem, 13vw, 10.5rem);
  overflow-x: hidden;
}

/* Sayfa içi bağlantılarda başlığın altında kalmamak için. */
body.page-home :target { scroll-margin-top: 6rem; }

body.page-home .hx-wrap {
  width: min(100% - (var(--hx-gutter) * 2), var(--hx-wrap));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   2. Tipografi ilkelleri
   -------------------------------------------------------------------------- */

body.page-home h1, body.page-home h2,
body.page-home h3, body.page-home h4 {
  font-family: var(--hx-display-font);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
}

.page-home .hx-h1      { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-home .hx-h2      { font-size: clamp(2rem, 5vw, 3.5rem); }
.page-home .hx-h3      { font-size: clamp(1.25rem, 2.4vw, 1.75rem); margin: clamp(3rem, 7vw, 5rem) 0 clamp(1.25rem, 3vw, 2rem); }
.page-home .hx-display { font-size: clamp(2.5rem, min(9vw, 13vh), 7rem); line-height: .95; }

.page-home .hx-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hx-accent);
  margin-bottom: 1rem;
}

.page-home .hx-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--hx-muted);
  max-width: 62ch;
  margin: 1.25rem auto 0;
  text-wrap: pretty;
}
.page-home .hx-lead--left { margin-inline: 0; }

.page-home .hx-note {
  font-size: .88rem;
  color: var(--hx-muted);
  margin-top: 1rem;
}
.page-home .hx-note--center { text-align: center; max-width: 60ch; margin-inline: auto; }

.page-home .hx-link {
  color: var(--hx-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(46, 229, 157, .35);
  padding-bottom: 2px;
  transition: border-color .2s;
}
.page-home .hx-link:hover { border-color: var(--hx-accent); }

.page-home .hx-head { text-align: center; max-width: 46rem; margin-inline: auto; }

.page-home .hx-section {
  position: relative;
  padding-block: var(--hx-section);
}
.page-home .hx-section--muted { background: var(--hx-bg-2); }

/* --------------------------------------------------------------------------
   3. Butonlar — manyetik, sade, "candy" değil
   -------------------------------------------------------------------------- */

.page-home .hx-btn {
  --hx-btn-bg: transparent;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border: 1px solid var(--hx-line-str);
  border-radius: 999px;
  background: var(--hx-btn-bg);
  color: var(--hx-text);
  font: 600 .98rem/1 var(--hx-body-font);
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: transform .25s cubic-bezier(.2, .8, .2, 1),
              background-color .25s, border-color .25s, color .25s;
}
.page-home .hx-btn:hover { border-color: rgba(255, 255, 255, .4); }
.page-home .hx-btn:focus-visible {
  outline: 2px solid var(--hx-accent);
  outline-offset: 3px;
}

.page-home .hx-btn--primary {
  --hx-btn-bg: var(--hx-accent);
  border-color: transparent;
  color: #04150d;
  box-shadow: 0 10px 40px -12px rgba(46, 229, 157, .65);
}
.page-home .hx-btn--primary:hover { background: #46f0ad; }

.page-home .hx-btn--ghost  { background: rgba(255, 255, 255, .04); }
.page-home .hx-btn--quiet  { border-color: transparent; color: var(--hx-muted); padding-inline: .9rem; }
.page-home .hx-btn--quiet:hover { color: var(--hx-text); }

.page-home .hx-btn__play {
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: none;
}
.page-home .hx-btn__play::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-block: 4.5px solid transparent;
  transform: translateX(1px);
}

/* --------------------------------------------------------------------------
   4. Ön yükleyici
   -------------------------------------------------------------------------- */

.page-home .hx-preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-content: center;
  gap: 1.25rem;
  justify-items: center;
  background: var(--hx-bg);
  transition: opacity .6s ease, visibility .6s;
  /* Betik çalışmazsa perde kendi kendine kalkar. */
  animation: hx-preloader-auto .4s 1.4s forwards;
}
@keyframes hx-preloader-auto { to { opacity: 0; visibility: hidden; } }

.page-home .hx-preloader.is-done { opacity: 0; visibility: hidden; }

.page-home .hx-preloader__mark {
  display: flex;
  gap: .1em;
  font: 700 clamp(2.5rem, 8vw, 4rem)/1 var(--hx-display-font);
  letter-spacing: -.04em;
}
.page-home .hx-preloader__mark span {
  opacity: 0;
  animation: hx-pop .9s ease infinite;
}
.page-home .hx-preloader__mark span:nth-child(2) { animation-delay: .12s; color: var(--hx-accent); }
.page-home .hx-preloader__mark span:nth-child(3) { animation-delay: .24s; }
@keyframes hx-pop {
  0%, 100% { opacity: .15; transform: translateY(4px); }
  40%      { opacity: 1;   transform: translateY(-2px); }
}

.page-home .hx-preloader__label {
  font-size: .75rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--hx-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   5. Fare ışığı, bölüm rayı, ses düğmesi
   -------------------------------------------------------------------------- */

.page-home .hx-glow {
  position: fixed;
  top: 0; left: 0;
  width: 42rem; height: 42rem;
  margin: -21rem 0 0 -21rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle,
              rgba(46, 229, 157, .10) 0%,
              rgba(91, 140, 255, .07) 35%,
              transparent 68%);
  transition: opacity .5s;
  will-change: transform;
}
.page-home .hx-glow.is-on { opacity: 1; }

.page-home .hx-rail {
  position: fixed;
  right: clamp(.75rem, 2vw, 1.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.page-home .hx-rail.is-on { opacity: 1; visibility: visible; }
.page-home .hx-rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.page-home .hx-rail a {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .6rem;
  padding: .3rem 0;
  text-decoration: none;
  color: var(--hx-muted);
}
.page-home .hx-rail__dot {
  width: 22px; height: 2px;
  background: rgba(255, 255, 255, .22);
  border-radius: 2px;
  transition: width .3s, background-color .3s;
}
.page-home .hx-rail__label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
}
.page-home .hx-rail a:hover .hx-rail__label,
.page-home .hx-rail a:focus-visible .hx-rail__label { opacity: 1; transform: none; }
.page-home .hx-rail a.is-current .hx-rail__dot { width: 34px; background: var(--hx-accent); }
.page-home .hx-rail a.is-current { color: var(--hx-text); }

.page-home .hx-sound {
  position: fixed;
  left: clamp(.75rem, 2vw, 1.5rem);
  bottom: clamp(.75rem, 2vw, 1.5rem);
  z-index: 40;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--hx-line);
  border-radius: 50%;
  background: rgba(13, 17, 23, .7);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.page-home .hx-sound:focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 3px; }
.page-home .hx-sound__bars { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.page-home .hx-sound__bars i {
  width: 2px;
  height: 4px;
  background: var(--hx-muted);
  border-radius: 2px;
  transition: height .2s, background-color .2s;
}
.page-home .hx-sound[aria-pressed="true"] .hx-sound__bars i {
  background: var(--hx-accent);
  animation: hx-eq .9s ease-in-out infinite;
}
.page-home .hx-sound__bars i:nth-child(2) { animation-delay: .15s; }
.page-home .hx-sound__bars i:nth-child(3) { animation-delay: .3s; }
.page-home .hx-sound__bars i:nth-child(4) { animation-delay: .45s; }
@keyframes hx-eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.page-home .hx-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(6rem, 14vh, 9rem) clamp(5rem, 10vh, 7rem);
  overflow: hidden;
  isolation: isolate;
}

.page-home .hx-hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -2;
}

/* Ekranın alt ve üst kenarını karartan katman: harfler metnin arkasında
   kalsın, kontrast (dolayısıyla okunabilirlik) düşmesin. */
.page-home .hx-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 55% at 50% 45%, rgba(5, 5, 5, .28) 0%, rgba(5, 5, 5, .80) 72%),
    linear-gradient(180deg, var(--hx-bg) 0%, transparent 22%, transparent 72%, var(--hx-bg) 100%);
}

.page-home .hx-hero__inner { position: relative; text-align: center; }

.page-home .hx-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  background: rgba(21, 26, 33, .6);
  backdrop-filter: blur(10px);
  font-size: .8rem;
  color: var(--hx-muted);
  margin: 0 0 clamp(1rem, 3vh, 2.5rem);
}
.page-home .hx-badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--hx-accent);
  box-shadow: 0 0 0 0 rgba(46, 229, 157, .6);
  animation: hx-ping 2.4s ease-out infinite;
}
@keyframes hx-ping {
  0%   { box-shadow: 0 0 0 0 rgba(46, 229, 157, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(46, 229, 157, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 229, 157, 0); }
}

.page-home .hx-hero__title {
  /* Yükseklik de hesaba katılıyor: alçak ama geniş ekranlarda (dizüstü,
     yatay tablet) yalnızca vw'ye bakan başlık ekranı taşırıyordu. */
  font-size: clamp(2.4rem, min(8.5vw, 12vh), 6.5rem);
  line-height: .98;
  max-width: 18ch;
  margin-inline: auto;
}
/* Son kelime vurgulanır — cümlenin ağırlık merkezi orada. */
.page-home .hx-hero__title .hx-word:last-child { color: var(--hx-accent); }

.page-home .hx-hero__lead {
  font-size: clamp(1.02rem, 1.7vw, 1.3rem);
  line-height: 1.65;
  color: var(--hx-muted);
  max-width: 56ch;
  margin: clamp(1rem, 2.5vh, 2rem) auto 0;
  text-wrap: pretty;
}

.page-home .hx-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vh, 3rem);
}

.page-home .hx-marquee {
  position: absolute;
  bottom: 5.5rem;
  left: 0; right: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.page-home .hx-marquee__track {
  display: flex;
  width: max-content;
  animation: hx-slide 38s linear infinite;
  font: 600 clamp(.7rem, 1.1vw, .82rem)/1 var(--hx-num-font);
  letter-spacing: .32em;
  color: rgba(255, 255, 255, .18);
  white-space: nowrap;
}
@keyframes hx-slide { to { transform: translateX(-50%); } }

.page-home .hx-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--hx-muted);
  font-size: .68rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.page-home .hx-scroll__line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--hx-accent), transparent);
  animation: hx-drop 2s ease-in-out infinite;
}
/* Alçak ekranda hero'nun altındaki süsler içerikle çakışıyor — kaldırılıyor. */
@media (max-height: 660px) {
  .page-home .hx-marquee,
  .page-home .hx-scroll { display: none; }
  .page-home .hx-hero { min-height: auto; padding-block: 7rem 4rem; }
}

@keyframes hx-drop {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50%      { transform: scaleY(1);  transform-origin: top; opacity: 1; }
}

/* --------------------------------------------------------------------------
   7. Kartlar / ızgaralar
   -------------------------------------------------------------------------- */

.page-home .hx-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), transparent 45%),
    var(--hx-card);
  overflow: hidden;
  transition: border-color .3s, transform .3s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.page-home .hx-card::after {
  /* İmleç kartın üzerindeyken beliren yumuşak ışık. */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(18rem 18rem at var(--mx, 50%) var(--my, 0%),
              rgba(46, 229, 157, .12), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.page-home .hx-card:hover { border-color: var(--hx-line-str); }
.page-home .hx-card:hover::after { opacity: 1; }
.page-home .hx-card h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: .75rem; }
.page-home .hx-card p  { color: var(--hx-muted); line-height: 1.65; margin: 0; }
.page-home .hx-card--blue::after { background: radial-gradient(18rem 18rem at var(--mx, 50%) var(--my, 0%), rgba(91, 140, 255, .14), transparent 70%); }

.page-home .hx-card__index {
  display: block;
  font: 600 .8rem/1 var(--hx-num-font);
  color: var(--hx-accent);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.page-home .hx-mv {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.page-home .hx-card--tall { padding-block: clamp(2rem, 4vw, 3rem); }

.page-home .hx-values,
.page-home .hx-why,
.page-home .hx-features,
.page-home .hx-tech,
.page-home .hx-log,
.page-home .hx-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.page-home .hx-values   { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.page-home .hx-why      { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-top: clamp(2.5rem, 6vw, 4rem); }
.page-home .hx-features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.page-home .hx-tech     { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); margin-top: clamp(2.5rem, 6vw, 4rem); }
.page-home .hx-log      { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-top: clamp(2.5rem, 6vw, 4rem); }

.page-home .hx-value {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-left: 1px solid var(--hx-line);
  transition: border-color .3s;
}
.page-home .hx-value:hover { border-left-color: var(--hx-accent); }
.page-home .hx-value__num  { font: 600 .8rem/1 var(--hx-num-font); color: var(--hx-accent); }
.page-home .hx-value h4    { font-size: 1.1rem; margin: .85rem 0 .5rem; }
.page-home .hx-value p     { color: var(--hx-muted); margin: 0; line-height: 1.6; font-size: .95rem; }

/* --- Zaman çizelgesi ------------------------------------------------------ */

.page-home .hx-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(1.5rem, 4vw, 3rem);
  position: relative;
}
.page-home .hx-timeline::before {
  content: "";
  position: absolute;
  left: 0; top: .5rem; bottom: .5rem;
  width: 1px;
  background: linear-gradient(var(--hx-accent), var(--hx-accent-2), transparent);
  opacity: .45;
}
.page-home .hx-timeline__item {
  position: relative;
  padding-block: clamp(1rem, 2.5vw, 1.5rem);
  display: grid;
  gap: .35rem 2rem;
  grid-template-columns: 5rem 1fr;
}
.page-home .hx-timeline__item::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.5rem, 4vw, 3rem) * -1);
  top: calc(clamp(1rem, 2.5vw, 1.5rem) + .45em);
  width: 9px; height: 9px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--hx-accent);
  box-shadow: 0 0 0 4px rgba(46, 229, 157, .12);
}
.page-home .hx-timeline__year {
  font: 600 .95rem/1.4 var(--hx-num-font);
  color: var(--hx-accent);
  letter-spacing: .04em;
}
.page-home .hx-timeline__body h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.page-home .hx-timeline__body p  { color: var(--hx-muted); margin: 0; line-height: 1.65; }

@media (max-width: 40rem) {
  .page-home .hx-timeline__item { grid-template-columns: 1fr; }
}

/* --- İstatistikler -------------------------------------------------------- */

.page-home .hx-stats { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.page-home .hx-stat {
  padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
  border-top: 1px solid var(--hx-line);
}
.page-home .hx-stat__n {
  display: block;
  font: 700 clamp(2rem, 4.5vw, 3.25rem)/1 var(--hx-num-font);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 20%, var(--hx-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-home .hx-stat__label {
  display: block;
  margin-top: .6rem;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--hx-muted);
}

/* --------------------------------------------------------------------------
   8. Öne çıkan oyun
   -------------------------------------------------------------------------- */

.page-home .hx-section--game {
  background:
    radial-gradient(60% 45% at 85% 8%, rgba(91, 140, 255, .12), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(46, 229, 157, .08), transparent 70%),
    var(--hx-bg);
}

.page-home .hx-showcase {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 62rem) {
  .page-home .hx-showcase { grid-template-columns: 1.05fr .95fr; }
}

.page-home .hx-showcase__sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--hx-accent);
  margin: .75rem 0 0;
  font-family: var(--hx-display-font);
  letter-spacing: -.01em;
}

.page-home .hx-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 0;
  padding: 0;
}
.page-home .hx-chips li {
  padding: .35rem .8rem;
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  font: 500 .78rem/1.4 var(--hx-num-font);
  color: var(--hx-muted);
}

.page-home .hx-stores { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.page-home .hx-store {
  display: inline-flex;
  align-items: center;
  padding: .8rem 1.25rem;
  border: 1px solid var(--hx-line-str);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  color: var(--hx-text);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.page-home .hx-store--soon { opacity: .45; cursor: not-allowed; }

/* --- Telefon -------------------------------------------------------------- */

.page-home .hx-phone-stage { display: grid; justify-items: center; gap: 1rem; }

.page-home .hx-phone {
  position: relative;
  width: min(300px, 78vw);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #23282f, #0a0c0f);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .10),
    0 50px 90px -30px rgba(0, 0, 0, .9),
    0 0 90px -20px rgba(46, 229, 157, .25);
}
.page-home .hx-phone__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 20px;
  border-radius: 999px;
  background: #000;
  z-index: 2;
}
.page-home .hx-phone__screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(180deg, #0f141b, #070a0e);
}

.page-home .hx-scene {
  position: absolute;
  inset: 0;
  padding: 3.25rem 1rem 1.25rem;
  display: grid;
  align-content: start;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.page-home .hx-scene.is-active { opacity: 1; transform: none; }

/* Gerçek ekran görüntüsü varsa sahne çizim değil, görselin kendisidir:
   telefon ekranını tamamen kaplar, kenar boşluğu bırakmaz. */
.page-home .hx-scene--shot { padding: 0; display: block; }
.page-home .hx-scene--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .hx-scene__bar {
  display: flex;
  justify-content: space-between;
  font: 600 .7rem/1 var(--hx-num-font);
  letter-spacing: .1em;
  color: var(--hx-muted);
}
.page-home .hx-scene__word {
  text-align: center;
  font: 700 1.1rem/1 var(--hx-display-font);
  letter-spacing: .4em;
  color: var(--hx-accent);
}

.page-home .hx-versus { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.page-home .hx-versus__side { flex: 1; display: grid; gap: .4rem; }
.page-home .hx-versus__side b { font: 700 1.35rem/1 var(--hx-num-font); color: var(--hx-accent); }
.page-home .hx-versus__side i { height: 4px; border-radius: 4px; background: var(--hx-accent); display: block; }
.page-home .hx-versus__side--rival { text-align: right; }
.page-home .hx-versus__side--rival b { color: var(--hx-accent-2); }
.page-home .hx-versus__side--rival i { background: var(--hx-accent-2); width: 72%; margin-left: auto; }
.page-home .hx-versus__vs { font: 700 .7rem/1 var(--hx-num-font); color: var(--hx-muted); }

.page-home .hx-result { display: grid; justify-items: center; gap: .35rem; padding-top: 2rem; position: relative; }
.page-home .hx-result__ring {
  width: 92px; height: 92px;
  border-radius: 50%;
  border: 2px solid var(--hx-accent);
  box-shadow: 0 0 40px -6px rgba(46, 229, 157, .6);
  margin-bottom: .75rem;
}
.page-home .hx-result b     { font: 700 2rem/1 var(--hx-num-font); }
.page-home .hx-result small { color: var(--hx-muted); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }

.page-home .hx-phone__caption {
  font-size: .78rem;
  color: var(--hx-muted);
  text-align: center;
  max-width: 24rem;
  margin: 0;
}

/* --- Özellik kartları ----------------------------------------------------- */

.page-home .hx-feature {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r);
  background: var(--hx-card);
  transition: border-color .3s, transform .3s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.page-home .hx-feature:hover { border-color: var(--hx-line-str); }
.page-home .hx-feature__hex {
  display: grid;
  place-items: center;
  width: 42px; height: 46px;
  margin-bottom: 1rem;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: linear-gradient(160deg, rgba(46, 229, 157, .22), rgba(91, 140, 255, .18));
  font: 700 1.05rem/1 var(--hx-display-font);
  color: var(--hx-accent);
}
.page-home .hx-feature h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.page-home .hx-feature p  { color: var(--hx-muted); margin: 0; font-size: .92rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   9. Petek (hem telefon içindeki mini tahta hem oynanış demosu)
   -------------------------------------------------------------------------- */

/* Oyunun kendi paleti — hold_oynanis.png ekran görüntüsünden ölçüldü.
   Petek gövdesi lacivert, seçili hücre mavi, vurgular altın. Demonun oyuna
   benzemesi bu değişkenlerden gelir; tek yerden çevrilir. */
.page-home {
  --wd-hex:        #2b3848;
  --wd-hex-top:    #3a4b60;
  --wd-hex-edge:   #46586e;
  --wd-sel:        #5d94d0;
  --wd-sel-deep:   #3f6fa6;
  --wd-gold:       #edc757;
  --wd-gold-deep:  #a8791b;
  --wd-navy:       #1f2c52;
  --wd-navy-deep:  #13193f;
  --wd-green:      #8dc05c;
  --wd-ink:        #101c25;
}

.page-home .hx-comb {
  /* Hücre genişliği en fazla 56px; dar ekranda en geniş satır (5 hücre)
     sığacak şekilde küçülür. Ölçü yüzdeyle değil vw ile veriliyor: yükseklik
     de --cs'ten türediği için yüzde kullanmak döngüye girip tahtayı
     sıfır yükseklikte bırakıyordu. */
  --cs: min(56px, calc((100vw - 3.5rem) / 5.4));
  --gap: 5px;
  --sx: calc(var(--cs) + var(--gap));
  --sy: calc((var(--cs) * 1.06 + var(--gap)) * .78);
  position: relative;
  width: 100%;
  height: calc(var(--sy) * 4 + var(--cs) * 1.06);
  margin-inline: auto;
}
.page-home .hx-comb--mini { --cs: 42px; --gap: 4px; }

.page-home .hx-comb > * {
  position: absolute;
  width: var(--cs);
  height: calc(var(--cs) * 1.06);
  left: calc(50% + (var(--c) - var(--off)) * var(--sx) - var(--cs) / 2);
  top: calc(var(--r) * var(--sy));
  display: grid;
  place-items: center;
  /* Altıgen kenarı: dış katman açık kenar rengi, iç katman (::before) gövde.
     clip-path border'ı kırptığı için kenarlık iki katmanla veriliyor. */
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--wd-hex-edge);
  color: #fff;
  font: 700 clamp(1rem, 2.4vw, 1.35rem)/1 var(--hx-display-font);
  text-shadow: 0 2px 3px rgba(0, 0, 0, .55);
  user-select: none;
  -webkit-user-select: none;
  border: 0;
  padding: 0;
  transition: transform .18s;
}
.page-home .hx-comb > ::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  /* Üstten aşağı açılan gradyan oyundaki 2.5B "şeker" hissini verir. */
  background: linear-gradient(180deg, var(--wd-hex-top), var(--wd-hex) 55%, #212c39);
  transition: background-color .18s, background-image .18s;
}
.page-home .hx-comb > * { isolation: isolate; }

/* 19 hücrelik petek: satırlar 3 / 4 / 5 / 4 / 3.
   --c hücrenin satır içindeki sırası, --off satırın yarı genişliği. */
.page-home .hx-comb > :nth-child(1)  { --r: 0; --c: 0; --off: 1;   }
.page-home .hx-comb > :nth-child(2)  { --r: 0; --c: 1; --off: 1;   }
.page-home .hx-comb > :nth-child(3)  { --r: 0; --c: 2; --off: 1;   }
.page-home .hx-comb > :nth-child(4)  { --r: 1; --c: 0; --off: 1.5; }
.page-home .hx-comb > :nth-child(5)  { --r: 1; --c: 1; --off: 1.5; }
.page-home .hx-comb > :nth-child(6)  { --r: 1; --c: 2; --off: 1.5; }
.page-home .hx-comb > :nth-child(7)  { --r: 1; --c: 3; --off: 1.5; }
.page-home .hx-comb > :nth-child(8)  { --r: 2; --c: 0; --off: 2;   }
.page-home .hx-comb > :nth-child(9)  { --r: 2; --c: 1; --off: 2;   }
.page-home .hx-comb > :nth-child(10) { --r: 2; --c: 2; --off: 2;   }
.page-home .hx-comb > :nth-child(11) { --r: 2; --c: 3; --off: 2;   }
.page-home .hx-comb > :nth-child(12) { --r: 2; --c: 4; --off: 2;   }
.page-home .hx-comb > :nth-child(13) { --r: 3; --c: 0; --off: 1.5; }
.page-home .hx-comb > :nth-child(14) { --r: 3; --c: 1; --off: 1.5; }
.page-home .hx-comb > :nth-child(15) { --r: 3; --c: 2; --off: 1.5; }
.page-home .hx-comb > :nth-child(16) { --r: 3; --c: 3; --off: 1.5; }
.page-home .hx-comb > :nth-child(17) { --r: 4; --c: 0; --off: 1;   }
.page-home .hx-comb > :nth-child(18) { --r: 4; --c: 1; --off: 1;   }
.page-home .hx-comb > :nth-child(19) { --r: 4; --c: 2; --off: 1;   }

/* Seçili hücre: oyundaki mavi. Harf beyaz kalır (oyunda da öyle). */
.page-home .hx-cell.is-lit::before,
.page-home .hx-comb > .is-sel::before {
  background: linear-gradient(180deg, #74a8de, var(--wd-sel) 55%, var(--wd-sel-deep));
}
.page-home .hx-comb > .is-sel { transform: scale(1.06); }

.page-home .hx-comb--dim > * { opacity: .45; }

/* Doğru kelime: kısa yeşil parlama. */
.page-home .hx-comb > .is-ok::before {
  background: linear-gradient(180deg, #b6dd8a, var(--wd-green) 55%, #6d9a44);
}
/* Geçersiz kelime: kısa kırmızı parlama. */
.page-home .hx-comb > .is-bad::before {
  background: linear-gradient(180deg, #d97070, #b34747 55%, #8a3333);
}

/* --------------------------------------------------------------------------
   10. Oynanış demosu — oyunun kendi tahta ekranı
   Renkler ve yerleşim hold_oynanis.png ekran görüntüsünden ölçüldü:
   manzara zemin, altın kenarlı lacivert HUD hapları, ortada kelime kutusu,
   altında petek tahta.
   -------------------------------------------------------------------------- */

.page-home .hx-demo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid rgba(237, 199, 87, .28);
  border-radius: var(--hx-r-lg);
  /* Oyunun ilk bölge zemini. Üstüne koyu perde çekilir: harflerin okunurluğu
     manzaradan önce gelir (oyunda da tahta zemini karartılır). */
  background:
    linear-gradient(180deg, rgba(8, 14, 26, .88), rgba(8, 14, 26, .93)),
    url("../img/wordduel-board-bg.webp") center / cover no-repeat,
    var(--hx-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-areas: "hud" "board" "side" "legend";
}
@media (min-width: 56rem) {
  .page-home .hx-demo {
    grid-template-columns: 1.15fr .85fr;
    grid-template-areas:
      "hud    hud"
      "board  side"
      "legend legend";
  }
}
.page-home .hx-demo__hud    { grid-area: hud; }
.page-home .hx-demo__board  { grid-area: board; display: grid; gap: 1rem; align-content: start; }
.page-home .hx-demo__side   { grid-area: side; display: grid; gap: 1rem; align-content: start; }
.page-home .hx-demo__legend { grid-area: legend; }

.page-home .hx-demo__hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
}

/* HUD hapı: oyundaki altın kenarlı lacivert çip. */
.page-home .hx-hud {
  display: grid;
  gap: .3rem;
  justify-items: center;
  text-align: center;
  padding: .7rem .75rem;
  border: 2px solid var(--wd-gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #2a375e, var(--wd-navy) 55%, var(--wd-navy-deep));
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.page-home .hx-hud__k {
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wd-gold);
}
.page-home .hx-hud__v {
  font: 700 clamp(1.05rem, 3vw, 1.5rem)/1 var(--hx-num-font);
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .5);
}
.page-home .hx-hud__v.is-warn { color: #ff8a8a; }
.page-home .hx-hud__v.is-bump { animation: hx-bump .35s ease; }
@keyframes hx-bump { 50% { transform: scale(1.18); color: var(--wd-gold); } }

/* Kelime kutusu: oyunun tahtanın üstündeki altın kenarlı lacivert kapsülü.
   Boşken de durur — yoksa tahta her kelimede yukarı aşağı zıplar. */
.page-home .hx-demo__trace {
  min-height: 1.75rem;
  margin: 0 auto;
  width: min(100%, 26rem);
  padding: .6rem 1.25rem;
  border: 2px solid var(--wd-gold);
  border-radius: 999px;
  background: linear-gradient(180deg, #2a375e, var(--wd-navy) 55%, var(--wd-navy-deep));
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .10);
  text-align: center;
  font: 700 1.05rem/1.6 var(--hx-display-font);
  letter-spacing: .3em;
  text-indent: .3em;          /* son harfin sağındaki boşluğu dengeler */
  color: var(--wd-green);
  text-shadow: 0 2px 3px rgba(0, 0, 0, .5);
}

.page-home .hx-wordlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.page-home .hx-wordlist li {
  padding: .4rem .85rem;
  border: 1px solid rgba(237, 199, 87, .35);
  border-radius: 999px;
  background: rgba(19, 25, 63, .55);
  font: 600 .82rem/1 var(--hx-num-font);
  letter-spacing: .08em;
  color: #c3cbdd;
  transition: color .25s, border-color .25s, background-color .25s;
}
/* Bulunan kelime: oyundaki yeşil "bulundu" sinyali. */
.page-home .hx-wordlist li.is-found {
  color: var(--wd-green);
  border-color: rgba(141, 192, 92, .55);
  background: rgba(141, 192, 92, .12);
}
.page-home .hx-wordlist li.is-found span { text-decoration: line-through; }
/* Oyun başlamadan önce kelimeler gizlenir — yoksa bulmaca kalmaz. */
.page-home .hx-demo:not(.is-live):not(.is-over) .hx-wordlist li span { filter: blur(5px); }

/* Manzara zeminin üzerinde okunurluk: yardımcı metinler bir tık açık ve
   koyu gölgeli — arkasına ayrı bir kutu koymak "oyun ekranı" hissini bozardı. */
.page-home .hx-demo__hint,
.page-home .hx-demo__msg {
  color: #cbd4e2;
  font-size: .9rem;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85);
}
.page-home .hx-demo__msg.is-ok  { color: var(--wd-green); }
.page-home .hx-demo__msg.is-bad { color: #ff8a8a; }

.page-home .hx-demo__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(237, 199, 87, .18);
  font-size: .8rem;
  color: var(--hx-muted);
}
.page-home .hx-demo__legend span { display: inline-flex; align-items: center; gap: .5rem; }
.page-home .hx-demo__legend i {
  width: 14px; height: 15px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--wd-hex);
}
.page-home .hx-demo__legend i.is-ok  { background: var(--wd-green); }
.page-home .hx-demo__legend i.is-sel { background: var(--wd-sel); }
.page-home .hx-demo__legend i.is-no  { background: #b34747; }

/* --------------------------------------------------------------------------
   11. Teknoloji
   -------------------------------------------------------------------------- */

.page-home .hx-tech__item {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 60%);
  transition: border-color .3s, background-color .3s;
}
.page-home .hx-tech__item:hover { border-color: rgba(91, 140, 255, .4); }
.page-home .hx-tech__glyph { display: block; width: 46px; margin-bottom: 1rem; }
.page-home .hx-tech__glyph svg { width: 100%; height: auto; display: block; }
.page-home .hx-tech__glyph polygon {
  fill: none;
  stroke: var(--hx-accent-2);
  stroke-width: 1.5;
  stroke-dasharray: 128;
  stroke-dashoffset: 128;
  opacity: .8;
}
.page-home .hx-tech__glyph circle { fill: var(--hx-accent); opacity: 0; transform-origin: 50% 50%; }
.page-home [data-revealed] .hx-tech__glyph polygon { animation: hx-trace 1.1s ease forwards; }
.page-home [data-revealed] .hx-tech__glyph circle  { animation: hx-dot .5s .7s ease forwards; }
@keyframes hx-trace { to { stroke-dashoffset: 0; } }
@keyframes hx-dot   { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.page-home .hx-tech__item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.page-home .hx-tech__item p  { color: var(--hx-muted); margin: 0; font-size: .92rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   12. Felsefe
   -------------------------------------------------------------------------- */

.page-home .hx-section--phi {
  position: relative;
  overflow: hidden;
  background: var(--hx-bg-2);
  padding-block: clamp(6rem, 16vw, 12rem);
}
.page-home .hx-phi__bg {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(40% 40% at 20% 25%, rgba(46, 229, 157, .16), transparent 70%),
    radial-gradient(45% 45% at 80% 70%, rgba(91, 140, 255, .16), transparent 70%);
  filter: blur(20px);
  will-change: transform;
}
.page-home .hx-phi { position: relative; text-align: center; }
.page-home .hx-quote {
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  max-width: 34ch;
  border: 0;
  padding: 0;
  font: 400 clamp(1.15rem, 2.6vw, 1.75rem)/1.5 var(--hx-display-font);
  letter-spacing: -.01em;
  color: var(--hx-text);
  text-wrap: balance;
}
.page-home .hx-quote::before { content: "“"; color: var(--hx-accent); }
.page-home .hx-quote::after  { content: "”"; color: var(--hx-accent); }
.page-home .hx-phi__body {
  max-width: 56ch;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  color: var(--hx-muted);
  line-height: 1.75;
}
.page-home .hx-phi__steps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 2rem;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: 0;
  counter-reset: step;
}
.page-home .hx-phi__steps li {
  counter-increment: step;
  font: 600 .85rem/1 var(--hx-num-font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hx-muted);
}
.page-home .hx-phi__steps li::before { content: "0" counter(step) " "; color: var(--hx-accent); }

/* --------------------------------------------------------------------------
   13. Yol haritası
   -------------------------------------------------------------------------- */

.page-home .hx-road {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.page-home .hx-road__item {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 48rem) {
  .page-home .hx-road__item { grid-template-columns: 8rem 1fr; }
}
.page-home .hx-road__year {
  font: 700 clamp(1.75rem, 4vw, 2.5rem)/1 var(--hx-num-font);
  color: rgba(255, 255, 255, .16);
  letter-spacing: -.03em;
}
.page-home .hx-road__card {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r);
  background: var(--hx-card);
}
.page-home .hx-road__state {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, .35);
  background: rgba(91, 140, 255, .10);
  color: #a8c1ff;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.page-home .hx-road__card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.page-home .hx-road__card p  { color: var(--hx-muted); margin: 0; line-height: 1.65; }

/* --------------------------------------------------------------------------
   14. Günlük
   -------------------------------------------------------------------------- */

.page-home .hx-log__item {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--hx-line);
  transition: background-color .3s;
}
.page-home .hx-log__item:hover { background: rgba(255, 255, 255, .02); }
.page-home .hx-log__tag {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--hx-accent);
  margin-bottom: .75rem;
}
.page-home .hx-log__item h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.page-home .hx-log__item p  { color: var(--hx-muted); margin: 0; line-height: 1.65; font-size: .95rem; }

/* --------------------------------------------------------------------------
   15. Topluluk
   -------------------------------------------------------------------------- */

.page-home .hx-section--join { background: var(--hx-bg-2); overflow: hidden; }
.page-home .hx-join {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 56rem) {
  .page-home .hx-join { grid-template-columns: 1.1fr .9fr; }
}
.page-home .hx-join__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-home .hx-social { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 0; padding: 0; }
.page-home .hx-social a {
  display: inline-block;
  padding: .55rem 1.1rem;
  border: 1px solid var(--hx-line);
  border-radius: 999px;
  color: var(--hx-text);
  text-decoration: none;
  font-size: .88rem;
}
.page-home .hx-join__art { display: grid; place-items: center; will-change: transform; }
.page-home .hx-orb {
  width: min(320px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, rgba(46, 229, 157, .55), transparent 55%),
    radial-gradient(circle at 70% 72%, rgba(91, 140, 255, .5), transparent 58%),
    #0a0e13;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, .8), 0 0 120px -30px rgba(46, 229, 157, .5);
  animation: hx-float 9s ease-in-out infinite;
}
@keyframes hx-float {
  0%, 100% { transform: translateY(-8px) rotate(0deg); }
  50%      { transform: translateY(10px) rotate(6deg); }
}

/* --------------------------------------------------------------------------
   16. İletişim
   -------------------------------------------------------------------------- */

.page-home .hx-contact {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.page-home .hx-contact__card {
  position: relative;
  display: block;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--hx-line);
  border-radius: var(--hx-r-lg);
  background: var(--hx-card);
  color: inherit;
  text-decoration: none;
  transition: border-color .3s, transform .3s cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}
.page-home .hx-contact__card:hover { border-color: var(--hx-line-str); }
.page-home .hx-contact__card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.page-home .hx-contact__card p,
.page-home .hx-contact__card address {
  color: var(--hx-muted);
  font-style: normal;
  line-height: 1.7;
  margin: 0 0 .75rem;
}
.page-home .hx-contact__go {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2rem);
  right: clamp(1.5rem, 3vw, 2rem);
  color: var(--hx-accent);
  transition: transform .3s;
}
.page-home .hx-contact__card:hover .hx-contact__go { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   17. Ortaya çıkış animasyonları
   -------------------------------------------------------------------------- */

/* JavaScript varsa gövdeye `hx-js` eklenir; yalnızca o zaman gizleyerek
   başlarız. Betik yüklenmezse içerik hiçbir zaman görünmez kalmaz. */
.hx-js.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.2, .8, .2, 1),
              transform .8s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.hx-js.page-home [data-reveal][data-revealed] { opacity: 1; transform: none; }

.hx-js.page-home .hx-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(.5em) rotate(2deg);
  transition: opacity .7s cubic-bezier(.2, .8, .2, 1),
              transform .7s cubic-bezier(.2, .8, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.hx-js.page-home [data-revealed] .hx-word { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. Erişilebilirlik ve hareket tercihi
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hx-js.page-home [data-reveal] { opacity: 1; transform: none; }
  .hx-js.page-home .hx-word      { opacity: 1; transform: none; }
  .page-home .hx-glow,
  .page-home .hx-marquee { display: none; }
  .page-home .hx-preloader { animation: none; opacity: 0; visibility: hidden; }
}

/* Tilt, manyetik etki ve bölüm rayı yalnızca imleçli ve geniş ekranlarda
   anlamlı; dokunmatikte ray parmağın altında kalıyor. */
@media (hover: none), (max-width: 900px) {
  .page-home .hx-glow, .page-home .hx-rail { display: none; }
}

.page-home :focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 3px; }

/* --------------------------------------------------------------------------
   19. Baskı
   -------------------------------------------------------------------------- */

@media print {
  .page-home .hx-preloader,
  .page-home .hx-glow,
  .page-home .hx-rail,
  .page-home .hx-sound,
  .page-home .hx-marquee,
  .page-home .hx-hero__canvas,
  .page-home .hx-demo { display: none !important; }
  .page-home { background: #fff; color: #000; }
}
