/* ===== CSS CUSTOMIZADO PARA TAILWIND (TEMA ULTRAGAZ) ===== */

/* Typography Scale */
h1 { font-size: clamp(28px, 3vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; }
body { font-size: 16px; color: #000000; }
small { font-size: 14px; }

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.2); }
  50% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.5); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Custom utilities */
.animate-fadeInUp { animation: fadeInUp 0.6s ease-out; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease-out; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulse-glow 2s ease-in-out infinite; }

/* Themes Tokens */
:root {
  --radius-card: 16px;
  --radius-btn: 12px;
  --shadow-card: 0 10px 30px rgba(0,0,0,0.08); /* Soft shadow defined in spec */
  --shadow-hover: 0 16px 40px rgba(0,0,0,0.12);
  --blue-brand: #000FFF;
  --cyan-brand: #00FFFF;
  --green-brand: #00FF00;
}

/* Glass morphism effect (Updated for new theme - lighter) */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-card);
}

/* Gradient text (Official Gradient Blue -> Cyan) */
.gradient-text {
  background: linear-gradient(to right, var(--blue-brand), #00AAAA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Gradient Backgrounds (Official) */
.bg-gradient-official-blue {
    background: linear-gradient(to right, var(--blue-brand), var(--cyan-brand));
}
.bg-gradient-official-green {
    background: linear-gradient(to right, var(--green-brand), var(--cyan-brand));
}

/* Cards Modernos */
.card-modern {
    background: #FFFFFF;
    border-radius: var(--radius-card);
    border: 1px solid #BBBCBC; /* Gray from palette */
    box-shadow: var(--shadow-card);
    transition: all 180ms ease; /* Transition defined in spec */
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--cyan-brand); /* Subtle cyan border on hover */
}

/* Inputs Modernos */
.input-modern {
    border-radius: 12px; /* radius-input */
    border: 1px solid #BBBCBC;
    padding: 12px 16px;
    transition: all 180ms ease;
}
.input-modern:focus {
    outline: none;
    border-color: var(--cyan-brand);
    box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.1); /* Subtle cyan glow */
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a1a1a1; }

/* Loading states */
.loading { position: relative; pointer-events: none; opacity: 0.7; }
.loading::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px;
  margin: -10px 0 0 -10px; border: 2px solid #f3f3f3; border-top: 2px solid var(--blue-brand);
  border-radius: 50%; animation: spin 1s linear infinite;
}

/* Variation Select */
.variation-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000FFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
  cursor: pointer;
  transition: all 180ms ease;
  border-radius: 12px;
  border: 1px solid #BBBCBC;
}

.variation-select:hover {
  border-color: var(--blue-brand);
}

.variation-select:focus {
  outline: none;
  border-color: var(--blue-brand);
  box-shadow: 0 0 0 3px rgba(0, 15, 255, 0.1);
}

/* Helpers */
.rounded-btn { border-radius: var(--radius-btn); }
.rounded-card { border-radius: var(--radius-card); }
