/* =========================================
   ULTRAKILL SITE - STYLE.CSS
   Sade, koyu, agresif, temiz
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Barlow+Condensed:wght@400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #d62828;
  --dark-red: #9b1515;
  --blood: #8b0000;
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #181818;
  --bg4: #222222;
  --border: #2a2a2a;
  --text: #e0e0e0;
  --text-dim: #888;
  --text-muted: #555;
  --white: #ffffff;
  --blue-var: #3a6ea5;
  --green-var: #2d7a3a;
  --red-var: #8b1c1c;
  --mono: 'Share Tech Mono', monospace;
  --cond: 'Barlow Condensed', sans-serif;
  --body-font: 'Barlow', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  backdrop-filter: blur(8px);
}

.logo {
  font-family: var(--cond);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--red);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 8px;
}

.nav-links a {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 6px 16px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  border-color: var(--border);
  background: var(--bg3);
}

.nav-links a.active {
  color: var(--red);
  border-color: var(--red);
}

/* ---- HERO (Ana Sayfa) ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%),
    linear-gradient(135deg, #0a0a0a 0%, #1a0505 40%, #0a0a0a 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(150,0,0,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(200,0,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: 'ULTRAKILL';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--cond);
  font-size: clamp(100px, 20vw, 280px);
  font-weight: 900;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
}

.hero-content h1 {
  font-family: var(--cond);
  font-size: clamp(60px, 12vw, 120px);
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--white);
  text-shadow: 0 0 40px rgba(200,0,0,0.4);
  margin-bottom: 16px;
}

.tagline {
  font-family: var(--mono);
  font-size: clamp(11px, 2vw, 14px);
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 48px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- BUTONLAR ---- */
.btn {
  font-family: var(--cond);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--dark-red);
  border-color: var(--dark-red);
}

.btn-outline {
  background: transparent;
  border-color: var(--text-dim);
  color: var(--text-dim);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 48px;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--cond);
  font-size: 36px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 2px;
  line-height: 1;
}

.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ---- CONTAINER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- SECTION HEADER ---- */
.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--cond);
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 12px;
}

.header-line {
  width: 60px;
  height: 3px;
  background: var(--red);
}

/* ---- ABOUT SECTION ---- */
.about-section {
  padding: 100px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.85;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 20px;
}

.feature-icon {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--red);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-family: var(--cond);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- LAYERS SECTION ---- */
.layers-section {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.layers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.layer-card {
  background: var(--bg3);
  padding: 32px 24px;
  transition: background 0.2s;
}

.layer-card:hover {
  background: var(--bg4);
}

.layer-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--red);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.layer-name {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 12px;
}

.layer-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg);
}

.cta-section h2 {
  font-family: var(--cond);
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- PAGE HERO (Alt Sayfalar) ---- */
.page-hero {
  margin-top: 64px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hikaye-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0808 50%, #0a0a0a 100%);
  border-bottom: 1px solid var(--border);
}

.silahlar-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0a0a1a 50%, #0a0a0a 100%);
  border-bottom: 1px solid var(--border);
}

.karakterler-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #0d0a0a 50%, #1a0000 100%);
  border-bottom: 1px solid var(--border);
}

.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.page-hero-content h1 {
  font-family: var(--cond);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  letter-spacing: 8px;
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero-content p {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-dim);
}

/* ---- STORY ---- */
.story-section {
  padding: 80px 0 100px;
}

.story-block {
  margin-bottom: 64px;
}

.story-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 12px;
  margin-bottom: 16px;
}

.story-block h2 {
  font-family: var(--cond);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 28px;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.full-width-story {
  grid-template-columns: 1fr;
}

.story-text p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 18px;
  opacity: 0.85;
}

.story-text strong {
  color: var(--white);
  font-weight: 600;
}

.lore-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: 24px;
}

.dark-card {
  border-left-color: #555;
}

.red-card {
  border-left-color: var(--blood);
}

.lore-card-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 16px;
}

.lore-item {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 13px;
}

.lore-date {
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
  min-width: 80px;
}

.lore-fact {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 2px solid var(--border);
  line-height: 1.5;
}

.story-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.divider-text {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- WEAPONS ---- */
.weapons-intro {
  background: var(--bg2);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.intro-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: 24px;
  opacity: 0.85;
}

.intro-text strong {
  color: var(--white);
}

.mechanic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mechanic-pill {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 5px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text-dim);
}

.weapons-section {
  padding: 60px 0 100px;
}

.weapon-category {
  margin-bottom: 64px;
}

.cat-title {
  font-family: var(--cond);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.slot-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 10px;
}

.weapons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.weapon-card {
  background: var(--bg3);
  padding: 24px;
  transition: background 0.15s;
}

