@layer legacy {
/* ===================== TOKENS ===================== */
:root{
  --primary:#965FF1;
  --primary-light:#CCABE9;
  --primary-dark:#5B2E9E;
  --bg:#0B0B0F;
  --surface:#14141B;
  --surface-2:#1A1A23;
  --border:rgba(150,95,241,.18);
  --border-strong:rgba(150,95,241,.4);
  --text:#E8E8F0;
  --text-dim:#9C9CAE;
  --text-faint:#6B6B7D;
  --radius:18px;
  --radius-sm:12px;
  --shadow-glow:0 0 60px rgba(150,95,241,.25);
  --ff:'Sora', system-ui, -apple-system, sans-serif;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--ff);
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  position:relative;
}

/* ===== sayfa geneli arka plan videosu (sabit, tüm sayfa boyunca kayarken görünür) ===== */
.site-video-bg{
  position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none;
}
.site-video-bg video{
  width:100%; height:100%; object-fit:cover; object-position:50% 45%;
  image-rendering:crisp-edges; image-rendering:pixelated;
}
.site-video-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(11,11,15,.78) 0%, rgba(11,11,15,.85) 50%, rgba(11,11,15,.78) 100%),
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(11,11,15,.3), transparent 60%);
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:pointer; background:none; border:none; color:inherit;}
.container{width:100%; max-width:1220px; margin:0 auto; padding:0 24px;}

