@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root{
  --bg:#05070b;
  --panel:#0d1117;
  --card:#111821;
  --line:#263241;
  --text:#e6edf3;
  --soft:#c9d1d9;
  --muted:#8b949e;
  --gold:#d29922;
  --gold2:#f0b72f;
  --green:#3fb950;
  --red:#f85149;
  --blue:#58a6ff;
  --blue2:#7fb4ff;
  --orange:#f59e0b;
}

*{box-sizing:border-box}

html{
  background:var(--bg);
}

body{
  margin:0;
  font-family:"Inter","Segoe UI",Arial,sans-serif;
  font-weight:400;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(210,153,34,.10), transparent 33rem),
    radial-gradient(circle at top right, rgba(88,166,255,.08), transparent 32rem),
    var(--bg);
}

a{
  color:var(--blue);
  text-decoration:none;
}

a:hover{
  text-decoration:none;
}

.header{
  position:sticky;
  top:0;
  z-index:30;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:18px;
  padding:14px 26px;
  background:rgba(6,9,15,.95);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--text);
  padding:6px 8px;
  margin:-6px -8px;
  border-radius:14px;
  transition:.18s ease;
}

.brand:hover{
  background:rgba(210,153,34,.15);
  transform:translateY(-1px);
  text-shadow:0 0 10px rgba(210,153,34,.55);
}

.logo{
  width:76px;
  height:76px;
  object-fit:contain;
  border-radius:13px;
  box-shadow:0 0 18px rgba(210,153,34,.18);
  transition:.18s ease;
}

.brand:hover .logo{
  transform:translateY(-2px) scale(1.03);
  box-shadow:0 0 26px rgba(210,153,34,.34);
}

.brand-copy{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.brand-stamp,.header-pill,.page-chip{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(210,153,34,.14);
  border:1px solid rgba(210,153,34,.40);
  color:#ffd780;
  font-size:13px;
  font-weight:600;
  line-height:1;
  box-shadow:0 0 18px rgba(210,153,34,.14);
}

.site-subtitle{
  color:var(--muted);
  font-size:12px;
  margin-left:4px;
  font-weight:400;
}

.header-center{
  display:flex;
  justify-content:center;
  min-width:240px;
}

.header-pill{
  background:rgba(210,153,34,.10);
  border-color:rgba(210,153,34,.30);
  color:#f4d17d;
  animation:softFloat 3.2s ease-in-out infinite, softGlow 2.4s ease-in-out infinite;
  white-space:nowrap;
}

@keyframes softFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-3px)}
}

@keyframes softGlow{
  0%,100%{box-shadow:0 0 12px rgba(210,153,34,.14)}
  50%{box-shadow:0 0 26px rgba(210,153,34,.30)}
}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}

.nav a{
  color:var(--soft);
  font-size:15px;
  font-weight:500;
  padding:7px 9px;
  border-radius:8px;
  transition:.18s ease;
}

.nav a:hover,.nav a.active{
  color:#fff;
  background:rgba(210,153,34,.16);
  text-shadow:0 0 10px rgba(210,153,34,.55);
  transform:translateY(-1px);
}

.nav a.active{
  color:#ffd780;
  background:rgba(210,153,34,.20);
}

.social-links{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-left:10px;
  flex-wrap:wrap;
}

.social-label{
  color:var(--muted);
  font-size:12px;
  font-weight:500;
  letter-spacing:.2px;
}

.social-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid rgba(88,166,255,.22);
  background:rgba(88,166,255,.08);
  color:#d8ebff;
  font-size:12px;
  font-weight:500;
  transition:.18s ease;
}

.social-pill:hover{
  color:#fff;
  background:rgba(210,153,34,.12);
  border-color:rgba(210,153,34,.35);
  transform:translateY(-1px);
}

.social-pill.linkedin{
  min-width:78px;
}

.page{
  max-width:1440px;
  margin:0 auto;
  padding:26px;
}

.panel{
  background:rgba(13,17,23,.94);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 16px 40px rgba(0,0,0,.20);
  padding:22px;
  margin-bottom:18px;
}

h1{
  margin:0 0 14px;
  font-size:clamp(34px,4vw,54px);
  line-height:1.06;
  letter-spacing:-1px;
  font-weight:700;
}

h2{
  margin:0 0 14px;
  font-size:24px;
  font-weight:600;
}

h3{
  margin:0 0 8px;
  color:#fff;
  font-weight:600;
}

p,li{
  color:var(--soft);
  line-height:1.7;
  font-weight:400;
}

.muted{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  font-weight:400;
}

