@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Inter:wght@400;500;600&family=Unbounded:wght@600;700&display=swap');


:root{
  --bg0:#070812;
  --bg1:#0b1024;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.12);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.70);
  --gold:#f5d37a;
  --violet:#a78bfa;
  --cyan:#5eead4;
  --shadow: 0 20px 70px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(167,139,250,.22), transparent 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(94,234,212,.18), transparent 55%),
              radial-gradient(900px 700px at 50% 90%, rgba(245,211,122,.12), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.wrap{max-width:1120px;margin:0 auto;padding:22px}

/* Cosmic animated background */
.bg{
  position:fixed; inset:0; z-index:-1; pointer-events:none;
}
.bg:before{
  content:"";
  position:absolute; inset:-20%;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1px 1px at 10% 65%, rgba(255,255,255,.55), transparent 60%);
  opacity:.55;
  filter: blur(.2px);
  animation: drift 14s linear infinite;
}
.bg:after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(800px 500px at 50% 0%, rgba(167,139,250,.15), transparent 65%);
  mix-blend-mode: screen;
  opacity:.7;
}
@keyframes drift{
  0%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(-18px, 10px,0)}
  100%{transform:translate3d(0,0,0)}
}

/* Topbar */
.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(7,8,18,.55);
  border-bottom: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.topbar .wrap{display:flex; align-items:center; justify-content:space-between; gap:16px}
.brand{
  font-family: Fraunces, serif;
  letter-spacing:.2px;
  font-weight:700;
  font-size:18px;
}
.nav{display:flex; gap:14px; flex-wrap:wrap}
.nav a{
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius: 999px;
  transition: all .18s ease;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}

/* Hero */
.hero{ padding: 26px 0 10px; }
.heroCard{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: calc(var(--radius) + 8px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 22px;
  overflow:hidden;
  position:relative;
}

/* Hero background image (your hero.webp / hero-mobile.webp) */
.heroCard:after{
  content:"";
  position:absolute; inset:-2px;
  background-image: url('/assets/img/hero.webp');
  background-size: cover;
  background-position: center;
  opacity: .26;
  filter: saturate(1.1) contrast(1.05);
  pointer-events:none;
  z-index: 0;
}
@media (max-width: 820px){
  .heroCard:after{
    background-image: url('/assets/img/hero-mobile.webp');
    opacity:.28;
  }
}

/* Existing glow overlay */
.heroCard:before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(500px 240px at 20% 20%, rgba(245,211,122,.22), transparent 60%),
              radial-gradient(600px 260px at 90% 10%, rgba(94,234,212,.16), transparent 60%);
  opacity:.9;
  pointer-events:none;
  z-index: 1;
}
.heroTitle, .heroSub{ position:relative; z-index:2; }

.heroTitle{
  margin:0;
  font-family: Fraunces, serif;
  font-size: 34px;
  line-height:1.08;
}
.heroSub{
  color:var(--muted);
  margin:10px 0 0;
  max-width: 72ch;
  line-height:1.55;
}

/* Grid + Cards */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 14px;
  margin-top: 16px;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
  position:relative;
}
.card:hover{
  transform: translateY(-4px);
  border-color: rgba(245,211,122,.35);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

/* Make titles icon-friendly */
.cardTitle{
  font-weight:700;
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:10px;
}
.cardMeta{font-size:12px; color:var(--muted); margin-bottom:10px}
.cardText{color:rgba(234,240,255,.86); font-size:14px; line-height:1.5}

.muted{color:var(--muted)}

/* Article */
.article{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.12);
  border-radius: calc(var(--radius) + 4px);
  padding: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.meta{color:var(--muted); font-size:13px; margin-bottom:10px}
.content p{line-height:1.75; margin: 0 0 12px}
.content a{color: var(--cyan); text-decoration: underline; text-underline-offset: 3px}

.adBox{
  margin:16px 0;
  padding:14px;
  border:1px dashed rgba(255,255,255,.22);
  border-radius: 14px;
  color:var(--muted);
  text-align:center;
  background: rgba(0,0,0,.12);
}

.disclosure{
  margin:12px 0;
  padding:12px 14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  color:var(--muted);
  font-size:13px;
}

/* Forms */
.dateForm{margin: 14px 0 18px}
.dateForm input, .dateForm button, .dateForm select{
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.dateForm button{cursor:pointer}
.dateForm button:hover{border-color: rgba(94,234,212,.35)}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.10);
  margin-top: 28px;
  padding: 20px 0;
  background: rgba(7,8,18,.35);
  backdrop-filter: blur(10px);
}
.footer a{color: var(--muted)}
.footer a:hover{color: var(--text)}
.small{margin-top:10px; color:var(--muted); font-size:12px}