/* ===================== BACKGROUND FX ===================== */
.bg-glow{
  position:fixed; border-radius:50%; filter:blur(120px); pointer-events:none; z-index:0;
}
.bg-glow--1{
  width:600px; height:600px; top:-200px; right:-150px;
  background:radial-gradient(circle, rgba(150,95,241,.35), transparent 70%);
}
.bg-glow--2{
  width:500px; height:500px; bottom:10%; left:-200px;
  background:radial-gradient(circle, rgba(204,171,233,.18), transparent 70%);
}
.noise-overlay{
  position:fixed; inset:0; pointer-events:none; z-index:1; opacity:.03;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================== HEADER ===================== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:16px 24px 0;
  transition:padding .3s ease;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  max-width:1220px; margin:0 auto;
  padding:10px 14px 10px 18px; border-radius:18px;
  background:rgba(13,12,18,.68);
  border:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  box-shadow:0 12px 36px rgba(0,0,0,.2);
  transition:background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled .header-inner{
  background:rgba(13,12,18,.9);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 14px 42px rgba(0,0,0,.3);
}
.site-header.is-scrolled{padding-top:10px;}

.brand{display:flex; align-items:center; gap:10px;}
.brand-mark{filter:drop-shadow(0 0 10px rgba(150,95,241,.5));}
.brand-name{font-weight:700; font-size:1.1rem; letter-spacing:.02em;}
.brand-name em{font-style:normal; color:var(--primary-light);}

.main-nav{
  display:flex; align-items:center; gap:28px;
}
.main-nav a{
  position:relative; font-size:.86rem; color:var(--text-dim); font-weight:550;
  padding:10px 0;
  transition:color .2s ease;
}
.main-nav a::after{
  content:''; position:absolute; left:0; right:0; bottom:4px; height:2px;
  border-radius:2px; background:var(--primary-light); transform:scaleX(0);
  transition:transform .2s ease;
}
.main-nav a:hover,.main-nav a.is-active{color:#fff;}
.main-nav a:hover::after,.main-nav a.is-active::after{transform:scaleX(1);}

.header-actions{display:flex; align-items:center; gap:8px;}

/* ---------- auth-nav (giriş durumu göstergesi, js/auth-nav.js ile doldurulur) ---------- */
.auth-nav-slot{display:flex; align-items:center; gap:6px;}
.auth-nav-link{
  min-height:38px; padding:9px 14px; border-radius:10px; white-space:nowrap;
  background:transparent; border:1px solid rgba(255,255,255,.1); box-shadow:none;
  font-family:var(--ff); font-size:.78rem; font-weight:650; letter-spacing:0;
  text-transform:none; text-shadow:none; filter:none;
}
.auth-nav-link.btn--primary{background:var(--primary); border-color:var(--primary);}
.auth-nav-link.btn--ghost{color:var(--text-dim);}
.auth-nav-link:hover{transform:translateY(-1px); filter:none; border-color:rgba(204,171,233,.48); color:#fff;}
.header-icon-action{
  width:38px; height:38px; flex:0 0 38px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:10px; border:1px solid rgba(255,255,255,.1); color:var(--primary-light);
  background:rgba(150,95,241,.08); transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.header-icon-action svg{width:19px; height:19px; fill:currentColor;}
.header-icon-action:hover{transform:translateY(-1px); background:rgba(150,95,241,.18); border-color:rgba(204,171,233,.45);}
.auth-user-menu{position:relative;}
.auth-user-trigger{
  display:flex; align-items:center; gap:8px; padding:6px 12px 6px 6px; border-radius:999px;
  background:rgba(150,95,241,.08); border:1px solid var(--border); color:var(--text);
  font-size:.85rem; font-weight:600; transition:background .2s ease, border-color .2s ease;
}
.auth-user-trigger:hover{background:rgba(150,95,241,.15); border-color:var(--border-strong);}
.auth-user-trigger img{width:26px; height:26px; border-radius:50%; object-fit:cover;}
.auth-user-dropdown{
  position:absolute; top:calc(100% + 10px); right:0; min-width:180px;
  background:var(--surface-2); border:1px solid var(--border-strong); border-radius:var(--radius-sm);
  box-shadow:0 16px 40px rgba(0,0,0,.4); padding:6px;
  opacity:0; visibility:hidden; transform:translateY(-6px); transition:all .18s ease; z-index:200;
}
.auth-user-menu.is-open .auth-user-dropdown{opacity:1; visibility:visible; transform:translateY(0);}
.auth-user-dropdown a, .auth-user-dropdown button{
  display:block; width:100%; text-align:left; padding:9px 12px; border-radius:8px;
  font-size:.85rem; font-weight:500; color:var(--text-dim); transition:background .15s ease, color .15s ease;
}
.auth-user-dropdown a:hover, .auth-user-dropdown button:hover{background:rgba(150,95,241,.1); color:var(--text);}

.nav-toggle{
  display:none; flex-direction:column; gap:5px; width:38px; height:38px;
  align-items:center; justify-content:center;
}
.nav-toggle span{
  width:20px; height:2px; background:var(--text); border-radius:2px; transition:all .25s ease;
}

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:15px 30px; border-radius:999px; font-size:.85rem;
  transition:transform .2s ease, filter .2s ease;
  white-space:nowrap; border:0;
  background:url('../assets/btn-bg.webp') center/100% 100% no-repeat;
  font-family:'Luckiest Guy', 'Sora', system-ui, sans-serif; font-weight:400;
  letter-spacing:.03em; text-transform:uppercase;
  color:#fff;
  text-shadow:
    -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000,
    -2px 0 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000,
    0 3px 3px rgba(0,0,0,.4);
}
.btn:hover{transform:translateY(-2px); filter:brightness(1.12);}
.btn--primary{}
.btn--outline{}
.btn--ghost{padding:15px 30px;}
.btn--lg{padding:19px 42px; font-size:1.02rem;}
.btn--block{width:100%;}

.hide-mobile{display:inline-flex;}

/* Navbar oturum aksiyonları, genel oyun temalı butonlardan daha sade tutulur. */
.header-actions .auth-nav-link{
  min-height:38px; padding:9px 14px; border-radius:10px;
  background:none; border:1px solid rgba(255,255,255,.1); box-shadow:none;
  font-family:var(--ff); font-size:.78rem; font-weight:650; letter-spacing:0;
  text-transform:none; text-shadow:none;
}
.header-actions .auth-nav-link.btn--primary{background:var(--primary); border-color:var(--primary);}
.header-actions .auth-nav-link.btn--ghost{background:transparent; color:var(--text-dim);}
.header-actions .auth-nav-link:hover{transform:translateY(-1px); filter:none; border-color:rgba(204,171,233,.48); color:#fff;}

/* ===================== HERO ===================== */
.hero{
  position:relative; min-height:100vh; display:flex; flex-direction:column;
  align-items:center; justify-content:center; padding:140px 0 80px; overflow:hidden;
}
.hero-inner{position:relative; z-index:2; text-align:center; max-width:820px; margin:0 auto;}

.badge{
  display:inline-flex; align-items:center; gap:8px; padding:7px 16px;
  border:1px solid var(--border-strong); border-radius:999px; font-size:.82rem;
  color:var(--primary-light); background:rgba(150,95,241,.06); margin-bottom:28px;
}
.badge .dot{width:6px; height:6px; border-radius:50%; background:#7CF29C; box-shadow:0 0 8px #7CF29C;}

.hero h1{
  font-size:clamp(2.4rem, 5.5vw, 4.2rem); font-weight:700; line-height:1.12;
  letter-spacing:-.02em; margin-bottom:24px;
}
.grad-text{
  background:linear-gradient(90deg, var(--primary-light), var(--primary));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  transition:opacity .3s ease;
}
.grad-text.font-cycle-swap{opacity:0;}
.hero-sub{
  font-size:clamp(1rem, 1.6vw, 1.15rem); color:var(--text-dim); max-width:620px;
  margin:0 auto 36px; line-height:1.7;
}
.hero-cta{display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:64px;}

/* ===== CrystalPlugins İstatistik Paneli & Karakterler ===== */
.crystal-stats-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 50px auto 30px;
  width: 100%;
  max-width: 580px;
  box-sizing: border-box;
  user-select: none;
}

.crystal-board {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 24px 16px;
  background: rgba(14, 11, 24, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(147, 51, 234, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
  overflow: hidden;
}

/* enchanted shimmer — köşegen ışık huzmesi periyodik olarak kayar */
.crystal-board::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 38%,
    rgba(216, 180, 254, 0.16) 47%,
    rgba(192, 132, 252, 0.32) 50%,
    rgba(216, 180, 254, 0.16) 53%,
    transparent 62%,
    transparent 100%
  );
  background-size: 250% 250%;
  background-position: -60% -60%;
  animation: board-shimmer 6s ease-in-out infinite;
  animation-delay: 1.2s;
}
@keyframes board-shimmer {
  0%   { background-position: -60% -60%; }
  35%  { background-position: 160% 160%; }
  100% { background-position: 160% 160%; }
}

/* tabelanın arkasında çok hafif süzülen toz zerrecikleri */
.stat-dust{
  position: absolute; z-index: 1; pointer-events: none;
  width: 3px; height: 3px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,180,254,.9), rgba(168,85,247,0));
  box-shadow: 0 0 4px rgba(168,85,247,.8);
  opacity: 0;
  animation: dust-rise 7s ease-in infinite;
}
.stat-dust:nth-child(1){ left:12%; bottom:6px; animation-delay:0s; }
.stat-dust:nth-child(2){ left:34%; bottom:2px; animation-delay:1.6s; }
.stat-dust:nth-child(3){ left:58%; bottom:8px; animation-delay:3.1s; }
.stat-dust:nth-child(4){ left:76%; bottom:4px; animation-delay:4.4s; }
.stat-dust:nth-child(5){ left:92%; bottom:10px; animation-delay:2.3s; }
@keyframes dust-rise{
  0%{ opacity:0; transform:translateY(0) scale(.6); }
  15%{ opacity:.9; }
  80%{ opacity:.5; }
  100%{ opacity:0; transform:translateY(-70px) scale(1.1); }
}

.crystal-board:hover {
  transform: translateY(-2px);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.7),
    0 0 35px rgba(168, 85, 247, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.board-top-sheen {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
  border-radius: 2px;
  pointer-events: none;
}

.stud {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #a855f7;
  border: 1px solid #e9d5ff;
  box-shadow: 0 0 8px #a855f7;
  transform: rotate(45deg);
  pointer-events: none;
}
.stud-tl { top: 8px; left: 8px; }
.stud-tr { top: 8px; right: 8px; }
.stud-bl { bottom: 8px; left: 8px; }
.stud-br { bottom: 8px; right: 8px; }

.stat-column {
  position: relative; z-index: 2;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--ff);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  justify-content: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-number .accent-plus {
  color: #c084fc;
  font-size: 1.35rem;
  margin-left: 2px;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.8);
}

.stat-title {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #f1f5f9;
}

.stat-subtitle {
  margin-top: 2px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #94a3b8;
}

.stat-divider {
  position: relative; z-index: 2;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(168, 85, 247, 0.35), transparent);
}

.char-chicken-jockey {
  position: absolute;
  top: -85px;
  left: -20px;
  width: 130px;
  height: 130px;
  z-index: 3;
  pointer-events: none;
  animation: floatBounce 4s ease-in-out infinite;
}

.char-chicken-jockey img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

.char-sniffer {
  position: absolute;
  bottom: -42px;
  right: -55px;
  width: 150px;
  height: auto;
  z-index: 3;
  pointer-events: none;
  transform: scaleX(-1);
}

.char-sniffer img {
  width: 100%;
  height: auto;
  object-fit: contain;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@media (max-width: 640px) {
  .crystal-stats-wrapper {
    max-width: 90%;
  }
  .char-chicken-jockey {
    width: 90px;
    height: 90px;
    top: -60px;
    left: -10px;
  }
  .char-sniffer {
    width: 90px;
    bottom: -26px;
    right: -34px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-title {
    font-size: 0.7rem;
  }
  .stat-subtitle {
    font-size: 0.6rem;
  }
}

.scroll-cue{
  position:absolute; bottom:90px; left:50%; transform:translateX(-50%); z-index:2;
  width:26px; height:42px; border:1px solid var(--border-strong); border-radius:14px;
}
.scroll-cue span{
  display:block; width:4px; height:8px; background:var(--primary-light); border-radius:2px;
  margin:7px auto 0; animation:scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{0%{opacity:1; transform:translateY(0);} 70%{opacity:0; transform:translateY(14px);} 100%{opacity:0;}}

/* hero background — Minecraft sahnesi, pikseller korunur (blur yok, nearest-neighbor upscale) */
.hero-bg{position:absolute; inset:0; z-index:0; overflow:hidden;}
.hero-bg img, .hero-bg video{
  width:100%; height:100%; object-fit:cover; object-position:50% 55%;
  image-rendering:crisp-edges; image-rendering:pixelated;
}
.hero-bg-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(11,11,15,.5) 0%, rgba(11,11,15,.32) 30%, rgba(11,11,15,.4) 55%, rgba(11,11,15,.6) 85%, rgba(11,11,15,.8) 100%),
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(11,11,15,.3), transparent 70%);
}
.hero-bg-vignette{
  position:absolute; inset:0;
  box-shadow:inset 0 0 160px 50px rgba(0,0,0,.6);
  background:
    radial-gradient(ellipse 85% 65% at 50% 22%, transparent 30%, rgba(11,11,15,.5) 100%),
    linear-gradient(180deg, transparent 55%, rgba(11,11,15,.35) 100%),
    linear-gradient(90deg, rgba(11,11,15,.35), transparent 22%, transparent 78%, rgba(11,11,15,.35));
}

/* hero-snapshot: gerçek boyutuna yakın "oyun içi" çerçevesi — asla native çözünürlüğün üstüne çıkarılmaz, pikseller kesinlikle bozulmaz */
.hero-snapshot{
  position:absolute; z-index:2; right:4%; top:15%;
  width:min(28vw, 400px); border-radius:14px; overflow:hidden;
  border:2px solid rgba(150,95,241,.45);
  box-shadow:0 20px 50px rgba(0,0,0,.55), 0 0 40px rgba(150,95,241,.25);
  animation:snapshot-float 6s ease-in-out infinite;
}
.hero-snapshot img{
  display:block; width:100%; height:auto;
  image-rendering:crisp-edges; image-rendering:pixelated;
}
.hero-snapshot-tag{
  position:absolute; left:10px; bottom:10px; z-index:1;
  display:flex; align-items:center; gap:6px;
  padding:4px 10px; border-radius:999px; font-size:.68rem; font-weight:700;
  background:rgba(11,11,15,.7); backdrop-filter:blur(6px);
  border:1px solid rgba(150,95,241,.4); color:#fff;
}
.hero-snapshot-tag::before{
  content:''; width:6px; height:6px; border-radius:50%; background:#7CF29C; box-shadow:0 0 6px #7CF29C;
}
@keyframes snapshot-float{0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);}}