.dynamic-card,.card{
  background:radial-gradient(circle at top right, rgba(210,153,34,.15), transparent 14rem), linear-gradient(180deg,#101826,#0d131d);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 12px 30px rgba(0,0,0,.18);
  transition:.18s ease;
}

.dynamic-card:hover,.card:hover{
  transform:translateY(-3px);
  border-color:rgba(210,153,34,.45);
  box-shadow:0 18px 35px rgba(0,0,0,.26);
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-bottom:18px;
}

.footer{
  margin-top:20px;
  padding:24px 0 10px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:13px;
  font-weight:400;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:12px;
}

.footer-links a{
  color:var(--soft);
  font-weight:500;
  padding:6px 8px;
  border-radius:8px;
  transition:.18s ease;
}

.footer-links a:hover,.footer-links a.active{
  color:#ffd780;
  background:rgba(210,153,34,.16);
  text-shadow:0 0 10px rgba(210,153,34,.55);
}

.legal{
  margin-top:12px;
  background:rgba(248,81,73,.07);
  border:1px solid rgba(248,81,73,.18);
  border-radius:14px;
  padding:14px;
  color:var(--soft);
  line-height:1.55;
  font-weight:400;
}

.Bullish{color:var(--green);font-weight:500}
.Bearish{color:var(--red);font-weight:500}
.Neutral{color:var(--muted);font-weight:400}
.Mixed,.MixedBullish,.MixedBearish,.MixedNeutral{color:var(--gold);font-weight:500}

.psd-vote-widget{
  position:fixed;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:1000;
  font-family:"Inter","Segoe UI",Arial,sans-serif;
}

.psd-vote-tab{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  width:54px;
  min-height:78px;
  border:1px solid rgba(210,153,34,.45);
  border-radius:18px;
  background:linear-gradient(180deg,rgba(210,153,34,.22),rgba(13,17,23,.96));
  color:#ffd780;
  cursor:pointer;
  box-shadow:0 0 24px rgba(210,153,34,.18);
  animation:psdVoteFloat 3.2s ease-in-out infinite;
}

.psd-vote-tab:hover{
  background:linear-gradient(180deg,rgba(210,153,34,.32),rgba(13,17,23,.96));
  transform:translateX(2px);
}

.psd-vote-tab-icon{
  font-size:20px;
  line-height:1;
}

.psd-vote-tab-text{
  font-size:12px;
  font-weight:600;
}

@keyframes psdVoteFloat{
  0%,100%{transform:translateY(-4px)}
  50%{transform:translateY(4px)}
}

.psd-vote-panel{
  position:absolute;
  left:66px;
  top:50%;
  transform:translateY(-50%) scale(.96);
  width:290px;
  display:none;
  padding:16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(13,17,23,.98);
  box-shadow:0 20px 60px rgba(0,0,0,.42);
}

.psd-vote-panel.open{
  display:block;
  animation:psdVoteOpen .18s ease forwards;
}

@keyframes psdVoteOpen{
  from{opacity:0;transform:translateY(-50%) scale(.94)}
  to{opacity:1;transform:translateY(-50%) scale(1)}
}

.psd-vote-title{
  color:#fff;
  font-size:17px;
  font-weight:600;
  margin-bottom:4px;
}

.psd-vote-note{
  color:var(--muted);
  font-size:12px;
  margin-bottom:12px;
  line-height:1.45;
}

.psd-vote-label{
  display:block;
  color:var(--soft);
  font-size:12px;
  font-weight:500;
  margin-bottom:6px;
}

.psd-vote-select{
  width:100%;
  background:var(--card);
  color:var(--text);
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  font-size:14px;
  font-weight:400;
  outline:none;
}

.psd-vote-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:12px 0;
}

.psd-vote-choice{
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  color:#fff;
  background:rgba(17,24,33,.88);
  cursor:pointer;
  font-weight:500;
}

.psd-vote-choice.bullish.active{
  border-color:rgba(63,185,80,.65);
  background:rgba(63,185,80,.16);
  color:#9ff0aa;
}

.psd-vote-choice.bearish.active{
  border-color:rgba(248,81,73,.65);
  background:rgba(248,81,73,.16);
  color:#ffaaa6;
}

.psd-vote-submit{
  width:100%;
  border:0;
  border-radius:999px;
  padding:11px 14px;
  background:var(--gold);
  color:#05070b;
  cursor:pointer;
  font-weight:600;
}

.psd-vote-submit:hover{
  background:var(--gold2);
}

.psd-vote-cancel{
  width:100%;
  margin-top:8px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  background:transparent;
  color:var(--soft);
  cursor:pointer;
  font-weight:500;
}

.psd-vote-cancel:hover{
  color:#fff;
  border-color:rgba(210,153,34,.40);
  background:rgba(210,153,34,.10);
}

.psd-vote-status{
  min-height:18px;
  margin-top:9px;
  color:var(--muted);
  font-size:12px;
}

.psd-vote-status.success{color:var(--green)}
.psd-vote-status.error{color:var(--red)}

.psd-user-sentiment-value{
  font-weight:500;
}

.psd-user-sentiment-value.Bullish{color:var(--green)}
.psd-user-sentiment-value.Bearish{color:var(--red)}
.psd-user-sentiment-value.Neutral{color:var(--gold)}
.psd-user-sentiment-value.NA{color:var(--muted)}

@media(max-width:1180px){
  .grid-3,.grid-2{grid-template-columns:1fr}
}

@media(max-width:980px){
  .header{grid-template-columns:1fr}
  .header-center{justify-content:flex-start;min-width:0}
  .nav{justify-content:flex-start}
  .social-links{margin-left:0}
}

@media(max-width:760px){
  .page{padding:18px}
  .logo{width:64px;height:64px}
  .brand-stamp,.header-pill,.page-chip{font-size:12px}
  h1{font-size:34px}
  .psd-vote-widget{left:10px}
  .psd-vote-panel{width:270px;left:60px}
}
