/* Naklorya Yardım & Bilgi Merkezi Stilleri */
:root {
  --help-navy: #071224;
  --help-card: #0d1e38;
  --help-card-hover: #132a4d;
  --help-border: #1d3559;
  --help-border-glow: #23548e;
  --help-cyan: #18b8c5;
  --help-gold: #ffb62e;
  --help-blue: #1b73e8;
  --help-green: #22c55e;
  --help-red: #ef4444;
  --help-ink: #f0f4fc;
  --help-muted: #94a3b8;
  --help-pill: #162b48;
}

body.help-page {
  background: var(--help-navy);
  color: var(--help-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.65;
}

/* Header & Navigation */
.help-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 18, 36, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--help-border);
}

.help-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.help-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.help-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.help-badge-help {
  display: inline-block;
  background: rgba(24, 184, 197, 0.16);
  color: var(--help-cyan);
  border: 1px solid rgba(24, 184, 197, 0.35);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.help-nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.help-nav-links a {
  color: var(--help-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.help-nav-links a:hover {
  color: #fff;
}

.help-nav-cta {
  background: var(--help-blue);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 9px;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(27, 115, 232, 0.35);
}

/* Hero & Search */
.help-hero {
  background: radial-gradient(circle at 50% 0%, #15325c 0%, #0a1930 45%, var(--help-navy) 100%);
  border-bottom: 1px solid var(--help-border);
  padding: 60px 20px 50px;
  text-align: center;
}

.help-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}

.help-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 182, 46, 0.14);
  color: var(--help-gold);
  border: 1px solid rgba(255, 182, 46, 0.32);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.help-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  color: #fff;
  line-height: 1.15;
}

.help-hero p {
  color: var(--help-muted);
  font-size: 1.08rem;
  margin: 0 0 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Box */
.help-search-container {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.help-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: #0d1e38;
  border: 2px solid var(--help-border);
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
}

.help-search-box:focus-within {
  border-color: var(--help-cyan);
  box-shadow: 0 10px 40px rgba(24, 184, 197, 0.25);
}

.help-search-icon {
  padding-left: 20px;
  color: var(--help-cyan);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
}

.help-search-input {
  width: 100%;
  padding: 16px 16px 16px 12px;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1.05rem;
  font-family: inherit;
}

.help-search-input::placeholder {
  color: #64748b;
}

.help-search-clear {
  background: none;
  border: none;
  color: var(--help-muted);
  font-size: 1.2rem;
  padding: 0 18px;
  cursor: pointer;
  display: none;
}

.help-search-clear:hover {
  color: #fff;
}

.help-search-status {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--help-gold);
  min-height: 22px;
}

/* Main Layout */
.help-main-layout {
  max-width: 1240px;
  margin: 40px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar Navigation */
.help-sidebar {
  position: sticky;
  top: 96px;
  background: var(--help-card);
  border: 1px solid var(--help-border);
  border-radius: 16px;
  padding: 16px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.help-sidebar-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--help-muted);
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--help-border);
  margin-bottom: 8px;
}

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

.help-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--help-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.help-nav-item:hover {
  background: var(--help-pill);
  color: #fff;
}

.help-nav-item.active,
.help-nav-item.\:target-current {
  background: rgba(24, 184, 197, 0.14);
  color: var(--help-cyan);
  font-weight: 700;
  border-left: 3px solid var(--help-cyan);
}

.help-nav-item-icon {
  font-size: 1.1rem;
}

/* Content Sections */
.help-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.help-section {
  background: var(--help-card);
  border: 1px solid var(--help-border);
  border-radius: 18px;
  padding: 32px;
  scroll-margin-top: 96px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease;
}

.help-section:hover {
  border-color: var(--help-border-glow);
}

.help-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--help-border);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.help-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.help-section-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(24, 184, 197, 0.12);
  border: 1px solid rgba(24, 184, 197, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.help-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}

.help-section-desc {
  margin: 6px 0 0;
  color: var(--help-muted);
  font-size: 0.92rem;
}