/* sparse amethyst / voxel decorations */
.deco-layer{position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden;}
.shard{
  position:absolute; width:64px; opacity:.16; filter:drop-shadow(0 0 18px rgba(150,95,241,.35));
  animation:shard-float 8s ease-in-out infinite;
}
.shard--1{width:70px; top:16%; left:5%; animation-delay:0s;}
.shard--2{width:46px; top:62%; right:7%; animation-delay:1.4s; opacity:.13;}
.shard--3{width:36px; top:28%; right:15%; animation-delay:2.6s; opacity:.12; transform:rotate(25deg);}
.shard--4{width:52px; top:8%; right:4%; opacity:.14; animation-delay:.8s;}
@keyframes shard-float{0%,100%{transform:translateY(0) rotate(0deg);} 50%{transform:translateY(-16px) rotate(5deg);}}

.voxel{
  position:absolute; width:10px; height:10px; opacity:.18;
  background:linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius:2px; animation:shard-float 6s ease-in-out infinite;
}
.voxel--1{top:34%; left:16%; animation-delay:.5s;}
.voxel--2{top:70%; right:20%; width:7px; height:7px; animation-delay:2s;}

/* ===================== TREN BAŞLIKLARI (buyers-head, trains-hub içinde kullanılır) ===================== */
.buyers-head{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin-bottom:20px;
}
.buyers-head-title{
  display:flex; align-items:center; gap:8px;
  font-size:.92rem; font-weight:700; color:var(--text);
}
.buyers-head-meta{font-size:.78rem; color:var(--text-faint);}
.live-dot{width:6px; height:6px; border-radius:50%; background:#7CF29C; box-shadow:0 0 8px #7CF29C; animation:pulse-dot 1.8s ease-in-out infinite; flex:0 0 auto;}
.live-dot--alt{background:var(--primary-light); box-shadow:0 0 8px rgba(150,95,241,.7);}
@keyframes pulse-dot{0%,100%{opacity:1;} 50%{opacity:.35;}}

/* ===================== SECTIONS ===================== */
.section{position:relative; z-index:2; padding:110px 0;}
#hakkimizda{padding-top:130px;}
.section--alt,
.trains-hub,
#hakkimizda{
  background-color:#1b0e2d;
  background-image:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(150,95,241,.16), transparent 72%),
    linear-gradient(180deg, rgba(39,18,64,.72), rgba(22,12,38,.88));
  background-attachment:fixed;
}

.section-head{max-width:680px; margin:0 auto 56px; text-align:center;}
.eyebrow{
  font-size:.82rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase;
  color:var(--primary-light); margin-bottom:14px;
}
.section-head h2{
  font-size:clamp(1.8rem, 3.4vw, 2.6rem); font-weight:700; letter-spacing:-.01em; line-height:1.25;
  text-shadow:0 2px 16px rgba(0,0,0,.5);
}
.section-desc{color:var(--text-dim); margin-top:14px; font-size:1.02rem;}

