@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@500;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #10121a;
  --surface: #181b26;
  --surface-alt: #1f2330;
  --border: #2a2f3d;
  --text: #edeff5;
  --text-muted: #8b90a3;
  --accent: #ff3d68;
  --accent-strong: #e01850;
  --gold: #e8b84b;
  --success: #4fd1a5;
  --danger: #ff6b6b;
  --radius: 6px;
  --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; color: var(--text-muted); max-width: 62ch; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(16, 18, 26, 0.9);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a { color: var(--text-muted); }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pill-vip {
  border-color: var(--gold);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }

.btn-gold { background: var(--gold); color: #241a05; }
.btn-gold:hover { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text-muted); }

.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.hero {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 32px 0 48px;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--surface-alt), var(--surface));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
}

.hero-content {
  position: relative;
  padding: 40px;
  max-width: 640px;
}

.hero-eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.hero p { color: #cfd2dd; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 40px 0 20px;
}

.section-title h2 { font-size: 1.4rem; margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 22px;
}

.card-webtoon { display: block; }

.cover {
  aspect-ratio: 3 / 4;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}

.cover img { width: 100%; height: 100%; object-fit: cover; }

.cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  padding: 12px;
  text-align: center;
}

.card-webtoon h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.panel + .panel { margin-top: 20px; }

.webtoon-header {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin: 32px 0;
}

.webtoon-header .cover { margin-bottom: 0; }

.webtoon-meta { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.webtoon-meta strong { color: var(--text); }

.chapter-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

.chapter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.chapter-row:last-child { border-bottom: none; }
.chapter-row:hover { background: var(--surface-alt); }

.chapter-row.locked { opacity: 0.7; }

.chapter-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  min-width: 60px;
}

.lock-tag {
  font-size: 0.78rem;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 10px;
}

.reader-bar {
  position: sticky;
  top: 0;
  z-index: 15;
  background: rgba(16, 18, 26, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reader-bar .title { font-weight: 700; font-size: 0.95rem; }
.reader-bar .sub { color: var(--text-muted); font-size: 0.82rem; }

.strip {
  max-width: 760px;
  margin: 0 auto;
}

.strip img { width: 100%; }

.reader-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0;
  max-width: 760px;
  margin: 0 auto;
}

.locked-box {
  max-width: 520px;
  margin: 80px auto;
  text-align: center;
  padding: 48px 32px;
}

.locked-box .gold-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}

.form-page {
  max-width: 420px;
  margin: 64px auto;
}

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }

input[type=text], input[type=email], input[type=password], input[type=number], textarea, select {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

textarea { resize: vertical; min-height: 90px; }

.error-box {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.success-box {
  background: rgba(79, 209, 165, 0.12);
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.comment {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.comment:last-child { border-bottom: none; }
.comment .who { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.comment .when { color: var(--text-muted); font-size: 0.78rem; font-weight: 400; margin-left: 8px; }
.comment .body { color: var(--text); margin: 0; }

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.plan-card .price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin: 10px 0;
}

.method-tabs { display: flex; gap: 10px; margin-bottom: 20px; }
.method-tabs button {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
}
.method-tabs button.active { border-color: var(--accent); color: var(--text); }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

.table th { color: var(--text-muted); font-weight: 600; }

.badge {
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-block;
}

.badge-onaylandi { background: rgba(79, 209, 165, 0.15); color: var(--success); }
.badge-beklemede { background: rgba(232, 184, 75, 0.15); color: var(--gold); }
.badge-reddedildi { background: rgba(255, 107, 107, 0.15); color: var(--danger); }

.dash-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  margin: 32px 0;
}

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

.dash-nav a {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.dash-nav a:hover, .dash-nav a.active { background: var(--surface); color: var(--text); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.stat-card .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-card .label { color: var(--text-muted); font-size: 0.85rem; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 32px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.file-drop {
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 720px) {
  .webtoon-header { grid-template-columns: 140px 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
}
