/**
 * CSS ULTRA MODERNO - Mejoras Visuales Avanzadas
 * Efectos modernos, animaciones fluidas y microinteracciones
 */

/* ============================================
   VARIABLES CSS MODERNAS
   ============================================ */
:root {
    /* Gradientes modernos */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #fa709a 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #5ee7df 100%);
    --gradient-warning: linear-gradient(135deg, #fa709a 0%, #fee140 50%, #f6d365 100%);
    --gradient-dark: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%);
    
    /* Sombras modernas con profundidad */
    --shadow-xs: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16), 0 4px 12px rgba(0,0,0,0.1);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.20), 0 8px 24px rgba(0,0,0,0.12);
    --shadow-2xl: 0 24px 64px rgba(0,0,0,0.25), 0 12px 32px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(102,126,234,0.4), 0 0 40px rgba(102,126,234,0.2);
    --shadow-glow-hover: 0 0 30px rgba(102,126,234,0.6), 0 0 60px rgba(102,126,234,0.3);
    
    /* Transiciones suaves */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Colores modernos */
    --color-primary: #667eea;
    --color-primary-dark: #5568d3;
    --color-secondary: #f093fb;
    --color-accent: #4facfe;
    --color-success: #00f2fe;
    --color-warning: #fee140;
    --color-danger: #f5576c;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);
}

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

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

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

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(2deg);
    }
    66% {
        transform: translateY(-10px) rotate(-2deg);
    }
}

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

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102,126,234,0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(102,126,234,0.8), 0 0 60px rgba(102,126,234,0.4);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(102,126,234,0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(102,126,234,0.8), 0 0 30px rgba(102,126,234,0.6);
    }
}

/* ============================================
   GLASSMORPHISM AVANZADO
   ============================================ */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

/* ============================================
   BOTONES ULTRA MODERNOS
   ============================================ */
.btn-modern {
    position: relative;
    overflow: hidden;
    border-radius: 50px;
    font-weight: 700;
    padding: 14px 32px;
    transition: all var(--transition-normal);
    border: none;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    z-index: 1;
}

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

.btn-modern:hover::before {
    width: 400px;
    height: 400px;
}

.btn-modern:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.btn-modern:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-gradient {
    background: var(--gradient-primary);
    color: white;
}

.btn-gradient:hover {
    background: var(--gradient-secondary);
    color: white;
}

.btn-neon {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 10px rgba(102,126,234,0.3);
}

.btn-neon:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-glow-hover);
    transform: translateY(-3px);
}

.btn-3d {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 
        0 4px 0 rgba(102,126,234,0.3),
        0 8px 16px rgba(0,0,0,0.2);
    transform: translateY(0);
}

.btn-3d:hover {
    transform: translateY(2px);
    box-shadow: 
        0 2px 0 rgba(102,126,234,0.3),
        0 4px 8px rgba(0,0,0,0.2);
}

.btn-3d:active {
    transform: translateY(4px);
    box-shadow: 
        0 0 0 rgba(102,126,234,0.3),
        0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================
   CARDS ULTRA MODERNAS
   ============================================ */
.card-modern {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
    border: none;
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.card-modern:hover::before {
    left: 100%;
}

.card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-primary);
}

.card-modern-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-modern-3d:hover {
    transform: translateY(-10px) rotateX(2deg) rotateY(2deg);
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   PRODUCT CARDS ULTRA MODERNAS
   ============================================ */
.product-card-ultra {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-slow);
    border: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
}

.product-card-ultra::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
    pointer-events: none;
}

.product-card-ultra:hover::after {
    opacity: 0.05;
}

.product-card-ultra:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-primary);
}

.product-card-ultra .product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #f8f9fa;
    z-index: 1;
}

.product-card-ultra .product-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 1;
}

.product-card-ultra:hover .product-image-wrapper::before {
    opacity: 0.1;
}

.product-card-ultra .product-image-wrapper img {
    transition: transform var(--transition-slow);
    width: 100%;
    height: auto;
    z-index: 0;
}

.product-card-ultra:hover .product-image-wrapper img {
    transform: scale(1.15) rotate(1deg);
}

.product-card-ultra .badge-modern {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card-ultra .badge-discount {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-warning);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--shadow-lg);
    animation: bounce 2s infinite;
}

.product-card-ultra .quick-view-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 10;
}