/* ===================== ABOUT ===================== */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; max-width:1080px; margin:0 auto;}
.about-text p{color:var(--text-dim); font-size:1.02rem; line-height:1.8; margin-bottom:22px;}
.link-arrow{
  display:inline-flex; align-items:center; gap:8px; color:var(--primary-light); font-weight:600;
  margin-top:8px; transition:gap .2s ease;
}
.link-arrow:hover{gap:14px;}

/* pill-list: sol sütundaki özellik satırları — Minecraft GUI paneli hissi */
.pill-list{display:flex; flex-direction:column; gap:10px; margin-bottom:28px;}
.pill-row{
  position:relative;
  display:flex; align-items:center; gap:14px;
  padding:13px 18px; border-radius:6px;
  background:linear-gradient(180deg, rgba(150,95,241,.1), rgba(150,95,241,.04));
  border:2px solid #0d0a14;
  box-shadow:
    inset 0 0 0 1px rgba(150,95,241,.28),
    inset 0 1px 0 rgba(255,255,255,.05),
    0 3px 0 rgba(0,0,0,.35);
  transition:border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.pill-row:hover{
  background:linear-gradient(180deg, rgba(150,95,241,.16), rgba(150,95,241,.06));
  box-shadow:
    inset 0 0 0 1px rgba(150,95,241,.5),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 3px 0 rgba(0,0,0,.35), 0 0 16px rgba(150,95,241,.2);
  transform:translateX(4px);
}
.pill-icon{
  flex:0 0 auto; width:36px; height:36px; border-radius:5px; display:flex; align-items:center; justify-content:center;
  color:var(--primary-light);
  background:linear-gradient(160deg, #241a38, #13101c);
  border:2px solid #0d0a14;
  box-shadow:
    inset 0 0 0 1px rgba(150,95,241,.35),
    inset 0 -6px 10px rgba(0,0,0,.4),
    inset 0 2px 0 rgba(255,255,255,.06);
}
.pill-icon svg{width:17px; height:17px; filter:drop-shadow(0 0 3px rgba(150,95,241,.6));}
.pill-icon--img{width:60px; height:60px; padding:6px; background:transparent; border:0; box-shadow:none;}
.pill-icon--img img{width:100%; height:100%; object-fit:contain; image-rendering:crisp-edges; image-rendering:pixelated;}
.pill-label{font-size:.92rem; font-weight:600; color:var(--text); letter-spacing:.01em;}
.about-cta{display:inline-flex;}

/* about-media: sağ taraftaki büyük görsel + maskot */
.about-media{position:relative;}
.about-media-frame{
  border-radius:20px; overflow:hidden; border:1px solid rgba(150,95,241,.3);
  box-shadow:0 20px 50px rgba(0,0,0,.5), 0 0 40px rgba(150,95,241,.12);
}
.about-media-frame img{width:100%; height:100%; object-fit:cover; aspect-ratio:16/10;}
.about-mascot{
  position:absolute; left:-34px; bottom:-30px; width:130px; height:auto;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.5));
  animation:about-mascot-bob 3.2s ease-in-out infinite;
  z-index:2; pointer-events:none;
}
@keyframes about-mascot-bob{0%,100%{transform:translateY(0) rotate(-2deg);} 50%{transform:translateY(-10px) rotate(2deg);}}
.surec-mascot{
  position:absolute; right:-65px; top:-130px; width:190px; height:auto;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.5));
  animation:about-mascot-bob 3.2s ease-in-out infinite;
  z-index:2; pointer-events:none; image-rendering:crisp-edges; image-rendering:pixelated;
}

/* ===================== TABS / PLUGINS ===================== */
.tabs{display:flex; justify-content:center; gap:8px; margin-bottom:44px; flex-wrap:wrap;}
.tab-btn{
  padding:10px 22px; border-radius:999px; font-size:.88rem; font-weight:600;
  color:var(--text-dim); border:1px solid var(--border); transition:all .2s ease;
}
.tab-btn:hover{color:var(--text); border-color:var(--border-strong);}
.tab-btn.is-active{
  background:linear-gradient(135deg, var(--primary), var(--primary-dark)); color:#fff; border-color:transparent;
}

.tab-panel{display:none;}
.tab-panel.is-active{display:block; animation:fadein .4s ease;}
@keyframes fadein{from{opacity:0; transform:translateY(8px);} to{opacity:1; transform:translateY(0);}}

.cat-filter{display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-bottom:36px;}
.cat-chip{
  padding:7px 16px; border-radius:999px; font-size:.8rem; font-weight:600;
  color:var(--text-faint); border:1px solid var(--border); transition:all .2s ease;
}
.cat-chip:hover{color:var(--text); border-color:var(--border-strong);}
.cat-chip.is-active{color:var(--primary-light); border-color:var(--border-strong); background:rgba(150,95,241,.1);}

.plugin-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;}
.empty-note{grid-column:1/-1; text-align:center; color:var(--text-faint); padding:40px 0;}

.plugin-card{
  position:relative; background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius); padding:28px 24px; display:flex; flex-direction:column; gap:10px;
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plugin-card:hover{transform:translateY(-6px); border-color:var(--border-strong); box-shadow:var(--shadow-glow);}
.plugin-card:hover .plugin-icon{transform:scale(1.08);}
.plugin-badges{position:absolute; top:18px; right:18px; display:flex; gap:6px;}
.badge-pill{font-size:.68rem; font-weight:700; padding:4px 10px; border-radius:999px; letter-spacing:.03em;}
.badge-pill--sale{background:rgba(150,95,241,.15); color:var(--primary-light); border:1px solid var(--border-strong);}
.badge-pill--new{background:rgba(124,242,156,.12); color:#7CF29C; border:1px solid rgba(124,242,156,.3);}

.plugin-icon-slot{
  width:56px; height:56px; border-radius:12px; margin-bottom:6px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, rgba(0,0,0,.35), rgba(150,95,241,.08));
  border:1px solid var(--border);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), inset 0 -2px 6px rgba(0,0,0,.4);
}
.plugin-icon{
  width:26px; height:26px; color:var(--primary-light); display:flex; transition:transform .2s ease;
  filter:drop-shadow(0 0 6px rgba(150,95,241,.4));
}
.plugin-icon svg{width:100%; height:100%;}

