/*
Theme Name: Therian Web
Theme URI: https://therianweb.com
Author: Therian Community
Author URI: https://therianweb.com
Description: Un theme vibrante y mágico para la comunidad Therian. Descubre tu verdadera identidad animal y conecta con otros therians.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: therian-web
Tags: therian, otaku, community, social, quiz

Este theme está diseñado específicamente para la experiencia Therian Web,
incluyendo quiz de identificación, perfil de usuario, y red social integrada.
*/

:root {
  /* Colores principales - Paleta Therian mágica */
  --color-primary: #FF6B9D;
  --color-secondary: #C45AEC;
  --color-accent: #4ECDC4;
  --color-wild: #FFA07A;
  --color-forest: #98D8C8;
  
  /* Fondos */
  --bg-main: #FFF5F7;
  --bg-card: #FFFFFF;
  --bg-dark: #2D1B3D;
  --bg-overlay: rgba(255, 107, 157, 0.1);
  
  /* Textos */
  --text-primary: #2D1B3D;
  --text-secondary: #6B5B73;
  --text-light: #9B8BA3;
  --text-white: #FFFFFF;
  
  /* Sombras y efectos */
  --shadow-soft: 0 4px 20px rgba(196, 90, 236, 0.15);
  --shadow-strong: 0 8px 40px rgba(196, 90, 236, 0.25);
  --shadow-glow: 0 0 30px rgba(255, 107, 157, 0.3);
  
  /* Bordes */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-full: 9999px;
  
  /* Espaciado */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Quicksand', 'Nunito', 'Comic Neue', sans-serif;
  background: linear-gradient(135deg, #FFF5F7 0%, #F0E6FF 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Patrón de fondo decorativo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(196, 90, 236, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(78, 205, 196, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', 'Baloo 2', 'Poppins', cursive;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'Fredoka One', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-strong);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--text-white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-forest));
  color: var(--text-white);
}

.btn-outline {
  background: transparent;
  border: 3px solid var(--color-primary);
  color: var(--color-primary);
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.site-header {
  padding: var(--space-md) 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Animaciones */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.float {
  animation: float 3s ease-in-out infinite;
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* Utilidades */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* Responsive */
@media (max-width: 768px) {
  :root {
    --space-lg: 1.5rem;
    --space-xl: 2.5rem;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}
