/* pokersbot.com — single-page dark theme */

:root {
  --bg:          #0a0a0f;
  --bg-card:     #111118;
  --bg-input:    #1a1a26;
  --border:      #1e1e2e;
  --border-accent: rgba(74, 108, 247, 0.35);
  --fg:          #e2e2ec;
  --fg-dim:      #6b6b84;
  --fg-muted:    #3a3a4e;
  --accent:      #4a6cf7;
  --accent-hover:#6080ff;
  --accent-glow: rgba(74, 108, 247, 0.18);
  --success:     #2ecc71;
  --danger:      #e74c3c;
  --radius:      10px;
  --radius-sm:   6px;
  --shadow:      0 4px 32px rgba(0,0,0,0.5);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { color: var(--accent-hover); text-decoration: underline; }


/* ─── Layout ─────────────────────────────────────────── */

.page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px 80px;
  gap: 0;
}

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeDown 0.5s ease both;
}

.hero-icon {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(74, 108, 247, 0.5));
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--fg);
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--fg-dim);
  letter-spacing: 0.3px;
}

/* ─── Cards ──────────────────────────────────────────── */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 520px;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.45s ease both;
}

.card-license {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, #111118 0%, #13131f 100%);
}

.card-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.card-hint {
  font-size: 13px;
  color: var(--fg-dim);
  margin-bottom: 20px;
}


/* ─── Activate form ──────────────────────────────────── */

.input-row {
  display: flex;
  gap: 10px;
}

.input {
  flex: 1;
  padding: 11px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.input::placeholder { color: var(--fg-muted); }

.input-code {
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ─── Buttons ────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
  white-space: nowrap;
  color: #fff;
  background: var(--bg-input);
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

.btn-primary {
  background: var(--accent);
  box-shadow: 0 2px 12px rgba(74,108,247,0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 18px rgba(74,108,247,0.5);
}

.btn-copy {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--fg-dim);
  font-size: 13px;
  padding: 8px 16px;
  flex-shrink: 0;
}
.btn-copy:hover { color: var(--fg); border-color: var(--accent); }
.btn-copy.copied {
  background: rgba(46,204,113,0.15);
  color: var(--success);
  border-color: rgba(46,204,113,0.4);
}


/* ─── Alerts ─────────────────────────────────────────── */

.alert {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
}
.alert-error {
  background: rgba(231,76,60,0.12);
  color: var(--danger);
  border: 1px solid rgba(231,76,60,0.28);
}


/* ─── License key display ────────────────────────────── */

.key-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.key-display {
  flex: 1;
  font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--bg-input);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  word-break: break-all;
  line-height: 1.5;
}


/* ─── Downloads ──────────────────────────────────────── */

.download-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 180px;
  padding: 16px 20px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.download-btn:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--fg);
  text-decoration: none;
  transform: translateY(-2px);
}

.dl-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}

.dl-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dl-label strong { font-size: 15px; font-weight: 600; }
.dl-label small { font-size: 12px; color: var(--fg-dim); }


/* ─── Setup steps ────────────────────────────────────── */

.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.steps li {
  counter-increment: step;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.steps li strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  color: var(--fg);
}

.steps li span {
  display: block;
  font-size: 13px;
  color: var(--fg-dim);
  line-height: 1.55;
}

.steps li code {
  font-family: 'SF Mono', Consolas, monospace;
  font-size: 12px;
  background: var(--bg-input);
  padding: 1px 6px;
  border-radius: 3px;
  color: var(--fg);
}


/* ─── Animations ─────────────────────────────────────── */

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

#download-section .card {
  animation: fadeUp 0.4s ease both;
}
#download-section .card:nth-child(2) { animation-delay: 0.08s; }
#download-section .card:nth-child(3) { animation-delay: 0.16s; }


/* ─── Responsive ─────────────────────────────────────── */

@media (max-width: 560px) {
  .page-center { padding: 40px 16px 60px; }

  .hero-title  { font-size: 30px; }
  .hero-icon   { font-size: 38px; }

  .card { padding: 22px 18px; }

  .input-row   { flex-direction: column; }
  .btn-primary { width: 100%; }

  .key-row     { flex-direction: column; align-items: stretch; }
  .btn-copy    { width: 100%; }
  .key-display { font-size: 13px; }

  .download-row    { flex-direction: column; }
  .download-btn    { min-width: unset; }
}
