:root {
  --primary: #0084FF;
  --primary-glow: rgba(0, 132, 255, 0.4);
  --accent-yellow: #FFD700;
  --accent-cyan: #00F5FF;
  --bg: #0b071a;
  --text: #ffffff;
  --text-dim: #b4abd1;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.12);
  --radius: 28px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  transition: all 0.3s ease-in-out;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden { display: none !important; }

/* Refined Floating Vibe Background */
.aura-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 50% 50%, #1e1346 0%, #0b071a 100%);
  overflow: hidden;
  pointer-events: none;
}

.vibe-element {
  position: absolute;
  pointer-events: none;
  z-index: -1;
  font-size: 32px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)) brightness(1.4);
  will-change: transform;
}

.blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  filter: blur(120px);
  opacity: 0.25;
  border-radius: 50%;
  z-index: -1;
  animation: blobMove 30s infinite alternate ease-in-out;
}

.purple { background: var(--primary); top: -10%; left: -10%; }
.yellow { background: var(--accent-yellow); bottom: -10%; right: -10%; animation-delay: -5s; }

@keyframes blobMove {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(15%, 15%) scale(1.1); }
}

/* Glassmorphism Card */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Header */
header { padding: 40px 0; }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  letter-spacing: -1.5px;
}
.logo .dot { color: var(--accent-yellow); text-shadow: 0 0 10px var(--accent-yellow); }

.status-pill {
  background: rgba(0, 132, 255, 0.15);
  border: 1px solid rgba(0, 132, 255, 0.3);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: #a5f3fc;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 15px rgba(0, 132, 255, 0.2);
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 12px #22c55e;
  animation: live-breathe 2s infinite ease-in-out;
}

@keyframes live-breathe {
  0%, 100% { opacity: 1; transform: scale(1); filter: brightness(1.2); }
  50% { opacity: 0.6; transform: scale(1.2); filter: brightness(1.5); }
}

/* Hero Section */
.hero { padding: 40px 0 80px; text-align: center; }

h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 8vw, 84px);
  line-height: 0.95;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -2.5px;
}

.wiggle-text {
  display: inline-block;
  animation: wiggle-anim 3s infinite ease-in-out;
}

.bounce-text {
  display: inline-block;
  animation: bounce-anim 4s infinite ease-in-out;
}

@keyframes wiggle-anim {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@keyframes bounce-anim {
  0%, 100%, 20%, 50%, 80% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.hero .sub {
  font-size: clamp(18px, 4vw, 22px);
  color: var(--text-dim);
  max-width: 800px;
  margin: 0 auto 48px;
}

.start-box {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.hover-emojis .h-emoji {
  position: absolute;
  font-size: 32px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  z-index: 5;
}

.e-1 { top: -20px; left: -20px; }
.e-2 { top: -20px; right: -20px; }
.e-3 { bottom: -20px; left: -20px; }
.e-4 { bottom: -21px; right: -21px; }

.start-box:hover .h-emoji {
  opacity: 1;
  transform: scale(1);
}

.start-box:hover .e-1 { transform: scale(1) translate(-10px, -10px) rotate(-15deg); }
.start-box:hover .e-2 { transform: scale(1) translate(10px, -10px) rotate(15deg); }
.start-box:hover .e-3 { transform: scale(1) translate(-10px, 10px) rotate(-15deg); }
.start-box:hover .e-4 { transform: scale(1) translate(10px, 10px) rotate(15deg); }

/* Social Cluster */
.social-cluster {
  margin-top: 30px;
  border-top: 1px solid var(--glass-border);
  padding-top: 25px;
}

.social-cluster p {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.s-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.s-icon:hover { transform: scale(1.1); background: var(--primary); border-color: transparent; }

/* Form Styles */
.checkbox-area { margin-bottom: 32px; text-align: left; }

.check-container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  font-size: 15px;
  color: var(--text-dim);
}

.check-container input { display: none; }
.check-container a { color: var(--accent-cyan); text-decoration: none; font-weight: 600; }

.checkmark {
  min-width: 26px;
  height: 26px;
  border: 2px solid var(--glass-border);
  border-radius: 9px;
  background: rgba(0,0,0,0.2);
  position: relative;
}

.check-container input:checked + .checkmark { background: var(--primary); border-color: var(--primary); }
.check-container input:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;
}

.error-hint { color: #ff5e5e; font-size: 13px; font-weight: 700; margin-top: 12px; display: none; }

.glow-button {
  width: 100%;
  padding: 24px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--primary), #644AF1);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 12px 35px var(--primary-glow);
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: btn-pulse 3s infinite ease-in-out;
}

.glow-button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine-sweep 4s infinite ease-in-out;
}

@keyframes shine-sweep {
  0% { left: -150%; }
  20%, 100% { left: 150%; }
}

@keyframes btn-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.glow-button:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 20px 50px var(--primary-glow); }

.shake { animation: shake-anim 0.4s ease-in-out; }
@keyframes shake-anim {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* Feature Showcase */
.feature-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 60px 0;
}

.feature-tile .icon { font-size: 40px; margin-bottom: 20px; display: block; }
.feature-tile h3 { font-family: var(--font-display); font-size: 20px; margin-bottom: 10px; color: var(--accent-yellow); }
.feature-tile p { color: var(--text-dim); font-size: 14px; }

/* Authority Section */
.authority-content { padding: 40px 0; }
.section-title { font-family: var(--font-display); font-size: 42px; text-align: center; margin: 80px 0 40px; letter-spacing: -1.5px; }

.article-text p { margin-bottom: 24px; font-size: 17px; color: var(--text-dim); }
.article-text strong { color: white; border-bottom: 2px solid var(--accent-cyan); }

.table-scroll { overflow-x: auto; margin: 40px 0; padding: 0; }
.glass-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.glass-table th, .glass-table td { padding: 25px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.glass-table th { color: var(--accent-yellow); font-family: var(--font-display); text-transform: uppercase; font-size: 13px; letter-spacing: 1.5px; }
.neon-highlight { color: var(--accent-cyan); font-weight: 800; text-shadow: 0 0 10px var(--accent-cyan); }

/* FAQ Section */
.faq-accordion { max-width: 850px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-trigger {
  width: 100%;
  padding: 24px 30px;
  background: none;
  border: none;
  color: white;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-trigger::after { content: '+'; color: var(--accent-yellow); font-size: 26px; }
.faq-item.active .faq-trigger::after { content: '-'; transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.faq-item.active .faq-content { max-height: 300px; }
.faq-content p { padding: 0 30px 30px; color: var(--text-dim); }

/* Footer */
.footer { padding: 80px 0; border-top: 1px solid var(--glass-border); margin-top: 100px; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.logo-footer { text-decoration: none; color: white; font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.footer-info p { color: var(--text-dim); font-size: 14px; margin-top: 8px; }
.footer-links { display: flex; gap: 25px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 14px; }

/* Chat View */
#chat-view { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 3000; background: #000; }
#loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3010;
  transition: opacity 0.6s ease;
}

.monkey-bounce { font-size: 72px; animation: mBounce 0.8s infinite alternate ease-in-out; margin-bottom: 24px; }
@keyframes mBounce { from { transform: translateY(0); } to { transform: translateY(-30px); } }

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  height: 75px;
  background: rgba(11, 7, 26, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.exit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
  font-family: var(--font-display);
}

#iframe-wrap { width: 100%; height: calc(100vh - 75px); }

@media (max-width: 768px) {
  h1 { font-size: 48px; }
  .header-flex { flex-direction: column; gap: 16px; }
  .footer-flex { flex-direction: column; text-align: center; }
}