.weapon-card:hover {
  background: var(--bg4);
}

.blue-card  { border-top: 2px solid #3a6ea5; }
.green-card { border-top: 2px solid #2d7a3a; }
.red-card   { border-top: 2px solid #7a1c1c; }

.weapon-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.weapon-name {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}

.weapon-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.default-tag { background: #222; color: var(--text-muted); border: 1px solid var(--border); }
.unlock-tag  { background: #1a1a0a; color: #888855; border: 1px solid #333322; }
.blue-tag    { background: rgba(58,110,165,0.2); color: #6a9ed5; border: 1px solid #3a6ea5; }
.green-tag   { background: rgba(45,122,58,0.2); color: #5aaa6a; border: 1px solid #2d7a3a; }
.red-tag     { background: rgba(122,28,28,0.2); color: #cc5555; border: 1px solid #7a1c1c; }

.weapon-desc {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}

.weapon-stats {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.stat-row span:last-child {
  color: var(--text-dim);
}

/* ---- CHARACTERS ---- */
.chars-section {
  padding: 60px 0 100px;
}

.char-group {
  margin-bottom: 80px;
}

.group-header {
  margin-bottom: 32px;
}

.group-header h2 {
  font-family: var(--cond);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 10px;
}

.group-line {
  width: 40px;
  height: 2px;
  background: var(--red);
}

/* Featured Character */
.char-featured {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 40px;
  margin-bottom: 24px;
  position: relative;
}

.angel-featured {
  border-left-color: #c0a000;
}

.char-featured-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 4px 10px;
}

.angel-badge {
  color: #c0a000;
  border-color: #c0a000;
}

.char-featured h3 {
  font-family: var(--cond);
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 6px;
  color: var(--white);
  margin-bottom: 8px;
}

.char-type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.machine-type { color: #888; }
.angel-type   { color: #c0a000; }

.char-bio {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  max-width: 720px;
  margin-bottom: 16px;
  opacity: 0.85;
}

.char-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cstat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cstat-val {
  font-family: var(--cond);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
}

/* Chars Grid */
.chars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

.chars-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.char-card {
  background: var(--bg3);
}

.char-card-header {
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.machine-header { border-top: 2px solid #555; }
.angel-header   { border-top: 2px solid #c0a000; }
.minos-header   { border-top: 2px solid var(--red); }
.sisyphus-header{ border-top: 2px solid #8b4513; }

.char-card-header h4 {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 4px;
}

.char-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.char-card-body {
  padding: 20px;
}

.char-detail-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 3px 8px;
  display: inline-block;
  margin-bottom: 12px;
}

.char-card-body p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 16px;
}

.char-status {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  display: inline-block;
}

.hostile   { background: rgba(139,0,0,0.3); color: #cc4444; border: 1px solid var(--blood); }
.boss-status { background: rgba(139,0,0,0.5); color: #ff6666; border: 1px solid var(--red); }

.boss-card .char-card-header { padding: 24px 28px 20px; }
.boss-card .char-card-body   { padding: 24px 28px; }
.boss-card .char-card-body p { font-size: 14px; }

.boss-quote {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,100,100,0.7);
  border-left: 2px solid var(--blood);
  padding: 8px 12px;
  margin: 16px 0;
  background: rgba(139,0,0,0.1);
}

/* Enemy Types */
.enemy-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
}

.enemy-type-card {
  background: var(--bg3);
  padding: 28px 24px;
}

.et-title {
  font-family: var(--cond);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 12px;
}

.enemy-type-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--cond);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 4px;
  color: var(--red);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: var(--cond);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer-bottom p {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1000px) {
  .about-grid     { grid-template-columns: 1fr; }
  .layers-grid    { grid-template-columns: repeat(2, 1fr); }
  .chars-grid     { grid-template-columns: repeat(2, 1fr); }
  .enemy-types-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar         { padding: 0 20px; }
  .logo           { font-size: 18px; }
  .nav-links a    { padding: 5px 10px; font-size: 11px; }
  .about-features { grid-template-columns: 1fr; }
  .layers-grid    { grid-template-columns: 1fr; }
  .weapons-grid   { grid-template-columns: 1fr; }
  .chars-grid     { grid-template-columns: 1fr; }
  .chars-grid.two-col { grid-template-columns: 1fr; }
  .enemy-types-grid { grid-template-columns: 1fr; }
  .story-content  { grid-template-columns: 1fr; }
  .stat-item      { padding: 0 24px; }
  .stat-divider   { display: none; }
  .stats-bar      { gap: 16px; }
  .char-stats     { gap: 20px; }
  .char-featured  { padding: 24px; }
  .char-featured h3 { font-size: 36px; }
  .container      { padding: 0 20px; }
}
