/* ===========================
   Root Variables & Colors
   (flatter + less neon)
   =========================== */
:root {
  --orange:        #d97706;                 /* muted orange */
  --orange-dark:   #b45309;
  --orange-light:  #f59e0b;

  --bg:            #0f0f0f;
  --fg:            #ffffff;
  --muted:         #a3a3a3;

  --surface:       #171717;
  --surface-hover: #1f1f1f;

  --turquoise:     #22c1d6;
  --green:         #22c55e;
  --yellow:        #eab308;
  --red:           #ef4444;

  --border:        rgba(217, 119, 6, 0.22);
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

/* ===========================
   Typography & Links
   (no animated underline)
   =========================== */
a {
  color: var(--orange);
  text-decoration: none;
}

a:hover {
  color: var(--orange-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   Layout Containers
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ===========================
   Header & Navigation
   (no blur/glow)
   =========================== */
.header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 16px 0;
}

.brand img, .brand svg {
  width: 56px;
  height: 56px;
}

.brand .title {
  font-weight: 900;
  font-size: 28px;
  color: var(--orange);
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 32px;
  font-size: 15px;
  padding-bottom: 16px;
  font-weight: 600;
}

.nav a {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  padding: 8px 0;
  text-decoration: none;
}

.nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

/* ===========================
   Cards & Surfaces
   (no rounded corners / no lift)
   =========================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 32px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.card:hover {
  border-color: rgba(217, 119, 6, 0.35);
  background: var(--surface-hover);
}

/* ===========================
   Buttons
   (flat + no shine animation)
   =========================== */
.btn {
  background: var(--orange);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #111;
  padding: 14px 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border-radius: 0;
}

.btn:hover {
  background: var(--orange-dark);
}

.btn:active {
  background: var(--orange-dark);
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.actions .btn:last-child {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

.actions .btn:last-child:hover {
  background: var(--surface-hover);
  color: var(--fg);
  border-color: rgba(217, 119, 6, 0.35);
}

/* ===========================
   Forms & Inputs
   (no rounded corners)
   =========================== */
.input, .select, .textarea {
  width: 100%;
  background: var(--surface);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 14px 16px;
  outline: none;
  font-size: 15px;
  font-family: inherit;
}

.input:focus, .select:focus, .textarea:focus {
  border-color: rgba(217, 119, 6, 0.45);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

.input::placeholder, .textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===========================
   Grid Layouts
   =========================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   Key-Value Pairs
   =========================== */
.kv {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  color: var(--muted);
  padding: 8px 0;
}

.kv strong {
  color: var(--fg);
  font-weight: 700;
  min-width: 100px;
}

/* ===========================
   Badges
   (flat + no glow)
   =========================== */
.badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  border-radius: 0;
}

.badge.Official {
  border-color: var(--turquoise);
  color: var(--turquoise);
}

.badge.Safe {
  border-color: var(--green);
  color: var(--green);
}

.badge.Semi-Risky {
  border-color: var(--yellow);
  color: var(--yellow);
}

.badge.Dangerous {
  border-color: var(--red);
  color: var(--red);
}

/* ===========================
   Tables
   (no rounded corners)
   =========================== */
.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
}

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

.table th {
  background: rgba(217, 119, 6, 0.06);
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.table tbody tr:hover {
  background: var(--surface-hover);
}

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

/* ===========================
   Notices & Alerts
   (no entrance animation)
   =========================== */
.notice {
  padding: 16px 20px;
  border-left: 4px solid;
  background: var(--surface);
  margin: 20px 0;
  font-size: 14px;
  border-radius: 0;
}

.notice.success {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.06);
}

.notice.error {
  border-color: var(--red);
  background: rgba(239, 68, 68, 0.06);
}

/* ===========================
   Footer
   =========================== */
.footer {
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding: 32px 0;
  font-size: 13px;
  text-align: center;
  background: var(--surface);
}

/* ===========================
   Ad Slots
   =========================== */
.ad-slot {
  border: 1px dashed var(--border);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  border-radius: 0;
  background: rgba(217, 119, 6, 0.03);
  font-style: italic;
}

/* ===========================
   Labels & Typography
   (no gradient text)
   =========================== */
label {
  font-size: 12px;
  color: var(--orange);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

h1, h2, h3 {
  font-weight: 900;
  margin: 20px 0;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 48px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 32px;
}

h2 {
  font-size: 32px;
  color: var(--fg);
}

h3 {
  font-size: 24px;
  color: var(--fg);
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 24px 0;
  opacity: 0.6;
}

.small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  h1 {
    font-size: 32px;
  }

  .brand .title {
    font-size: 20px;
  }

  .card {
    padding: 20px;
  }

  .table th, .table td {
    padding: 12px 8px;
    font-size: 13px;
  }

  .nav {
    gap: 20px;
  }
}