/* Cards & Grids inside Sections */
.help-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.help-subcard {
  background: #09172c;
  border: 1px solid var(--help-border);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.help-subcard:hover {
  border-color: rgba(24, 184, 197, 0.4);
  transform: translateY(-2px);
}

.help-subcard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.help-subcard-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.help-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.help-badge-gold {
  background: rgba(255, 182, 46, 0.15);
  color: var(--help-gold);
  border: 1px solid rgba(255, 182, 46, 0.35);
}

.help-badge-cyan {
  background: rgba(24, 184, 197, 0.15);
  color: var(--help-cyan);
  border: 1px solid rgba(24, 184, 197, 0.35);
}

.help-badge-blue {
  background: rgba(27, 115, 232, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(27, 115, 232, 0.35);
}

.help-badge-green {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.help-badge-red {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Accordions (Details / Summary) */
.help-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.help-accordion {
  background: #09172c;
  border: 1px solid var(--help-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.help-accordion[open] {
  border-color: rgba(24, 184, 197, 0.5);
  background: #0b1a32;
}

.help-summary {
  list-style: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
  user-select: none;
}

.help-summary::-webkit-details-marker {
  display: none;
}

.help-summary:hover {
  color: var(--help-cyan);
}

.help-summary-icon {
  font-size: 0.85rem;
  color: var(--help-muted);
  transition: transform 0.2s ease;
}

.help-accordion[open] .help-summary-icon {
  transform: rotate(180deg);
  color: var(--help-cyan);
}

.help-accordion-body {
  padding: 0 20px 20px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.68;
  border-top: 1px solid rgba(29, 53, 89, 0.6);
  padding-top: 14px;
}

.help-accordion-body p {
  margin: 8px 0;
}

.help-accordion-body ul,
.help-accordion-body ol {
  margin: 8px 0;
  padding-left: 24px;
}

.help-accordion-body li {
  margin-bottom: 6px;
}

/* Tables */
.help-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--help-border);
  margin-top: 18px;
  background: #09172c;
}

.help-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.help-table th {
  background: #112544;
  color: #e2e8f0;
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--help-border);
  white-space: nowrap;
}

.help-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(29, 53, 89, 0.5);
  color: #cbd5e1;
}

.help-table tr:last-child td {
  border-bottom: none;
}

.help-table tr:hover td {
  background: rgba(24, 184, 197, 0.05);
}

/* Step list for Tutorial */
.help-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.help-step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #09172c;
  border: 1px solid var(--help-border);
  border-radius: 12px;
  padding: 16px 20px;
}

.help-step-number {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--help-gold);
  color: #000;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}

.help-step-body {
  flex: 1;
}

.help-step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.help-step-title {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.help-step-rewards {
  display: flex;
  gap: 8px;
}

.help-step-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--help-muted);
}

/* Notice Box */
.help-notice {
  background: rgba(24, 184, 197, 0.08);
  border-left: 4px solid var(--help-cyan);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 16px 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.help-notice.warning {
  background: rgba(255, 182, 46, 0.08);
  border-left-color: var(--help-gold);
}

.help-notice.danger {
  background: rgba(239, 68, 68, 0.08);
  border-left-color: var(--help-red);
}

.help-notice b {
  color: #fff;
}

/* Footer */
.help-footer {
  background: #050d1a;
  border-top: 1px solid var(--help-border);
  padding: 40px 20px;
  color: var(--help-muted);
  font-size: 0.88rem;
}

.help-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.help-footer-links a {
  color: var(--help-muted);
  text-decoration: none;
}

.help-footer-links a:hover {
  color: #fff;
}

/* Search match styling */
mark.help-highlight {
  background: rgba(255, 182, 46, 0.35);
  color: #fff;
  padding: 1px 3px;
  border-radius: 3px;
}

.help-item-hidden {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .help-main-layout {
    grid-template-columns: 1fr;
  }
  .help-sidebar {
    position: relative;
    top: 0;
    max-height: none;
    overflow-x: auto;
  }
  .help-sidebar nav {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }
  .help-nav-item {
    white-space: nowrap;
  }
  .help-nav-links a:not(.help-nav-cta) {
    display: none;
  }
}

@media (max-width: 600px) {
  .help-section {
    padding: 20px 16px;
  }
  .help-hero h1 {
    font-size: 1.8rem;
  }
  .help-search-input {
    font-size: 0.95rem;
  }
}
