@tailwind base;
@tailwind components;
@tailwind utilities;

/* Picture Theme CSS Variables - Indigo/Violet (Dark Theme) */
:root {
  /* Primary colors - Picture Indigo */
  --color-primary: #818cf8;
  --color-primary-hover: #6366f1;
  --color-primary-glow: rgba(129, 140, 248, 0.3);

  /* Text colors (Dark theme) */
  --color-text-primary: #ffffff;
  --color-text-secondary: #d1d5db;
  --color-text-muted: #9ca3af;

  /* Background colors (Dark theme) */
  --color-background-page: #000000;
  --color-background-card: #1a1a1a;
  --color-background-card-hover: #242424;

  /* Border colors */
  --color-border: #383838;
  --color-border-hover: #4f4f4f;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--color-background-page);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Selection */
::selection {
  background-color: var(--color-primary);
  color: white;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animation utilities */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease-out forwards;
}

@layer components {
  .btn-primary {
    @apply inline-flex items-center justify-center px-6 py-3 text-base font-medium text-white bg-gradient-to-r from-primary-600 to-secondary-600 rounded-lg hover:from-primary-700 hover:to-secondary-700 transition-all duration-300 shadow-lg;
  }

  .btn-secondary {
    @apply inline-flex items-center justify-center px-6 py-3 text-base font-medium text-white bg-dark-elevated border border-dark-border rounded-lg hover:border-primary/50 transition-all duration-300;
  }
}
