/* ODDessa v0.3.0 - cache-bust */
:root {
  --bg: #050807;
  --panel: rgba(11, 18, 16, .86);
  --panel2: rgba(16, 23, 25, .92);
  --line: rgba(0,166,81,.34);
  --line-gold: rgba(200,160,68,.55);
  --green: #00A651;
  --lime: #77B20E;
  --gold: #C8A044;
  --text: #F4F6F5;
  --muted: #A7B0AD;
  --danger: #ffb16a;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: radial-gradient(circle at top right, rgba(0,166,81,.18), transparent 35%), var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { -webkit-tap-highlight-color: transparent; }
.app-shell { width: min(1120px, 100%); margin: 0 auto; padding: 18px 14px 34px; }
.hero { position: relative; overflow: hidden; min-height: 430px; border: 1px solid rgba(200,160,68,.38); background: linear-gradient(135deg, rgba(5,8,7,.96), rgba(9,24,17,.82)); border-radius: 28px; padding: 26px; display: grid; grid-template-columns: 1fr 430px; align-items: center; box-shadow: 0 20px 80px rgba(0,0,0,.36); }
.hero::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,166,81,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,166,81,.06) 1px, transparent 1px); background-size: 38px 38px; opacity: .35; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; max-width: 600px; }
.brand-kicker { color: var(--green); letter-spacing: .28em; text-transform: uppercase; font-weight: 800; font-size: 13px; margin-bottom: 16px; }
h1 { font-size: clamp(36px, 6vw, 72px); line-height: .96; margin: 0 0 16px; letter-spacing: -.05em; }
.mantra { color: var(--muted); font-size: clamp(16px, 2vw, 22px); margin: 0 0 22px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badges span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: #dcebe2; background: rgba(0,166,81,.08); font-size: 13px; }
.hero-avatar { position: relative; z-index: 1; width: 100%; max-width: 460px; justify-self: end; border-radius: 22px; opacity: .92; filter: drop-shadow(0 20px 55px rgba(0,0,0,.5)); }
.panel { position: relative; margin-top: 16px; border: 1px solid rgba(0,166,81,.28); background: var(--panel); border-radius: 22px; padding: 18px; box-shadow: 0 12px 45px rgba(0,0,0,.24); }
.panel-header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
h2 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.03em; }
h3 { margin: 0 0 10px; }
.notice { border-left: 4px solid var(--gold); padding: 10px 12px; background: rgba(200,160,68,.08); color: #f4e6bd; border-radius: 12px; }
.grid-controls { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13px; }
input, select { width: 100%; border: 1px solid rgba(167,176,173,.22); background: rgba(0,0,0,.42); color: var(--text); border-radius: 14px; padding: 13px 12px; font: inherit; outline: none; }
input:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,166,81,.14); }
.actions, .share-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
button { border: 0; cursor: pointer; font: inherit; border-radius: 14px; padding: 13px 16px; font-weight: 800; }
button:disabled { opacity: .45; cursor: not-allowed; }
.primary-btn { color: #061108; background: linear-gradient(135deg, var(--green), var(--lime)); }
.secondary-btn { color: var(--text); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.ghost-btn { color: var(--text); background: rgba(0,166,81,.12); border: 1px solid var(--line); }
.hidden { display: none !important; }
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; color: var(--muted); }
.analysis { overflow: hidden; user-select: none; }
.analysis-watermark { position: absolute; inset: auto -80px -120px auto; width: 420px; height: 420px; background: url('/assets/avatar-oddessa.png') center/cover; opacity: .10; filter: grayscale(.1); border-radius: 50%; pointer-events: none; }
.analysis-card { position: relative; z-index: 2; display: grid; gap: 14px; }
.analysis-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 14px; }
.analysis-title { font-size: 28px; font-weight: 900; letter-spacing: -.04em; }
.meta { color: var(--muted); margin-top: 4px; }
.profile-pill { color: #061108; background: var(--green); padding: 8px 12px; border-radius: 999px; font-weight: 900; text-transform: uppercase; font-size: 12px; }
.block { border: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.26); border-radius: 18px; padding: 14px; }
.block h3 { color: var(--green); letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.rec { border: 1px solid rgba(0,166,81,.25); border-radius: 16px; padding: 12px; margin-top: 10px; background: rgba(0,166,81,.06); }
.rec-main { border-color: rgba(200,160,68,.55); background: rgba(200,160,68,.08); }
.rec-title { font-weight: 900; font-size: 18px; }
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.stat { background: rgba(255,255,255,.06); border-radius: 12px; padding: 10px; }
.stat small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.stat strong { font-size: 20px; color: var(--text); }
.class-AAA strong { color: #00ff7b; }
.class-AA strong { color: #7CFF8A; }
.class-A strong { color: #FFE070; }
ul { margin: 8px 0 0; padding-left: 20px; }
li { margin: 7px 0; }
.muted { color: var(--muted); }
.feedback-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.feedback-actions button { background: rgba(255,255,255,.08); color: var(--text); border: 1px solid rgba(255,255,255,.12); }
.card-preview { overflow-x: auto; }
.share-card { width: 860px; max-width: 100%; background: radial-gradient(circle at top right, rgba(0,166,81,.20), transparent 28%), linear-gradient(145deg, #050807, #0a1110); border: 2px solid rgba(0,166,81,.45); border-radius: 30px; padding: 28px; color: var(--text); position: relative; overflow: hidden; }
.share-card::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 420px; height: 420px; background: url('/assets/avatar-oddessa.png') center/cover; opacity: .16; border-radius: 50%; }
.share-card-inner { position: relative; z-index: 2; }
.share-brand { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.share-brand strong { font-size: 28px; }
.share-brand span { color: var(--green); font-weight: 900; letter-spacing: .12em; font-size: 12px; }
.share-disclaimer { margin-top: 18px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 14px; color: #e7e7e7; font-weight: 700; }
.faq details { border-top: 1px solid rgba(255,255,255,.08); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 800; }
footer { margin: 18px 0 0; color: var(--muted); font-size: 13px; text-align: center; padding: 16px; }
@media (max-width: 860px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 22px; }
  .hero-avatar { max-width: 320px; justify-self: center; margin-top: 18px; }
  .grid-controls { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .analysis-top { flex-direction: column; }
  .rec-grid { grid-template-columns: 1fr 1fr; }
}

/* ODDessa v0.2 refinamentos visuais */
.notice-strong {
  text-align: center;
  font-size: 16px;
  border-left: 0;
  border-top: 1px solid rgba(200,160,68,.55);
  border-bottom: 1px solid rgba(200,160,68,.20);
  background: linear-gradient(90deg, rgba(200,160,68,.06), rgba(200,160,68,.17), rgba(0,166,81,.07));
  box-shadow: inset 0 0 22px rgba(200,160,68,.08);
}
.notice-strong strong { color: #ffd875; text-transform: uppercase; letter-spacing: .08em; }
.primary-btn, .secondary-btn, .ghost-btn, .install-btn { text-transform: uppercase; letter-spacing: .02em; }
.analyze-cta {
  min-width: 172px;
  font-size: 15px;
  box-shadow: 0 0 0 1px rgba(119,178,14,.25), 0 14px 28px rgba(0,166,81,.22), inset 0 0 18px rgba(255,255,255,.10);
}
.analyze-cta[disabled] { color: #061108; opacity: .88; }
.install-btn {
  color: #061108;
  background: linear-gradient(135deg, #d6ffc4, var(--green), var(--lime));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 0 0 1px rgba(0,166,81,.28), 0 12px 30px rgba(0,166,81,.20);
  padding: 14px 18px;
  font-weight: 950;
}
.loading-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(0,166,81,.40);
  border-radius: 22px;
  background: radial-gradient(circle at 80% 30%, rgba(0,166,81,.18), transparent 30%), rgba(0,0,0,.24);
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}
.loading-orb {
  width: 82px; height: 82px; border-radius: 50%; position: relative;
  border: 2px solid rgba(0,166,81,.32);
  box-shadow: 0 0 36px rgba(0,166,81,.22), inset 0 0 24px rgba(0,166,81,.18);
}
.loading-orb::before, .loading-orb::after { content: ''; position: absolute; inset: 8px; border-radius: 50%; border: 2px solid transparent; }
.loading-orb::before { border-top-color: var(--green); border-right-color: var(--gold); animation: oddessa-spin 1.2s linear infinite; }
.loading-orb::after { inset: 22px; background: radial-gradient(circle, var(--green), transparent 72%); animation: oddessa-pulse 1.5s ease-in-out infinite; }
.loading-title { font-size: clamp(24px, 4vw, 42px); font-weight: 950; letter-spacing: -.04em; margin: 0 0 6px; }
.loading-subtitle { margin: 0; color: #cde5d7; font-size: 15px; }
.loading-steps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.loading-steps span { border: 1px solid rgba(0,166,81,.26); background: rgba(0,166,81,.08); color: #dbf9e5; border-radius: 999px; padding: 7px 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
@keyframes oddessa-spin { to { transform: rotate(360deg); } }
@keyframes oddessa-pulse { 50% { transform: scale(1.22); opacity: .55; } }
.share-actions {
  position: sticky;
  bottom: 10px;
  z-index: 6;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(0,166,81,.32);
  border-radius: 18px;
  background: rgba(5,8,7,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 44px rgba(0,0,0,.38);
}
.card-cta { width: 100%; font-size: 15px; padding: 16px 18px; }
.card-panel { border-color: rgba(200,160,68,.35); background: rgba(8,12,10,.96); }
.rec-title { text-transform: uppercase; }
.block h3 { color: #21d36a; }
.age-strip, .age-badge {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px; min-width: 58px; border-radius: 50%;
  border: 6px solid #ff3131; background: #fff; color: #050505;
  font-weight: 1000; font-size: 19px; line-height: 1;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15), 0 8px 24px rgba(255,49,49,.18);
}
.age-warning {
  display: flex; gap: 14px; align-items: center;
  border: 1px solid rgba(255,49,49,.45);
  background: linear-gradient(90deg, rgba(255,49,49,.08), rgba(0,166,81,.04));
}
.site-footer { display: flex; justify-content: center; align-items: center; gap: 14px; }
.share-card { width: 960px; }
.share-card .analysis-card { gap: 10px; }
.share-card .block { padding: 12px; }
.share-card .rec { padding: 10px; margin-top: 8px; }
.share-card .analysis-title { font-size: 30px; }
.share-card .rec-grid { grid-template-columns: repeat(4, 1fr); }
.card-preview img { border-radius: 22px; border: 1px solid rgba(0,166,81,.32); box-shadow: 0 18px 50px rgba(0,0,0,.40); }
@media (max-width: 860px) {
  .panel-header { align-items: stretch; flex-direction: column; }
  .install-btn { width: 100%; }
  .loading-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .loading-steps { justify-content: center; }
  .share-actions { position: static; }
  .site-footer { align-items: center; flex-direction: column; }
}


/* v0.3 visual reinforcement */
.controls-panel .panel-header h2 { text-transform: uppercase; letter-spacing: .06em; font-size: 18px; color: #ffffff; }
.notice-strong { text-align: center; font-size: 17px; font-weight: 850; border: 1px solid rgba(200,160,68,.55); border-left: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(200,160,68,.18), rgba(0,166,81,.10)); box-shadow: 0 0 28px rgba(200,160,68,.10); }
.notice-strong strong { display: inline-block; color: #ffd875; }
.analyze-cta { min-height: 58px; padding: 16px 24px; font-size: 16px; border-radius: 18px; box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 14px 45px rgba(0,166,81,.24); }
.analyze-cta::before { content: '◉ '; opacity: .9; }
.install-btn { min-height: 58px; padding: 15px 22px; font-size: 15px; color: #ffffff; background: linear-gradient(135deg, rgba(0,166,81,.35), rgba(119,178,14,.16)); border: 1px solid rgba(0,166,81,.72); box-shadow: 0 10px 35px rgba(0,166,81,.16); }
.install-btn::before { content: '📲 '; }
.loading-card { border: 1px solid rgba(0,166,81,.55); background: radial-gradient(circle at left, rgba(0,166,81,.20), transparent 32%), linear-gradient(135deg, rgba(5,8,7,.98), rgba(8,24,17,.96)); min-height: 210px; box-shadow: 0 24px 80px rgba(0,0,0,.32), 0 0 55px rgba(0,166,81,.10) inset; }
.loading-title { text-transform: none; color: #ffffff; text-shadow: 0 0 32px rgba(0,166,81,.28); }
.loading-subtitle { font-size: 17px; color: #e1f6e8; font-weight: 650; }
.card-panel { border-color: rgba(200,160,68,.42); background: linear-gradient(180deg, rgba(200,160,68,.08), rgba(0,166,81,.05)); }
.share-actions { border-top: 1px solid rgba(255,255,255,.10); padding-top: 16px; }
.card-cta { min-height: 54px; font-size: 15px; }
.card-cta::before { content: '↗ '; }
.age-warning { border: 1px solid rgba(200,160,68,.42); background: rgba(200,160,68,.08); align-items: center; }
.age-strip, .age-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; min-height: 54px; border-radius: 999px; border: 4px solid #e11616; color: #111; background: #fff; font-weight: 950; font-size: 20px; line-height: 1; box-shadow: 0 0 0 2px rgba(255,255,255,.15); }
.site-footer { align-items: center; gap: 14px; }
.rec-title { text-transform: uppercase; }
