@import "tailwindcss";

@theme {
  --color-background-primary: #1a0b2e;
  --color-background-secondary: #2f1c54;
  --color-accent-primary: #9d4edd;
  --color-accent-neon: #b249f8;
  --color-text-glow: #e0aaff;
  --color-text-primary: #ffffff;
  --color-dark-accent: #240046;
  --color-fox-pink: #ffc6e5;
  --color-fox-pink-glow: #ffadd6;
  --color-fox-orange: #ff9466;
  --color-fox-white: #fff5f9;

  --background-image-gradient-primary: linear-gradient(
    135deg,
    var(--color-background-primary) 0%,
    var(--color-background-secondary) 100%
  );
  --background-image-gradient-card: linear-gradient(
    135deg,
    rgba(47, 28, 84, 0.3) 0%,
    rgba(157, 78, 221, 0.1) 100%
  );

  --spacing-ear: 30px;
}

@layer base {
  :root {
    --background-primary: #1a0b2e;
    --background-secondary: #2f1c54;
    --accent-primary: #9d4edd;
    --accent-neon: #b249f8;
    --text-glow: #e0aaff;
    --text-primary: #ffffff;
    --dark-accent: #240046;
    --fox-pink: #ffc6e5;
    --fox-pink-glow: #ffadd6;
    --fox-orange: #ff9466;
    --fox-white: #fff5f9;
  }

  body {
    background-color: var(--background-primary);
    color: var(--text-primary);
  }
}

@layer utilities {
  .text-glow {
    text-shadow: 0 0 10px var(--text-glow);
  }

  .section-spacing > * + * {
    margin-top: 1.5rem;
  }

  .card-spacing > * + * {
    margin-top: 1rem;
  }

  .element-spacing > * + * {
    margin-top: 0.75rem;
  }
}

@layer components {
  .content-wrapper {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem 1rem;
  }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
  }

  .nav-link:hover {
    background-color: rgba(157, 78, 221, 0.05);
    color: var(--accent-neon);
  }

  .nav-link.active {
    background-color: rgba(157, 78, 221, 0.1);
    color: var(--accent-neon);
  }

  .fox-card {
    position: relative;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(157, 78, 221, 0.1);
    background: linear-gradient(
      135deg,
      rgba(47, 28, 84, 0.2) 0%,
      rgba(157, 78, 221, 0.05) 100%
    );
  }

  .fox-card:hover {
    border-color: rgba(157, 78, 221, 0.2);
    box-shadow: 0 2px 8px rgba(157, 78, 221, 0.05);
  }

  .content-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  @media (min-width: 768px) {
    .content-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 1024px) {
    .content-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
}
