/* Variables y Configuración de Clases CSS Personalizadas */
@layer base {
    :root {
        --color-blackbg: #050305;
        --color-blackobsidian: #0a0608;
        --color-vinotinto-dark: #1c0307;
        --color-vinotinto-default: #3b0a12;
        --color-vinotinto-medium: #5c121e;
        --color-vinotinto-light: #7d1929;
        --color-gold-light: #FFF3B0;
        --color-gold-default: #D4AF37;
        --color-gold-dark: #AA771C;
    }
}

.bg-blackbg { background-color: var(--color-blackbg); }
.bg-blackobsidian { background-color: var(--color-blackobsidian); }
.bg-vinotinto-dark { background-color: var(--color-vinotinto-dark); }
.bg-vinotinto-medium { background-color: var(--color-vinotinto-medium); }
.bg-vinotinto-light { background-color: var(--color-vinotinto-light); }
.text-gold { color: var(--color-gold-default); }

/* Gradientes Metálicos y Estilos Visuales */
.text-gold-gradient {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gold-gradient {
    background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
}

.bg-vinotinto-card {
    background: linear-gradient(150deg, rgba(59, 10, 18, 0.85) 0%, rgba(10, 6, 8, 0.95) 100%);
}

.bg-vinotinto-hero {
    background: radial-gradient(circle at center, rgba(92, 18, 30, 0.4) 0%, rgba(5, 3, 5, 0.98) 75%);
}

/* Tarjetas y Efectos Interactivos */
.vinotinto-gold-card {
    border: 1px solid rgba(212, 175, 55, 0.25);
    background: linear-gradient(160deg, rgba(59, 10, 18, 0.75) 0%, rgba(10, 6, 8, 0.95) 100%);
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vinotinto-gold-card:hover {
    border-color: rgba(212, 175, 55, 0.8);
    box-shadow: 0 12px 35px rgba(92, 18, 30, 0.6), 0 0 25px rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

/* Canvas para Partículas Doradas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.08); }
}

.pulse-glow {
    animation: pulseGlow 6s infinite ease-in-out;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #050305;
}
::-webkit-scrollbar-thumb {
    background: #3b0a12;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}