/* Estilos Visuales de Alta Gama para ATELIER - Instrumentos de Escritura Fina */
@import url('https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --gold-primary: #d4af37;
    --gold-light: #fef08a;
    --gold-glow: rgba(212, 175, 55, 0.45);
    --dark-obsidian: #090a0f;
    --dark-surface: #0f121a;
    --glass-border: rgba(255, 255, 255, 0.08);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--dark-obsidian);
    color: #f1f5f9;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.03) 0%, transparent 45%);
    background-attachment: fixed;
}

h1, h2, h3, .font-brand {
    font-family: 'Cinzel', 'Playfair Display', serif;
}

.font-script {
    font-family: 'Alex Brush', cursive;
}

/* Scrollbar ultra fina y suave */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #090a0f;
}
::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

/* Paneles de Vidrio Líquido Suave (Soft Glassmorphism) */
.glass-panel {
    background: rgba(17, 20, 29, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.7),
        inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-panel-light {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.05);
}

/* Tarjetas con Efecto de Profundidad Sedosa */
.pen-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.pen-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        0 0 25px 2px rgba(212, 175, 55, 0.12);
}

/* Destello de Luz Especular (Shimmer Sweep) */
@keyframes shimmerSweep {
    0% {
        transform: translateX(-150%) skewX(-25deg);
    }
    100% {
        transform: translateX(250%) skewX(-25deg);
    }
}

.shimmer-active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.12) 50%, 
        transparent 100%
    );
    animation: shimmerSweep 6s infinite ease-in-out;
    pointer-events: none;
}

/* Textos con Gradiente Oro Metalizado */
.text-gradient-gold {
    background: linear-gradient(135deg, #fef08a 0%, #d4af37 50%, #92400e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================================== */
/* RENDERIZADO METÁLICO CILÍNDRICO DEL BOLÍGRAFO EN EL SIMULADOR   */
/* ============================================================== */

/* Acabado Negro Obsidiana */
.barrel-obsidian-gold {
    background: linear-gradient(
        to bottom, 
        #2a2a30 0%, 
        #121216 25%, 
        #35353d 50%, 
        #0e0e12 75%, 
        #030305 100%
    );
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.9), 
        inset 0 1px 2px rgba(255, 255, 255, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.8);
}

/* Acabado Titanio Gunmetal */
.barrel-titanium {
    background: linear-gradient(
        to bottom, 
        #64748b 0%, 
        #334155 25%, 
        #94a3b8 50%, 
        #1e293b 75%, 
        #0f172a 100%
    );
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.8), 
        inset 0 1px 2px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.6);
}

/* Acabado Oro Champán Monobloque */
.barrel-champagne {
    background: linear-gradient(
        to bottom, 
        #e2b755 0%, 
        #9a7224 25%, 
        #fae892 50%, 
        #785311 75%, 
        #452e04 100%
    );
    box-shadow: 
        0 15px 35px -5px rgba(120, 83, 17, 0.4), 
        inset 0 1px 2px rgba(255, 255, 255, 0.6),
        inset 0 -2px 3px rgba(0, 0, 0, 0.5);
}

/* Acabado Blanco Perla */
.barrel-pearl {
    background: linear-gradient(
        to bottom, 
        #ffffff 0%, 
        #e2e8f0 25%, 
        #ffffff 50%, 
        #cbd5e1 75%, 
        #94a3b8 100%
    );
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.5), 
        inset 0 1px 2px rgba(255, 255, 255, 0.8),
        inset 0 -2px 3px rgba(0, 0, 0, 0.2);
}

/* Acabado Bambú y Nogal Orgánico */
.barrel-bamboo {
    background: linear-gradient(
        to bottom, 
        #a16207 0%, 
        #5f370e 25%, 
        #b45309 50%, 
        #451a03 75%, 
        #270e02 100%
    );
    box-shadow: 
        0 15px 35px -5px rgba(0, 0, 0, 0.8), 
        inset 0 1px 2px rgba(255, 237, 213, 0.3),
        inset 0 -2px 3px rgba(0, 0, 0, 0.7);
}

/* Grabado Láser Reflectivo sobre el Barril */
.laser-engraved-text {
    position: relative;
    letter-spacing: 0.15em;
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
    transition: all 0.3s ease;
    user-select: none;
    white-space: nowrap;
}

/* Animación de Flotación para el Bolígrafo Hero */
@keyframes penFloat {
    0%, 100% {
        transform: translateY(0px) rotate(-18deg);
    }
    50% {
        transform: translateY(-10px) rotate(-16deg);
    }
}

.animate-pen-float {
    animation: penFloat 5s ease-in-out infinite;
}