.product-card-ultra:hover .quick-view-btn {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.product-card-ultra .card-body {
    padding: 24px;
    position: relative;
    z-index: 1;
}

/* ============================================
   HERO SECTION ULTRA MODERNO
   ============================================ */
.hero-ultra {
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 100px 20px;
}

.hero-ultra::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-ultra::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.hero-ultra .container {
    position: relative;
    z-index: 1;
}

.hero-ultra h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-ultra .lead {
    font-size: 1.8rem;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease-out;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-ultra .cta-buttons {
    animation: fadeInUp 1.4s ease-out;
}

/* ============================================
   EFECTOS DE SCROLL MODERNOS
   ============================================ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in-on-scroll.revealed {
    opacity: 1;
}

.slide-in-left-on-scroll {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left-on-scroll.revealed {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right-on-scroll {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right-on-scroll.revealed {
    opacity: 1;
    transform: translateX(0);
}

.scale-in-on-scroll {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in-on-scroll.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   NAVBAR ULTRA MODERNO
   ============================================ */
.navbar-ultra {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-ultra.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.nav-link-ultra {
    position: relative;
    padding: 10px 16px;
    transition: color var(--transition-fast);
    font-weight: 600;
}

.nav-link-ultra::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link-ultra:hover::after,
.nav-link-ultra.active::after {
    width: 80%;
}

.nav-link-ultra:hover {
    color: var(--color-primary);
}

/* ============================================
   FORMULARIOS ULTRA MODERNOS
   ============================================ */
.form-control-ultra {
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    padding: 14px 18px;
    transition: all var(--transition-normal);
    background: white;
    font-size: 1rem;
}

.form-control-ultra:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(102,126,234,0.1);
    outline: none;
    transform: translateY(-2px);
}

.input-group-ultra {
    position: relative;
}

.input-group-ultra .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 3;
    transition: color var(--transition-fast);
}

.input-group-ultra .form-control-ultra:focus + .input-icon,
.input-group-ultra:focus-within .input-icon {
    color: var(--color-primary);
}

.input-group-ultra .form-control-ultra {
    padding-left: 50px;
}

/* ============================================
   BADGES ULTRA MODERNOS
   ============================================ */
.badge-ultra {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.badge-ultra:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.badge-hot {
    background: var(--gradient-warning);
    color: white;
    animation: pulse 2s infinite;
}

.badge-new {
    background: var(--gradient-success);
    color: white;
}

.badge-sale {
    background: var(--gradient-secondary);
    color: white;
    animation: bounce 2s infinite;
}

/* ============================================
   EFECTOS DE HOVER AVANZADOS
   ============================================ */
.hover-lift {
    transition: all var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-2xl);
}

.hover-glow {
    transition: all var(--transition-normal);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow-hover);
}

.hover-scale {
    transition: transform var(--transition-normal);
}

.hover-scale:hover {
    transform: scale(1.1);
}

.hover-rotate {
    transition: transform var(--transition-normal);
}

.hover-rotate:hover {
    transform: rotate(5deg) scale(1.05);
}

/* ============================================
   UTILIDADES MODERNAS
   ============================================ */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.text-gradient-animated {
    background: var(--gradient-primary);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
}

.shadow-modern {
    box-shadow: var(--shadow-lg);
}

.shadow-modern-lg {
    box-shadow: var(--shadow-xl);
}

.shadow-modern-xl {
    box-shadow: var(--shadow-2xl);
}

.rounded-modern {
    border-radius: 20px;
}

.rounded-modern-lg {
    border-radius: 30px;
}

/* ============================================
   TIPOGRAFÍA MODERNA
   ============================================ */
.text-modern {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
}

.heading-modern {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.heading-modern h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

.heading-modern h2 {
    font-size: clamp(1.5rem, 4vw, 3rem);
}

.heading-modern h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
}

/* ============================================
   ESPACIADO MODERNO
   ============================================ */
.section-modern {
    padding: 80px 0;
}

.section-modern-sm {
    padding: 60px 0;
}

.section-modern-lg {
    padding: 120px 0;
}

.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-ultra {
        min-height: 400px;
        padding: 60px 20px;
    }
    
    .hero-ultra h1 {
        font-size: 2.5rem;
    }
    
    .hero-ultra .lead {
        font-size: 1.2rem;
    }
    
    .product-card-ultra:hover {
        transform: translateY(-6px) scale(1.01);
    }
    
    .btn-modern {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    
    .section-modern {
        padding: 60px 0;
    }
    
    .section-modern-lg {
        padding: 80px 0;
    }
}

/* ============================================
   EFECTOS DE PARTÍCULAS
   ============================================ */
.particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: floatSlow 15s infinite ease-in-out;
}

/* ============================================
   LOADING STATES MODERNOS
   ============================================ */
.loading-skeleton-modern {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

.loading-spinner-modern {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(102, 126, 234, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   EFECTOS DE RIPPLE
   ============================================ */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    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;
}

.ripple-effect:active::after {
    width: 300px;
    height: 300px;
}