/* plugin-cover: kart görseli için ayrılmış alan — image verilirse foto, yoksa ikon temelli placeholder */
.plugin-cover{
  width:100%; aspect-ratio:16/10; border-radius:14px; margin-bottom:8px; overflow:hidden;
  position:relative; border:1px solid var(--border);
}
.plugin-cover img{width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease;}
.plugin-card:hover .plugin-cover img{transform:scale(1.05);}
.plugin-cover--placeholder{
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, rgba(0,0,0,.35), rgba(150,95,241,.1));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04), inset 0 -2px 10px rgba(0,0,0,.4);
}
.plugin-cover-icon{
  width:42px; height:42px; color:var(--primary-light); display:flex; opacity:.55;
  filter:drop-shadow(0 0 8px rgba(150,95,241,.4));
}
.plugin-cover-icon svg{width:100%; height:100%;}

.plugin-card h3{font-size:1.12rem; font-weight:700;}
.plugin-card p{color:var(--text-dim); font-size:.9rem; line-height:1.6; flex:1;}

.plugin-meta{display:flex; flex-direction:column; gap:8px; padding:12px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.mc-version{font-size:.76rem; color:var(--text-faint); font-family:'Sora', monospace; letter-spacing:.02em;}
.compat-row{display:flex; gap:6px; flex-wrap:wrap;}
.compat-chip{
  font-size:.68rem; font-weight:600; padding:3px 9px; border-radius:6px;
  background:rgba(150,95,241,.08); color:var(--primary-light); border:1px solid var(--border);
}

.plugin-price{display:flex; align-items:baseline; gap:10px; margin:4px 0 6px;}
.plugin-price .old{color:var(--text-faint); text-decoration:line-through; font-size:.9rem;}
.plugin-price .new{color:var(--primary-light); font-weight:700; font-size:1.25rem;}

.custom-panel{
  max-width:560px; margin:0 auto; text-align:center; padding:56px 40px;
  background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius);
}
.custom-icon{
  width:56px; height:56px; margin:0 auto 20px; border-radius:16px; display:flex; align-items:center;
  justify-content:center; font-size:1.6rem; color:var(--primary-light);
  background:linear-gradient(135deg, rgba(150,95,241,.25), rgba(150,95,241,.05)); border:1px solid var(--border);
}
.custom-panel h3{font-size:1.3rem; margin-bottom:12px;}
.custom-panel p{color:var(--text-dim); margin-bottom:26px; line-height:1.7;}

/* ===================== STEPS ===================== */
.steps{display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; position:relative;}
.steps::before{
  content:''; position:absolute; top:44px; left:12.5%; right:12.5%; height:1px;
  background:linear-gradient(90deg, transparent, var(--border-strong) 15%, var(--border-strong) 85%, transparent);
  z-index:0;
}

/* Süreç bölümü — Hakkımızda ile aynı split düzen (sol: adım listesi, sağ: görsel) */
.surec-grid{align-items:stretch;}
#surec .section-head{max-width:none; margin:0 0 32px; text-align:left;}
#surec .eyebrow{
  font-family:'Kalam', cursive; font-style:normal; text-transform:none;
  letter-spacing:0; font-weight:700; font-size:1.75rem; color:var(--primary);
  background:none; text-shadow:none; margin-left:80px;
}
#surec .section-head h2{margin-left:80px;}

#hakkimizda .section-head{max-width:none; margin:0 0 32px; text-align:left;}
#hakkimizda .eyebrow{
  font-family:'Kalam', cursive; font-style:normal; text-transform:none;
  letter-spacing:0; font-weight:700; font-size:1.75rem; color:var(--primary);
  background:none; text-shadow:none; margin-left:80px;
}
#hakkimizda .section-head h2{margin-left:80px;}
.steps--list{
  display:flex; flex-direction:column; gap:8px;
  grid-template-columns:none;
}
.steps--list::before{display:none;}
.steps--list .step{
  position:relative;
  padding:13px 18px; display:flex; align-items:center; gap:14px;
  background:linear-gradient(180deg, rgba(150,95,241,.1), rgba(150,95,241,.04));
  border:2px solid #0d0a14; border-radius:6px;
  box-shadow:
    inset 0 0 0 1px rgba(150,95,241,.28),
    inset 0 1px 0 rgba(255,255,255,.05),
    0 3px 0 rgba(0,0,0,.35);
  transition:border-color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.steps--list .step:hover{
  background:linear-gradient(180deg, rgba(150,95,241,.16), rgba(150,95,241,.06));
  box-shadow:
    inset 0 0 0 1px rgba(150,95,241,.5),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 3px 0 rgba(0,0,0,.35), 0 0 16px rgba(150,95,241,.2);
  transform:translateX(4px);
}
.steps--list .step-icon{
  width:36px; height:36px; border-radius:5px; margin-bottom:0; flex:0 0 auto;
  display:flex; align-items:center; justify-content:center;
  color:var(--primary-light);
  background:linear-gradient(160deg, #241a38, #13101c);
  border:2px solid #0d0a14;
  box-shadow:
    inset 0 0 0 1px rgba(150,95,241,.35),
    inset 0 -6px 10px rgba(0,0,0,.4),
    inset 0 2px 0 rgba(255,255,255,.06);
}
.steps--list .step-icon svg{width:17px; height:17px; filter:drop-shadow(0 0 3px rgba(150,95,241,.6));}
.steps--list .step-num{display:none;}
.steps--list .step .step-body{display:flex; flex-direction:column; gap:2px;}
.steps--list .step h3{font-size:.92rem; font-weight:600; letter-spacing:.01em;}
.steps--list .step p{font-size:.8rem; line-height:1.4;}
.step{
  padding:32px 24px; background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--radius); position:relative; z-index:1; transition:border-color .25s ease, transform .25s ease;
}
.step:hover{border-color:var(--border-strong); transform:translateY(-4px);}
.step-icon{
  width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  color:var(--primary-light); background:var(--bg); border:1px solid var(--border-strong); margin-bottom:14px;
}
.step-icon svg{width:18px; height:18px;}
.step-num{
  display:inline-block; font-size:1.6rem; font-weight:800; color:transparent;
  -webkit-text-stroke:1.4px var(--primary-light); margin-bottom:16px;
}
.step h3{font-size:1.05rem; margin-bottom:8px;}
.step p{color:var(--text-dim); font-size:.9rem; line-height:1.6;}

/* ===================== FAQ ===================== */
.faq-list{max-width:720px; margin:0 auto; display:flex; flex-direction:column; gap:12px;}
.faq-cta{max-width:720px; margin:40px auto 0; text-align:center;}
.faq-cta p{color:var(--text-dim); margin-bottom:16px; font-size:.98rem;}
.faq-item{
  border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--surface-2); overflow:hidden;
  transition:border-color .25s ease;
}
.faq-item:hover{border-color:var(--border-strong);}
.faq-item.is-open{border-color:var(--border-strong); box-shadow:var(--shadow-glow);}
.faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 22px; font-size:1rem; font-weight:600; text-align:left;
}
.faq-icon{
  position:relative; width:16px; height:16px; flex:0 0 auto;
  transition:transform .3s ease;
}
.faq-icon::before, .faq-icon::after{
  content:''; position:absolute; background:linear-gradient(135deg, var(--primary-light), var(--primary));
  border-radius:1px;
}
.faq-icon::before{width:100%; height:2px; top:7px; left:0;}
.faq-icon::after{width:2px; height:100%; top:0; left:7px;}
.faq-item.is-open .faq-icon{transform:rotate(45deg);}
.faq-a{max-height:0; overflow:hidden; transition:max-height .35s ease;}
.faq-a p{padding:0 22px 20px; color:var(--text-dim); font-size:.92rem; line-height:1.7;}

