/* ═══════════════════════════════════════════════════
   AUJOURD'HUI — Horoscope du jour
   V2 Xtract design system — glass cards, layered shadows
   ═══════════════════════════════════════════════════ */

/* ── GATE (non-connecté) ── */
.gate{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 100px 24px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.gate .floating-inner{
  background: rgba(13, 13, 13, 0.8);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.06),
    0 2px 4px rgba(0,0,0,0.3),
    0 8px 24px rgba(0,0,0,0.4),
    0 0 80px rgba(129,74,200,0.04);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.gate .floating-inner:hover{
  border-color: #333;
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.08),
    0 2px 4px rgba(0,0,0,0.3),
    0 8px 24px rgba(0,0,0,0.4),
    0 0 80px rgba(129,74,200,0.08);
}

.gate .floating-inner h2{
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}

.gate .floating-inner p{
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  font-size: 15px;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.gate-feat{
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 16px;
  align-items: baseline;
  text-align: left;
  transition: background 0.2s var(--ease);
}

.gate-feat:last-of-type{ border-bottom: none; }

.gate-feat:hover{
  background: rgba(255,255,255,0.02);
  margin: 0 -16px;
  padding: 16px 16px;
}

.gate-feat span:first-child{
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-light);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.gate-feat span:last-child{
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
}

.gate-btn{
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  cursor: pointer;
  border-radius: 4px;
  background: var(--heading);
  color: var(--bg);
  border: none;
  display: inline-block;
  margin-top: 28px;
  transition: all 0.3s var(--ease);
}

.gate-btn:hover{
  background: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}

.gate-login{
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.05em;
}

.gate-login a{
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.gate-login a:hover{ color: #fff; }

/* ── APP ── */
.app{
  display: none;
  flex-direction: column;
  flex: 1;
}

.app-inner{
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 100px 24px 80px;
  box-sizing: border-box;
}

/* ── DAY TABS ── */
.day-tabs{
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
  padding: 4px;
  background: rgba(13,13,13,0.8);
  border: 1px solid #222;
  border-radius: 6px;
}

.day-tab{
  padding: 10px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}

.day-tab.active{
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.day-tab:hover:not(.active){
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.03);
}

/* ── TODAY LABEL ── */
.today-label{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  text-align: right;
  margin-bottom: 12px;
}

/* ── GLANCE ── */
.glance{
  margin-bottom: 0;
  padding: 32px;
  background: rgba(13,13,13,0.8);
  border: 1px solid #222;
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 0 0 0.5px rgba(255,255,255,0.04),
    0 2px 8px rgba(0,0,0,0.3),
    0 0 60px rgba(129,74,200,0.03);
}

.glance-label{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 20px;
}

.glance-title{
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: #fff;
  font-weight: 400;
}

.glance-body{
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  max-width: 540px;
}

/* ── DO / DON'T ── */
.do-dont{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.do-col h4{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.do-col ul{ list-style: none; padding: 0; margin: 0; }

.do-col li{
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.4;
  padding-left: 16px;
  position: relative;
}

.do-col li::before{
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.3);
}

/* ── DIVIDER ── */
.sec-divider{
  height: 0;
  margin: 32px 0;
}

/* ── AREAS ── */
.areas-label{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
}

.area{
  padding: 24px;
  margin: 0 0 12px;
  background: rgba(13,13,13,0.8);
  border: 1px solid #222;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.area:hover{
  border-color: #333;
  background: rgba(20,20,20,0.9);
  box-shadow:
    0 1px 3px rgba(0,0,0,0.2),
    0 0 40px rgba(129,74,200,0.05);
  transform: translateY(-1px);
}

.area:hover .area-arrow{ color: var(--accent-light); transform: translateX(4px); }

.area-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.area-title{
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: #fff;
  font-weight: 400;
}

.area-arrow{
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  transition: all 0.3s var(--ease);
}

.area-text{
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

/* ── AREA DETAIL OVERLAY ── */
.area-detail{
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.area-detail.open{ transform: translateX(0); }

.ad-inner{
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  padding: 32px 40px;
  flex: 1;
}

.ad-back{
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 8px 0;
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.ad-back:hover{ color: #fff; }

.ad-title{
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 32px;
  color: #fff;
  font-weight: 400;
}

.ad-body{
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.ad-body p{ margin-bottom: 16px; }

.ad-feedback{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ad-fb-label{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.35);
  flex: 1;
}

.ad-fb-btn{
  background: rgba(255,255,255,0.04);
  border: 1px solid #222;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 4px;
  transition: all 0.2s var(--ease);
}

.ad-fb-btn:hover{
  background: rgba(255,255,255,0.08);
  border-color: #444;
  color: #fff;
}

/* ── TRANSITS (behind the forecast) ── */
.btf{
  margin-top: 48px;
  padding: 24px;
  background: rgba(13,13,13,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.btf-label{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.transit-row{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s;
}

.transit-row:last-child{ border-bottom: none; }

.transit-row:hover{ background: rgba(255,255,255,0.02); margin: 0 -12px; padding: 14px 12px; border-radius: 4px; }

.transit-planet{
  width: 36px;
  height: 36px;
  background: rgba(129,74,200,0.08);
  border: 1px solid rgba(129,74,200,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.transit-info{ flex: 1; }
.transit-name{ font-size: 14px; color: rgba(255,255,255,0.85); letter-spacing: -0.02em; margin-bottom: 2px; }
.transit-dur{ font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.35); letter-spacing: 0.05em; }
.transit-arrow{ font-size: 14px; color: rgba(255,255,255,0.2); }

/* ── LOADING ── */
.loading{
  text-align: center;
  padding: 100px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text{
  0%,100%{ opacity: 0.4; }
  50%{ opacity: 1; }
}

/* ── PRO SECTION — TRANSITS PERSONNELS ── */
.pro-section{
  padding: 0;
  margin-top: 32px;
}

.pro-label{
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-badge{
  font-size: 10px;
  padding: 3px 8px;
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.pro-content{ position: relative; min-height: 300px; }
.pro-content.locked .pro-items{ filter: blur(6px); pointer-events: none; user-select: none; }
.pro-content.locked .pro-gate{ display: flex; }
.pro-content:not(.locked) .pro-gate{ display: none; }

.pro-items{ display: flex; flex-direction: column; gap: 12px; }

.pro-transit{
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(13,13,13,0.8);
  border: 1px solid #222;
  border-radius: 8px;
  transition: all 0.3s var(--ease);
}

.pro-transit:hover{
  border-color: #333;
  box-shadow: 0 0 40px rgba(129,74,200,0.04);
}

.pt-icon{
  width: 40px;
  height: 40px;
  background: rgba(129,74,200,0.08);
  border: 1px solid rgba(129,74,200,0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
}

.pt-body{ flex: 1; }
.pt-head{ display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.pt-name{ font-family: var(--font-heading); font-size: 18px; color: #fff; letter-spacing: -0.04em; }
.pt-sign{ font-family: var(--font-mono); font-size: 11px; color: var(--accent-light); letter-spacing: 0.05em; }
.pt-text{ font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.5; letter-spacing: -0.02em; }

/* ── PRO GATE OVERLAY ── */
.pro-gate{
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 5;
  background: radial-gradient(ellipse at center, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.95) 75%);
  padding: 48px 24px;
}

.pro-gate-text{
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 32px);
  color: #fff;
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.pro-gate-sub{
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pro-gate-btn{
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.pro-gate-btn:hover{
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(129,74,200,0.3);
}

.pro-gate-dismiss{
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.pro-gate-dismiss:hover{ color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ── */
@media(max-width: 768px){
  .gate{ padding: 64px 24px; }
  .gate .floating-inner{ padding: 36px 24px; }
  .app-inner{ padding: 80px 24px 60px; }
  .day-tab{ padding: 8px 14px; font-size: 11px; }
  .do-dont{ gap: 20px; }
  .glance{ padding: 24px; }
  .glance-title{ font-size: 28px; }
  .area{ padding: 20px; }
  .area-title{ font-size: 20px; }
  .ad-inner{ padding: 24px; }
  .btf{ padding: 20px; }
  .pro-transit{ padding: 16px; }
}

@media(max-width: 480px){
  .app-inner{ padding: 72px 16px 48px; }
  .day-tabs{ margin-bottom: 32px; }
  .glance{ padding: 20px; }
  .glance-title{ font-size: 24px; }
  .do-dont{ grid-template-columns: 1fr; gap: 24px; }
  .area{ padding: 16px; margin-bottom: 8px; }
}
