/* style.css - Diseño Premium Lilicat */
/* CURSOR PERSONALIZADO (Tofu) */
html,
body,
a,
button,
[onclick],
.nav-link,
input,
.btn-primary,
.tab-btn,
.video-card-container {
    cursor: url('Cursor_Tofu_32x32.png'), auto !important;
}

/* RASTRO DE HUELLAS MÁGICAS */
.cat-paw-trail {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 26px;
    height: 26px;
    opacity: 0.9;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

:root {
    --primary: #ff75a0;
    --primary-light: #ffedf1;
    --primary-dark: #e85d88;
    --secondary: #ff9d00;
    --secondary-light: #fff4e0;
    --secondary-dark: #e08900;
    --text-dark: #1a2b4c;
    --text-muted: #64748b;
    --bg-light: #faf8f7;
    --white: #ffffff;

    --font-heading: 'Fredoka', 'Public Sans', sans-serif;
    --font-body: 'Public Sans', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(255, 117, 160, 0.4);
    --shadow-glow-secondary: 0 0 20px rgba(255, 157, 0, 0.4);

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2.5rem;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    margin: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

/* Base Styles & Utility overrides (Transitioning away from tailwind) */
.min-h-screen {
    min-height: 100vh;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.gap-6 {
    gap: 1.5rem;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Custom Premium Components */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    font-weight: 900;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(255, 117, 160, 0.39);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 117, 160, 0.23);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    font-weight: 900;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px 0 rgba(255, 157, 0, 0.39);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 157, 0, 0.23);
}

.badge-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 117, 160, 0.2);
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--secondary-light);
    color: var(--secondary);
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 157, 0, 0.2);
    font-weight: bold;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Glassmorphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Video Cards specific styling */
.video-card-container {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: var(--white);
    border: 1px solid #f1f5f9;
}

.video-card-container:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.video-card-container .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.video-card-container:hover .play-overlay {
    opacity: 1;
}

.play-btn-inner {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-card-container:hover .play-btn-inner {
    transform: scale(1);
}

/* --- TOFU POWER ANIMATIONS --- */
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px) rotate(-2deg); }
  40%, 80% { transform: translateX(5px) rotate(2deg); }
}

.tofu-shimmer {
  animation: shimmer 2s infinite;
}

.tofu-shake {
  animation: shake 0.5s ease-in-out;
}
/* Input Styles */
.form-input {
    width: 100%;
    background-color: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.form-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(255, 157, 0, 0.2);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
    margin-left: 0.25rem;
}

/* Header & Nav */
.main-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 1rem 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 4rem 1.5rem;
    margin-top: 1.5rem;
    border: 1px solid #f1f5f9;
}

.hero-gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    body {
        padding-bottom: 5.5rem; /* Ensure content isn't hidden behind the fixed navbar */
    }
    
    /* Override JS active classes for mobile tabs to keep a clean app-like look */
    .mobile-nav-btn.bg-slate-900 {
        background-color: transparent !important;
        color: var(--primary) !important;
    }
    
    .mobile-nav-btn.text-white {
        color: var(--primary) !important;
    }
    
    .mobile-nav-btn.bg-slate-900 .material-symbols-outlined {
        font-variation-settings: 'FILL' 1;
        transform: translateY(-2px) scale(1.1);
        transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .mobile-nav-btn .material-symbols-outlined {
        transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

/* Polaroid Gallery - Paseo de la Fama de Tofu */
.polaroid {
    background: #fff;
    padding: 12px 12px 40px 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    max-width: 320px;
}
.polaroid:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}
.polaroid img {
    border-radius: 4px;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: #f8fafc;
}
.polaroid .tape {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg);
    width: 100px;
    height: 30px;
    background-color: rgba(255, 117, 160, 0.4); 
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    backdrop-filter: blur(2px);
}