/* ===================== CTA ===================== */
.cta-section{
  position:relative; padding:90px 0; text-align:center; overflow:visible;
  background:linear-gradient(180deg, #1D1030 0%, #1D1030 50%, #1D1030 100%);
}
.wave-wrap--cta-top{margin-top:-60px; margin-bottom:-95px; position:relative; z-index:5;}
.wave-wrap--cta-bottom{margin-top:-95px; margin-bottom:60px; position:relative; z-index:5;}
.wave--cta-top, .wave--cta-bottom{height:96px; display:block; width:100%; pointer-events:none;}

.cta-card{
  position:relative; isolation:isolate;
  max-width:920px; margin:0 auto; padding:64px 40px;
  border-radius:36px;
  background:linear-gradient(135deg, #1D1030 0%, var(--primary) 50%, var(--primary-dark) 100%);
  box-shadow:0 24px 60px rgba(91,46,158,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.cta-eyebrow{
  font-family:'Kalam', cursive; font-style:italic; text-transform:none;
  font-weight:700; letter-spacing:0; color:rgba(255,255,255,.9); margin-bottom:12px;
  font-size:1.4rem;
}
.cta-card h2{
  font-size:clamp(2rem, 4.2vw, 3rem); font-weight:800; margin:0 0 16px; line-height:1.2; color:#fff;
  text-shadow:0 2px 10px rgba(0,0,0,.15);
}
.cta-card .section-desc{margin-bottom:34px; color:rgba(255,255,255,.85);}
.cta-btn{
  background:#fff; color:var(--primary-dark); font-weight:700;
  padding:16px 36px; border-radius:999px; box-shadow:0 10px 24px rgba(0,0,0,.2);
  transition:transform .2s ease, box-shadow .2s ease;
}
.cta-btn:hover{transform:translateY(-2px); box-shadow:0 14px 30px rgba(0,0,0,.28);}

.cta-deco{position:absolute; pointer-events:none; z-index:0; image-rendering:crisp-edges; image-rendering:pixelated;}
.cta-deco--fist{width:150px; left:10px; bottom:1px; opacity:.9; filter:drop-shadow(0 8px 14px rgba(0,0,0,.25));}
.cta-deco--discord{width:120px; right:-18px; top:-18px; border-radius:26px; filter:drop-shadow(0 8px 14px rgba(0,0,0,.25)); opacity:.95;}
.cta-card > *:not(.cta-deco){position:relative; z-index:1;}

/* ===================== TRENS HUB (yeni katılanlar + yorumlar) ===================== */
.trains-hub{
  position:relative; z-index:2; padding:130px 0 68px; margin-top:-120px;
  overflow:hidden;
  border-top:0;
  background:transparent;
}
.trains-hub::before{
  content:''; position:absolute; inset:-120px 0 0; z-index:0; pointer-events:none;
  background-color:#26344d;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.5px);
  background-size:28px 28px;
  -webkit-mask-image:radial-gradient(ellipse 90% 100% at 50% 50%, #000 40%, transparent 95%);
  mask-image:radial-gradient(ellipse 90% 100% at 50% 50%, #000 40%, transparent 95%);
}
.trains-hub::after{
  content:''; position:absolute; inset:-120px 0 0; z-index:0; pointer-events:none;
  background:
    linear-gradient(110deg, #101c3d 0%, #26344d 32%, #4b5051 52%, #765039 74%, #a2632b 100%),
    linear-gradient(180deg, transparent 0%, rgba(67,74,75,.14) 48%, transparent 100%),
    linear-gradient(90deg, rgba(62,105,224,.1), transparent 45%, rgba(255,185,75,.12));
  background-blend-mode:normal,screen,screen;
}
.trains-hub .buyers-head{position:relative; z-index:3;}

/* dalgalı geçişler — komşu bölümlere sert kesme yerine yumuşak dalga ile bağlanır */
.wave-wrap{position:relative; z-index:5;}
.wave path{filter:blur(.5px);}
.wave-wrap--top{margin-top:-65px;}
.wave{
  position:relative; display:block; width:100%; height:150px;
  z-index:5; pointer-events:none;
}
.wave--top{margin-bottom:-95px;}
.wave--bottom{margin-top:-80px;}
.wave-wrap--bottom{margin-bottom:-66px;}
.wave-shadow{
  position:absolute; left:0; right:0; top:46%; height:90px; z-index:4; pointer-events:none;
  background:linear-gradient(180deg, rgba(0,0,0,.65), transparent);
}

/* trenler arasındaki ortadaki dalga — tam dolu, boşluk/düz alan yok */
.wave-wrap--mid{margin:0;}
.wave--mid{height:110px;}
.wave-shadow--mid{top:60%; height:60px;}

/* kayan şehir silüeti — her trenin kendi kutusunun içinde, rayın hemen üstünde */
.skyline{position:absolute; left:0; right:0; bottom:24px; height:190px; z-index:0; overflow:hidden;}
.skyline-track{
  display:flex; align-items:flex-end; gap:16px; width:max-content;
  position:absolute; bottom:0; left:0;
  animation:skyline-drift 70s linear infinite;
}
.skyline-track--reverse{animation-name:skyline-drift-reverse;}
@keyframes skyline-drift{from{transform:translateX(0);} to{transform:translateX(-50%);}}
@keyframes skyline-drift-reverse{from{transform:translateX(-50%);} to{transform:translateX(0);}}
.building{
  flex:0 0 auto; background:linear-gradient(180deg, #2f2358, #150f28);
  border-top:4px solid rgba(150,95,241,.6);
  box-shadow:0 0 14px rgba(150,95,241,.14), inset -4px 0 0 rgba(0,0,0,.35), inset 4px 0 0 rgba(255,255,255,.04);
  position:relative;
  image-rendering:pixelated;
}
.building::before{
  content:''; position:absolute; inset:10px 8px auto 8px; height:calc(100% - 20px);
  background-image:
    linear-gradient(rgba(204,171,233,.7) 5px, transparent 5px),
    linear-gradient(90deg, rgba(204,171,233,.7) 5px, transparent 5px);
  background-size:13px 16px;
  opacity:.55;
}

/* ===================== MINECRAFT VAGON TRENİ ===================== */
.train-ticker-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  background: #080a10;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  image-rendering: pixelated;
  font-family: 'Courier New', Courier, monospace, sans-serif;
  user-select: none;
  border-top: 2px solid #1a2030;
  border-bottom: 2px solid #1a2030;
  z-index: 2;
}
.train-ticker-wrapper--inline{
  height:240px; background:transparent !important; border:0 !important; margin-top:16px; position:relative; z-index:2;
  box-shadow:none !important;
}

/* gündüz/gece atmosferi — tren hattının arkasında, çok hafif ve küçük */
.train-atmosphere{
  position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0;
  -webkit-mask-image:linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image:linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}
.train-atmosphere::before{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(28,33,57,.18) 22%, transparent 100%),
    linear-gradient(90deg,rgba(69,112,235,.1),transparent 42%,rgba(255,187,76,.12));
}
.train-atmosphere--night::before{
  background:linear-gradient(90deg,rgba(48,89,205,.16),transparent 52%,rgba(255,177,75,.06));
}
.train-atmosphere img{
  position:absolute; width:92px; height:92px; object-fit:contain;
  image-rendering:crisp-edges; image-rendering:pixelated;
  opacity:.6; border-radius:0;
  z-index:1;
}
.train-atmosphere--day .atmosphere-sun{right:12px; top:-40px; width:170px !important; height:170px !important;}
.train-atmosphere--day .atmosphere-moon{left:20px; top:-34px; width:150px !important; height:150px !important; filter:grayscale(.15) contrast(1.2) brightness(1.18);}
.atmosphere-glow{position:absolute; width:130px; height:130px; border-radius:50%; filter:blur(22px); opacity:.22; z-index:0;}
.train-atmosphere--day .atmosphere-glow{right:6%; top:-20px; background:#ffb52e;}
.train-atmosphere--night .atmosphere-glow{left:6%; top:-20px; background:#7087ff;}

.train-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 40px 30px, #ffffff, transparent),
    radial-gradient(1px 1px at 150px 60px, #ffffffaa, transparent),
    radial-gradient(1.5px 1.5px at 280px 20px, #ffffff, transparent),
    radial-gradient(1px 1px at 420px 45px, #ffffff99, transparent),
    radial-gradient(1.5px 1.5px at 580px 30px, #ffffff, transparent);
  background-size: 600px 180px;
  opacity: 0.7;
}

.train-track-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.train-convoy {
  display: flex;
  align-items: flex-end;
  width: max-content;
  animation: trainMove 24s linear infinite;
  will-change: transform;
}
.train-convoy:hover { animation-play-state: paused; }

@keyframes trainMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes trainMoveReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.train-convoy--reverse{animation-name: trainMoveReverse;}

.wagon-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-right: 18px;
  flex-shrink: 0;
}

.wagon-unit::after {
  display:none;
}

.wagon-player-name {
  color: #e0e0e0;
  font-family:'Courier New', monospace;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-shadow: 2px 2px 0px #000;
}

.wagon-box {
  width: 136px;
  height: 84px;
  background:linear-gradient(180deg,#d7282f 0%,#bd1820 78%,#8b1116 79%,#8b1116 100%);
  border:4px solid #11131a;
  border-top:7px solid #d9dce2;
  border-radius:2px 2px 0 0;
  position: relative;
  box-shadow:inset 0 -6px 0 #741016, inset 0 0 0 2px rgba(255,83,79,.28), 0 5px 14px rgba(0,0,0,.32);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wagon-box::after{
  content:''; position:absolute; inset:14px 6px 20px; z-index:0;
  background:linear-gradient(90deg,#11151c 0 20%,transparent 20% 80%,#11151c 80% 100%);
  box-shadow:inset 0 0 0 2px rgba(0,0,0,.22);
}

.wagon-box::before {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 4px;
  background: #eab308;
}

.wagon-window {
  width: 68px;
  height: 52px;
  background: #14171d;
  border:4px solid #10131a;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow:inset 0 0 0 2px #3f4750, inset 0 0 10px rgba(0,0,0,.8), 0 2px 0 #090b10;
  z-index:2;
}

.wagon-avatar {
  width: 48px;
  height: 48px;
  object-fit: cover;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.7));
}

.wagon-wheels {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 14px;
  margin-top: -6px;
  z-index: 3;
}

.wheel {
  width: 18px;
  height: 18px;
  background:#4e5964;
  border:3px solid #111;
  border-radius:3px;
  position: relative;
  animation: rotateWheel 1.2s linear infinite;
}

.wheel::after {
  content: '';
  position: absolute;
  inset: 3px;
  background:#8a949d;
  border-radius:1px;
}

@keyframes rotateWheel {
  100% { transform: rotate(-360deg); }
}

.train-rails {
  display:none;
  position: relative;
  width: 100%;
  height: 14px;
  opacity:.58;
  background: repeating-linear-gradient(
    90deg,
    #3a2818 0px,
    #3a2818 8px,
    transparent 8px,
    transparent 22px
  );
  border:0;
  box-shadow:none;
  -webkit-mask-image:linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  mask-image:linear-gradient(180deg, transparent, #000 28%, #000 72%, transparent);
  z-index: 1;
}

/* ===================== FOOTER ===================== */
.site-footer{
  position:relative; z-index:2; margin:0; padding:64px 0 0;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(11,11,15,.08),rgba(11,11,15,.5));
}
.footer-inner{display:grid; grid-template-columns:minmax(260px,1.25fr) 1fr; gap:72px; padding-bottom:42px; align-items:start;}
.footer-brand p{color:var(--text-dim); font-size:.9rem; margin:10px 0 16px; max-width:400px; line-height:1.65;}
.social-icons{display:flex; align-items:center; gap:4px;}
.social-icon{
  width:34px; height:34px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:var(--text-faint); transition:color .2s ease, background .2s ease, transform .2s ease;
}
.social-icon:hover{color:var(--primary-light); background:rgba(150,95,241,.1); transform:translateY(-2px);}

.footer-cols{display:grid; grid-template-columns:1fr 1fr; gap:48px; padding-top:4px;}
.footer-col h4{font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; color:var(--text-faint); margin-bottom:14px;}
.footer-col a{display:block; width:max-content; color:var(--text-dim); font-size:.88rem; margin-bottom:10px; transition:color .2s ease;}
.footer-col a:hover{color:var(--primary-light);}

.footer-bottom{
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  min-height:68px; padding:18px 24px; border-top:1px solid rgba(255,255,255,.07);
  color:var(--text-faint); font-size:.78rem;
}
.footer-tagline{letter-spacing:.03em; text-align:right;}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal{opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; transition-delay:var(--d, 0s);}
.reveal.is-visible{opacity:1; transform:translateY(0);}
.fade-up{opacity:0; transform:translateY(18px); animation:fadeup .7s ease forwards; animation-delay:var(--d, 0s);}
@keyframes fadeup{to{opacity:1; transform:translateY(0);}}

/* ===================== RESPONSIVE ===================== */
@media (max-width:1180px){
  .hero-snapshot{display:none;}
}

@media (max-width:980px){
  .plugin-grid{grid-template-columns:repeat(2, 1fr);}
  .steps{grid-template-columns:repeat(2, 1fr);}
  .steps::before{display:none;}
  .about-grid{grid-template-columns:1fr; gap:36px;}
  .footer-inner{grid-template-columns:1fr; gap:30px;}
  .shard--3{display:none;}
  .tcar-body{width:92px; height:86px;}
  .tcar-window{width:52px; height:56px; top:14px;}
  .tcar-window img{width:50px; height:86px;}
}

@media (max-width:1040px){
  .site-header{padding:12px 14px 0;}
  .site-header.is-scrolled{padding-top:8px;}
  .header-inner{padding:8px 9px 8px 14px; gap:12px; border-radius:16px;}
  .main-nav{
    position:fixed; top:72px; left:14px; right:14px; flex-direction:column; align-items:stretch;
    gap:2px; background:rgba(13,12,18,.97); backdrop-filter:blur(18px); border:1px solid rgba(255,255,255,.1);
    border-radius:16px; padding:8px; transform:translateY(-10px); opacity:0; pointer-events:none;
    box-shadow:0 20px 50px rgba(0,0,0,.38);
    transition:all .25s ease;
  }
  .main-nav.is-open{transform:translateY(0); opacity:1; pointer-events:auto;}
  .main-nav a{padding:12px 14px; border-radius:10px;}
  .main-nav a:hover,.main-nav a.is-active{background:rgba(150,95,241,.1);}
  .main-nav a::after{display:none;}
  .nav-toggle{display:flex;}
  .hide-mobile{display:none;}

  .plugin-grid{grid-template-columns:1fr;}
  .steps{grid-template-columns:1fr;}
  .footer-cols{grid-template-columns:1fr 1fr;}
  .about-mascot{width:100px; left:-16px; bottom:-18px;}

  /* trim decorative/perf-heavy fx on small screens */
  .bg-glow{filter:blur(70px);}
  .shard--2, .voxel--2{display:none;}
  .hero-bg img, .cta-bg img{transform:none;}
}

@media (max-width:720px){
  .brand-name{display:none;}
  .brand-mark{width:36px; height:36px;}
  .header-actions{margin-left:auto; gap:6px;}
  .header-actions .auth-nav-link{min-height:36px; padding:8px 11px; font-size:.73rem;}
  .nav-toggle{width:36px; height:36px;}
  .footer-inner{gap:26px; padding-bottom:30px;}
  .footer-cols{gap:28px;}
  .footer-bottom{align-items:flex-start; flex-direction:column; gap:6px; min-height:auto; padding:18px 24px 22px;}
  .footer-tagline{text-align:left;}
}

@media (max-width:480px){
  .container{padding:0 18px;}
  .site-footer{padding-top:44px;}
  .hero{padding-top:120px;}
  .hero-cta{flex-direction:column; width:100%;}
  .hero-cta .btn{width:100%;}
  .cat-filter{gap:6px;}
  .cat-chip{padding:6px 12px; font-size:.75rem;}
  .header-inner{padding-left:10px;}
  .auth-nav-slot{gap:4px;}
  .header-actions .auth-nav-link{padding:8px 9px;}
  .footer-cols{grid-template-columns:1fr; gap:20px;}
  .footer-col{display:flex; flex-wrap:wrap; gap:9px 18px;}
  .footer-col h4{width:100%; margin-bottom:2px;}
  .footer-col a{margin:0;}
  .footer-bottom{padding-left:18px; padding-right:18px;}
}

/* ===================== CHECKOUT MODAL ===================== */
.modal-overlay{
  position:fixed; inset:0; z-index:1000; display:flex; align-items:center; justify-content:center;
  background:rgba(8,8,12,.72); backdrop-filter:blur(6px); padding:20px;
}
.modal-card{
  width:100%; max-width:420px; background:var(--surface-2); border:1px solid var(--border-strong, var(--border));
  border-radius:var(--radius-sm); padding:28px; box-shadow:0 20px 60px rgba(0,0,0,.5);
}
.modal-card h3{font-size:1.1rem; margin-bottom:20px; color:var(--text);}
.modal-card .field{margin-bottom:16px;}
.modal-card .field label{display:block; font-size:.82rem; color:var(--text-dim); margin-bottom:6px;}
.modal-card .field input,
.modal-card .field select{
  width:100%; padding:11px 12px; border-radius:var(--radius-sm); border:1px solid var(--border);
  background:rgba(11,11,15,.5); color:var(--text); font-family:var(--ff); font-size:.92rem;
}
.modal-card .field input:focus,
.modal-card .field select:focus{outline:none; border-color:var(--primary);}
.modal-actions{display:flex; justify-content:flex-end; gap:10px; margin-top:22px;}

/* ===================== ACCESSIBILITY / MOTION ===================== */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
  .reveal{opacity:1; transform:none;}
  .marquee-track{animation:none;}
}
}