/* --- Neon editorial chips --- */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 0 0 10px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(234,240,255,.86);
  backdrop-filter: blur(10px);
}
.chip--type{
  border-color: rgba(94,234,212,.26);
  box-shadow: 0 0 0 1px rgba(94,234,212,.10), 0 8px 30px rgba(94,234,212,.08);
}
.chip--zodiac{
  border-color: rgba(167,139,250,.26);
  box-shadow: 0 0 0 1px rgba(167,139,250,.10), 0 8px 30px rgba(167,139,250,.08);
}
.chip--date{
  border-color: rgba(245,211,122,.22);
  box-shadow: 0 0 0 1px rgba(245,211,122,.08), 0 8px 30px rgba(245,211,122,.07);
}

/* Zodiac emblem icon (in chips & titles) */
.zicon{
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(94,234,212,.16));
  opacity: .95;
}
.cardTitle .zicon{
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 14px rgba(167,139,250,.16));
}

/* --- Quick buttons (Σήμερα/Αύριο) --- */
.quickBtns{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 10px 0 18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(94,234,212,.35);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.btn--ghost{ opacity:.75; }
.btn--ghost:hover{ opacity:1; }

/* --- Next/Prev navigation inside posts --- */
.postNav{
  display:flex;
  gap:12px;
  margin-top: 18px;
}
.postNav a{
  flex:1;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  transition: transform .14s ease, border-color .14s ease;
}
.postNav a:hover{
  transform: translateY(-2px);
  border-color: rgba(245,211,122,.30);
}
.postNav .kicker{
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.postNav .label{
  font-weight: 800;
  color: rgba(234,240,255,.92);
}
.postNav .meta{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

/* --- Zodiac cover block --- */
.cover {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  margin: 10px 0 18px;
  background: rgba(0,0,0,.18);
}
.cover picture, .cover img { display:block; width:100%; height:auto; }
.coverOverlay{
  position:absolute; inset:0;
  background: radial-gradient(900px 420px at 20% 10%, rgba(94,234,212,.14), transparent 60%),
              radial-gradient(900px 420px at 80% 20%, rgba(167,139,250,.14), transparent 60%),
              linear-gradient(180deg, rgba(7,8,18,.20), rgba(7,8,18,.78));
  pointer-events:none;
}
.coverTitle{
  position:absolute; left:18px; bottom:16px; right:18px;
  font-family: Fraunces, serif;
  font-size: 26px;
  line-height:1.1;
  text-shadow: 0 10px 40px rgba(0,0,0,.55);
}
.cover--daily .coverTitle{ font-size: 22px; }

/* --- Notices (admin etc) --- */
.notice{
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 12px 0;
  color: var(--muted);
  backdrop-filter: blur(12px);
}
.notice.ok{
  border-color: rgba(94,234,212,.28);
  color: rgba(234,240,255,.86);
}
.notice.bad{
  border-color: rgba(245,211,122,.28);
  color: rgba(234,240,255,.86);
}
pre.code{
  overflow:auto;
  white-space:pre;
}

/* --- Cyber logotype (stronger neon + subtle glitch) --- */
.brand,
.heroTitle{
  font-family: Unbounded, Inter, system-ui, sans-serif;
  font-weight: 700;
  text-transform: lowercase;
  letter-spacing: .10em;
  position: relative;
  color: transparent;
  -webkit-text-stroke: 1px rgba(234,240,255,.18);

  background: linear-gradient(90deg,
    rgba(94,234,212,1) 0%,
    rgba(167,139,250,1) 35%,
    rgba(245,211,122,1) 70%,
    rgba(94,234,212,1) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;

  text-shadow:
    0 0 12px rgba(94,234,212,.25),
    0 0 26px rgba(94,234,212,.14),
    0 0 34px rgba(167,139,250,.14),
    0 12px 60px rgba(0,0,0,.55);

  animation: neonShift 7s ease-in-out infinite;
}

/* Keep header brand a bit tighter so it feels like a logo */
.brand{
  letter-spacing: .14em;
  font-size: 16px;
}

/* Make hero title more “statement” */
.heroTitle{
  letter-spacing: .06em;
}

/* Glitch layers (subtle) */
.brand::before,
.brand::after,
.heroTitle::before,
.heroTitle::after{
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background: inherit;
  opacity: .85;
  pointer-events: none;
  mix-blend-mode: screen;
}

.brand::before,
.heroTitle::before{
  transform: translate(1px, 0);
  filter: hue-rotate(12deg);
  clip-path: inset(0 0 55% 0);
  opacity: .22;
}

.brand::after,
.heroTitle::after{
  transform: translate(-1px, 0);
  filter: hue-rotate(-16deg);
  clip-path: inset(55% 0 0 0);
  opacity: .18;
}

@keyframes neonShift{
  0%{ background-position: 0% 50%; }
  50%{ background-position: 100% 50%; }
  100%{ background-position: 0% 50%; }
}

/* Reduce motion support */
@media (prefers-reduced-motion: reduce){
  .brand, .heroTitle{ animation: none; }
}

/* ==============================
   Cyber upgrades (Hero + Cards)
   Paste at the VERY end of styles.css
   ============================== */

/* 1) Hero: scanlines + subtle noise (tech HUD feel) */
.hero{ position: relative; }
.hero::before{
  content:"";
  position:absolute;
  left:-18px; right:-18px; top:-10px; bottom:-10px;
  pointer-events:none;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(234,240,255,.08) 0px,
      rgba(234,240,255,.08) 1px,
      transparent 1px,
      transparent 5px
    );
  opacity:.22;
  mix-blend-mode: soft-light;
  filter: blur(.15px);
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 40%, transparent 78%);
  animation: scanMove 8s linear infinite;
}

.hero::after{
  content:"";
  position:absolute;
  left:-18px; right:-18px; top:-10px; bottom:-10px;
  pointer-events:none;
  /* lightweight “noise”: tiny specks using multiple radial gradients */
  background:
    radial-gradient(1px 1px at 12% 18%, rgba(245,211,122,.22), transparent 60%),
    radial-gradient(1px 1px at 78% 22%, rgba(94,234,212,.18), transparent 60%),
    radial-gradient(1px 1px at 44% 66%, rgba(167,139,250,.18), transparent 60%),
    radial-gradient(1px 1px at 66% 78%, rgba(234,240,255,.18), transparent 60%),
    radial-gradient(1px 1px at 22% 84%, rgba(234,240,255,.14), transparent 60%);
  opacity:.30;
  mix-blend-mode: screen;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000 45%, transparent 82%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000 45%, transparent 82%);
}

@keyframes scanMove{
  0%{ background-position: 0 0; }
  100%{ background-position: 0 28px; }
}

/* 2) Cards: neon edge glow on hover (editorial by default, cyber on hover) */
.card{ isolation: isolate; }
.card:hover{
  border-color: rgba(94,234,212,.28);
  box-shadow:
    0 18px 60px rgba(0,0,0,.45),
    0 0 0 1px rgba(94,234,212,.12),
    0 0 34px rgba(94,234,212,.10),
    0 0 44px rgba(167,139,250,.10);
}

/* Optional: tiny “sheen” that appears on hover */
.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: radial-gradient(420px 140px at 20% 10%, rgba(94,234,212,.12), transparent 60%),
              radial-gradient(420px 140px at 80% 90%, rgba(167,139,250,.10), transparent 60%);
  opacity: 0;
  transition: opacity .18s ease;
}
.card:hover::before{ opacity: 1; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .hero::before{ animation: none; }
}

.cookieBanner{ position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; }
.cookieBanner__inner{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:14px; border-radius:14px;
  background: rgba(18,20,28,.78); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.10);
}
.cookieBanner__text{ color: rgba(234,240,255,.86); font-size: 14px; line-height: 1.35; }
.cookieBanner__text a{ color: rgba(94,234,212,.95); margin-left: 8px; }
.cookieBanner__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.cookieModal{ position: fixed; inset: 0; z-index: 10000; }
.cookieModal__backdrop{ position:absolute; inset:0; background: rgba(0,0,0,.55); }
.cookieModal__panel{
  position: relative;
  width: min(520px, calc(100% - 32px));
  margin: 10vh auto 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(18,20,28,.92);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
}
.cookieRow{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.cookieModal__actions{ display:flex; gap:10px; justify-content:flex-end; margin-top: 14px; }

@media (max-width: 640px){
  .cookieBanner__inner{ flex-direction: column; align-items: stretch; }
  .cookieBanner__actions{ justify-content: flex-end; }
}
