:root {
  --bg-color: #050505;
  --text-color: #e2e8f0;
  --gold-primary: #d4af37;
  --gold-secondary: #f9d371;
  --gold-glow: rgba(212, 175, 55, 0.15);
  --card-bg: rgba(20, 20, 20, 0.6);
  --border-color: rgba(212, 175, 55, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Base Gradients */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.05), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.03), transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Ambient glow orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.5;
}

.glow-orb.top-left {
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(212, 175, 55, 0.15);
}

.glow-orb.bottom-right {
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(212, 175, 55, 0.1);
}

.glow-orb.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: rgba(212, 175, 55, 0.1);
}

/* Header with gold accent */
header {
  border-bottom: 1px solid var(--border-color);
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.95) 0%, rgba(5, 5, 5, 0.95) 100%);
  padding: 4rem 5% 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

header.dashboard-header {
  padding: 1.5rem 5%;
}

.header-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content h1 {
  font-size: 1.8rem;
  margin: 0;
}

.header-content span {
  color: #94a3b8;
  font-size: 1.2rem;
  font-weight: 400;
  -webkit-text-fill-color: #94a3b8;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--gold-secondary) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

header p {
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Main Content */
main {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 4rem auto;
  padding: 0 2rem;
}

.content-section {
  background-color: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.content-section:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
  border-color: rgba(212, 175, 55, 0.5);
}

h2 {
  color: var(--gold-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: #cbd5e1;
}

ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #cbd5e1;
}

li {
  margin-bottom: 0.6rem;
  position: relative;
}

li::marker {
  color: var(--gold-primary);
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--gold-secondary);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* index.html Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 60vh;
}

.bot-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatUp 1s ease-out forwards;
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-wrapper {
  margin-bottom: 2rem;
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-primary), transparent, var(--gold-secondary));
  box-shadow: 0 0 30px var(--gold-glow);
  animation: pulse 3s infinite alternate;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 20px var(--gold-glow);
  }

  100% {
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  }
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: var(--bg-color);
  border: 4px solid var(--bg-color);
}

.hero #bot-name {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.hero .subtitle {
  font-size: 1.3rem;
  max-width: 600px;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.action-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  font-family: inherit;
}

.primary-btn {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
  color: #000 !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  color: #000 !important;
  text-shadow: none;
}

.secondary-btn {
  background: var(--card-bg);
  color: var(--text-color) !important;
  border: 1px solid var(--border-color);
}

.secondary-btn:hover {
  background: rgba(40, 40, 40, 0.8);
  border-color: var(--gold-primary);
  transform: translateY(-2px);
  color: var(--gold-secondary) !important;
}

.btn.small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Auth & Dashboard Layouts */
.auth-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.auth-card {
  width: 100%;
  max-width: 450px;
}

.back-link {
  align-self: flex-start;
  margin-bottom: 2rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.dashboard-container {
  max-width: 800px;
}

/* Forms */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="text"],
input[type="password"],
input[type="url"],
textarea {
  width: 100%;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background-color: rgba(10, 10, 10, 0.8);
}

.full-width {
  width: 100%;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.error-msg {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.success-msg {
  color: #22c55e;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 10, 0.8);
  margin-top: auto;
  color: #64748b;
  font-size: 0.95rem;
}

.creator-link {
  color: var(--gold-primary);
  font-weight: 600;
}

.nav-links {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 2.5rem;
}

.nav-links a {
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.nav-links a:hover {
  color: var(--gold-secondary);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  .hero #bot-name {
    font-size: 3rem;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .action-buttons .btn {
    width: 100%;
  }

  main {
    margin: 2rem auto;
  }

  .content-section {
    padding: 1.5rem 1.5rem;
  }

  header {
    padding: 3rem 5% 2rem;
  }
}