/* --- Guide Assistant CSS --- */

:root {
  --ga-width: 380px;
  --ga-bg: rgba(10, 10, 12, 0.95);
  --ga-border: rgba(255, 255, 255, 0.1);
  --ga-accent: #39ff14; /* Neon Green default */
  --ga-text: #e0e0e0;
  --ga-title: #ffffff;
}

/* Floating Button (Bottom Right) */
#ga-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid var(--ga-accent);
  border-radius: 50%;
  color: var(--ga-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  animation: ga-pulse 3s infinite;
}

#ga-float-btn:hover {
  transform: scale(1.1) rotate(15deg);
  background: var(--ga-accent);
  color: #000;
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.6);
}

@keyframes ga-pulse {
  0% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(57, 255, 20, 0); }
  100% { box-shadow: 0 0 0 0 rgba(57, 255, 20, 0); }
}

/* Contextual Badges (Mini Question Marks) */
.ga-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: bold;
  margin-left: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.ga-badge:hover {
  background: var(--ga-accent);
  color: #000;
  border-color: var(--ga-accent);
  transform: scale(1.2);
}

/* Slide-out Panel */
#ga-panel {
  position: fixed;
  top: 0;
  right: -100%; /* Hidden by default */
  width: var(--ga-width);
  height: 100vh;
  background: var(--ga-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--ga-border);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  transition: right 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
}

#ga-panel.open {
  right: 0;
}

/* Panel Header */
.ga-header {
  padding: 20px;
  border-bottom: 1px solid var(--ga-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.02);
}

.ga-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ga-title-icon {
  font-size: 20px;
}

.ga-title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ga-accent);
}

#ga-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

#ga-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* Panel Content */
.ga-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; /* Clean font for reading */
}

/* Guide Sections */
.ga-section {
  margin-bottom: 30px;
  animation: ga-fade-in 0.5s ease backwards;
}

.ga-section-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ga-section-title i {
  color: var(--ga-accent);
}

.ga-text {
  font-size: 13px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 12px;
}

.ga-steps {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  counter-reset: ga-step;
}

.ga-step {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #ddd;
}

.ga-step::before {
  counter-increment: ga-step;
  content: counter(ga-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: var(--ga-accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ga-tip {
  background: rgba(57, 255, 20, 0.05);
  border-left: 3px solid var(--ga-accent);
  padding: 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: #aaddaa;
  margin: 15px 0;
}

.ga-warning {
  background: rgba(255, 60, 60, 0.08);
  border-left: 3px solid #ff3c3c;
  padding: 12px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  color: #ffcccc;
  margin: 15px 0;
}

/* Initial Welcome Message */
.ga-welcome {
  text-align: center;
  padding: 20px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ga-welcome h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  margin-bottom: 5px;
  color: #fff;
}

.ga-welcome p {
  font-size: 12px;
  color: #888;
}

@keyframes ga-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  #ga-panel {
    width: 100%;
    right: -100%;
  }
}
