/**
 * ChatGPThai Common Styles
 * Include on all pages: <link rel="stylesheet" href="/assets/common.css">
 */

:root {
  --background: hsl(230, 25%, 10%);
  --foreground: hsl(45, 100%, 96%);
  --card: hsl(230, 25%, 14%);
  --card-foreground: hsl(45, 100%, 96%);
  --primary: hsl(32, 100%, 64%);
  --primary-foreground: hsl(230, 25%, 10%);
  --muted: hsl(230, 20%, 20%);
  --muted-foreground: hsl(230, 15%, 65%);
  --accent: hsl(330, 100%, 71%);
  --border: hsl(230, 20%, 25%);
  --gold: hsl(32, 100%, 64%);
  --navy: hsl(230, 40%, 12%);
  --pink: hsl(330, 100%, 71%);
  --shadow-gold: 0 8px 32px hsla(32, 100%, 50%, 0.3);
  --shadow-card: 0 8px 32px hsla(0, 0%, 0%, 0.4);
  --gradient-gold: linear-gradient(135deg, hsl(32, 100%, 50%), hsl(38, 100%, 50%));
}

body {
  font-family: 'Poppins', 'Prompt', sans-serif;
  background: linear-gradient(135deg, hsl(230, 40%, 12%) 0%, hsl(230, 35%, 14%) 50%, hsl(230, 40%, 12%) 100%);
  color: var(--foreground);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.thai-text {
  font-family: 'Prompt', sans-serif;
}

/* Glass Card Effect */
.glass-card {
  background: hsla(230, 25%, 14%, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(255, 255%, 255%, 0.1);
  border-radius: 1rem;
}

/* Hero Button */
.btn-hero {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background: var(--gradient-gold);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-gold);
  border: none;
  cursor: pointer;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px hsla(32, 100%, 50%, 0.4);
}

/* Secondary Outline Button */
.btn-secondary {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
}

.btn-secondary:hover {
  background: hsla(32, 100%, 64%, 0.1);
  transform: translateY(-2px);
}

/* Text Gradient */
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Trust Score Bar */
.trust-bar {
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #22c55e 100%);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 179, 71, 0.3);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 179, 71, 0.5);
}

/* Card Hover Effect */
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-4px);
  border-color: hsla(32, 100%, 64%, 0.5);
  box-shadow: var(--shadow-gold);
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

/* Focus States */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px hsla(32, 100%, 64%, 0.2);
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}
