/* ═══════════════════════════════════════════
   8platform Design System — shared tokens + components
   Consumed by the 40 standalone 8*.html apps.
   Apps override --a / --a-glow (and any bespoke tokens) locally,
   in a <style> block AFTER this file's <link>, so the override wins.
   ═══════════════════════════════════════════ */

/* Γραμματοσειρά offline (OFL 1.1 — vendor/fonts/OFL.txt). Manrope ΚΑΙ ΟΧΙ Outfit:
   το Outfit δεν έχει ελληνικά glyphs, οπότε το ελληνικό κείμενο έπεφτε σε system
   font — άλλη όψη ανά συσκευή. Ό,τι αλλάξει εδώ ισχύει παντού. Βλ. PROTOCOL §2. */
@import url('/vendor/fonts/fonts.css');

:root {
  /* Surfaces */
  --bg:   #0b0f19;
  --s:    #151f32;
  --s2:   #1e2d4a;
  --b:    rgba(255, 255, 255, 0.05);
  --b2:   rgba(255, 255, 255, 0.12);

  /* Text */
  --t:    #f1f5f9;
  --m:    #94a3b8;
  --dim:  #334155;

  /* Accent — apps MUST override --a / --a-glow locally (this is a neutral fallback) */
  --a:      #6366f1;
  --a-glow: rgba(99, 102, 241, 0.15);
  --a2:     #6366f1;
  --a3:     #10b981;
  --a4:     #f59e0b;

  /* Glass */
  --glass-bg:     rgba(21, 31, 50, 0.65);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Radius scale */
  --r-sm: 14px;
  --r-md: 16px;
  --r-lg: 22px;

  /* Fonts — και οι τρεις με ελληνική κάλυψη, σερβίρονται τοπικά από /vendor/fonts/.
     --f-head ήταν 'Outfit': ΔΕΝ έχει ελληνικά glyphs → αντικαταστάθηκε από Manrope. */
  --f-head: 'Manrope', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.card h3 {
  font-family: var(--f-head);
  color: var(--a);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  padding: 0.6rem 1.2rem;
  background: var(--s2);
  border: 1px solid var(--b);
  color: #fff;
  font-weight: 600;
  font-family: inherit;
  font-size: 0.85rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--ease);
}
.btn:hover {
  background: var(--a);
  border-color: var(--a);
}

.back-btn {
  font-size: 0.8rem;
  color: var(--m);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--b);
  border-radius: var(--r-sm);
  transition: var(--ease);
}
.back-btn:hover {
  color: var(--t);
  border-color: var(--b2);
}

.badge {
  font-size: 0.65rem;
  background: var(--a-glow);
  border: 1px solid var(--a);
  color: var(--a);
  padding: 0.2rem 0.55rem;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-family: var(--f-mono);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
