@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Pacifico&display=swap');

/* ==========================================================================
   ESTILOS PREMIUM - GIOMAR HUACHO PORTAFOLIO (V7.0 DEFINITIVO xd 💕)
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Aplicamos Inter y la de Apple para que todo se vea súper premium xd */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   SCROLLBAR INVISIBLE xd
   ========================================================================== */
::-webkit-scrollbar {
    display: none; /* Desaparece visualmente la barra xd */
}

/* 🔥 FIX: ESTO MATA LA BARRA HORIZONTAL FEA Y PONE EL FONDO NEGRO POR SI ACASO 🔥 */
html {
    background-color: #050b14;
    overflow-x: hidden;
}

body {
    -ms-overflow-style: none;  /* Para IE y Edge */
    scrollbar-width: none;  /* Para Firefox */
    overflow-x: hidden; 
    animation: pageFadeIn 0.6s ease-out forwards;
}

/* ==========================================================================
   FONDO Y CUERPO PRINCIPAL (SOLUCIÓN DEL CORTE NEGRO)
   ========================================================================== */
body.water-effect {
    /* 🔥 EL SECRETO: El cuerpo debe ser 100% transparente para dejar ver el agua fija detrás 🔥 */
    background-color: transparent !important; 
    background-image: none !important;
    min-height: 100vh;
    color: #ffffff;
}

/* ==========================================================================
   CAPA FANTASMA PARA EL AGUA (CERO LAG, NO SE CORTA NUNCA xd)
   ========================================================================== */
.ripple-background {
    position: fixed; /* Se queda clavado a la pantalla */
    top: 0; 
    left: 0; 
    width: 100%; /* FIX: 100% evita la barra de scroll horizontal */
    height: 100%; /* Ocupa el 100% de tu pantalla, no de la página */
    background-image: url('FONDO.jpg'); /* 🔥 TU FOTO ÚNICA 🔥 */
    background-size: cover;
    background-position: center;
    z-index: -2; /* Se va al fondo de todo el universo */
}

/* ==========================================================================
   CABECERA INMERSIVA "CABINA ESPACIAL" xd
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(11, 11, 16, 0.7) 0%, rgba(11, 11, 16, 0) 100%);
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px); 
    padding: 20px 3%; 
    z-index: 1000;
    border-bottom: none; 
    box-shadow: none; 
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo { 
    font-size: 32px; 
    font-weight: 800; 
    color: #ffffff; 
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8), 0 0 20px rgba(0, 255, 255, 0.4), 0 2px 4px rgba(0,0,0,0.5); 
    transition: all 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(0, 255, 255, 1), 0 0 40px rgba(0, 255, 255, 0.6);
    transform: scale(1.08);
}

/* ==========================================================================
   NAVBAR ULTRA LIMPIA (SIN MARCOS FEOS) xd
   ========================================================================== */
.nav ul { 
    list-style: none; 
    display: flex; 
    gap: 20px; 
    align-items: center;
}

.nav a { 
    text-decoration: none; 
    color: rgba(255, 255, 255, 0.5); 
    font-weight: 600; 
    font-size: 15px; 
    padding: 8px 12px; 
    border: none !important; 
    background: transparent !important; 
    box-shadow: none !important; 
    transition: all 0.3s ease; 
}

.nav a:hover { 
    color: #ffffff; 
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
    transform: translateY(-2px); 
}

.nav a.active { 
    color: #00ffff; 
    font-weight: 800;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.9), 0 0 30px rgba(0, 255, 255, 0.4);
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.nav a.active::after {
    display: none !important; /* Matamos el aura cuadrada antigua xd */
}

/* ==========================================================================
   PORTADA CENTRAL (INDEX)
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column; /* Centrado perfecto vertical y horizontal */
    justify-content: center;
    align-items: center;
    padding-top: 0; 
    text-align: center;
}

.hero-content {
    animation: fadeUpPro 1s ease-out forwards;
}

/* ==========================================================================
   ESTILO APPLE "HELLO" PARA EL TÍTULO xd 💕
   ========================================================================== */
/* 🔥 FIX: EVITAR QUE SE SUBRAYE EL TEXTO AL DAR CLICS EN EL AGUA xd 🔥 */
/* 🔥 FIX: EVITAR QUE SE SUBRAYE EL TEXTO AL DAR CLICS EN EL AGUA xd 🔥 */
body {
    -webkit-user-select: none; /* Chrome, Safari, Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Estándar */
}

/* Permitimos que solo el correo se pueda seleccionar por si quieren copiarlo */
.email-display, .email-text, .email-box-premium {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}
.title-main, .subtitle-main, .logo {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.title-main { 
    font-family: 'Pacifico', cursive; /* La fuente cursiva tipo Apple */
    font-size: 95px; 
    font-weight: 400; 
    color: #ffffff; 
    margin-bottom: 10px; 
    padding: 10px 20px;
    animation: smoothNeon 4s ease-in-out infinite alternate; /* 🔥 ANIMACIÓN FLUIDA 🔥 */
}

/* Efecto de luz mejorado: Sin "transform: scale" para que NO sea tosco xd */
@keyframes smoothNeon {
    0% { 
        text-shadow: 0 0 5px rgba(0, 255, 255, 0.1), 
                     0 0 15px rgba(0, 255, 255, 0.2); 
    }
    100% {
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 
                     0 0 25px rgba(0, 255, 255, 0.8), 
                     0 0 45px rgba(0, 255, 255, 0.6), 
                     0 0 75px rgba(0, 255, 255, 0.4),
                     0 0 100px rgba(0, 255, 255, 0.2); 
    }
}

.subtitle-main {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

/* CAJA DE CRISTAL GLOBAL (Estilo Frutiger Aero Transparente xd) */
.glass-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 15px rgba(255, 255, 255, 0.15);
}

.profile-section {
    padding: 60px 10% 120px 10%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-box {
    padding: 50px;
    display: flex; 
    align-items: center;
    gap: 50px;
    max-width: 950px;
}

.photo-box {
    width: 300px; 
    height: 300px;
    flex-shrink: 0;
    border-radius: 20px; 
    padding: 8px; 
    background: rgba(255, 255, 255, 0.05); 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4); 
    transition: all 0.4s ease-in-out;
}

.photo-box:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4); 
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1); 
}

.photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 14px; 
}

.cv-text { text-align: left; }
.cv-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; text-shadow: 0 2px 10px rgba(0,0,0,0.4); color: #00ffff;}
.cv-text p { font-size: 17px; color: rgba(255, 255, 255, 0.85); margin-bottom: 15px; line-height: 1.8; }

/* ==========================================================================
   PÁGINA DE CURRICULUM
   ========================================================================== */
.cv-main-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 140px 20px 80px 20px; 
}

.cv-box {
    max-width: 900px;
    width: 100%;
    text-align: center;
    padding: 40px; 
}

.cv-box h1 { font-size: 3rem; margin-bottom: 10px; font-weight: 800; }
.cv-box .subtitle { color: rgba(255, 255, 255, 0.7); font-size: 1.2rem; margin-bottom: 40px; }

/* ESTILOS DEL CURRÍCULUM HTML (Minimalista y Profesional) */
.cv-grid { display: flex; flex-direction: column; gap: 20px; text-align: left; margin-top: 30px; }
.cv-section { background: rgba(255, 255, 255, 0.03); border-radius: 16px; padding: 25px 30px; border: 1px solid rgba(255, 255, 255, 0.05); transition: background 0.3s ease; }
.cv-section:hover { background: rgba(255, 255, 255, 0.06); }
.cv-section h3 { color: #00ffff; font-size: 1.3rem; font-weight: 800; margin-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; letter-spacing: 1px; }
.cv-item { margin-bottom: 15px; }
.cv-item:last-child { margin-bottom: 0; }
.cv-item h4 { color: rgba(255, 255, 255, 0.95); font-size: 1.1rem; margin-bottom: 5px; }
.cv-item p { color: rgba(255, 255, 255, 0.65); font-size: 0.95rem; line-height: 1.6; }
.cv-grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ==========================================================================
   PÁGINA PORTAFOLIO (ARREGLOS PREMIUM AÑADIDOS xd)
   ========================================================================== */
.portfolio-main-container {
    min-height: 100vh;
    padding: 100px 5% 40px 5%; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.portfolio-header { text-align: center; margin-bottom: 30px; }
.portfolio-grid { width: 100%; max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 50px; }

.portfolio-card {
    display: flex !important;
    flex-direction: column !important; 
    
    /* 🔥 EL SECRETO: Tono oscuro al 45% de opacidad. Deja ver el agua pero no ciega 🔥 */
    background: rgba(10, 15, 25, 0.45) !important; 
    backdrop-filter: blur(16px) !important; /* Desenfoque medio para efecto cristal */
    -webkit-backdrop-filter: blur(16px) !important;
    
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 24px;
    padding: 0 !important; 
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 255, 255, 0.5) !important; 
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15), 0 0 15px rgba(0, 255, 255, 0.1);
}

.project-image-container { position: relative; border-radius: 16px 16px 0 0; overflow: hidden; height: 380px; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.project-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s ease; filter: brightness(0.85) contrast(1.1); }
.portfolio-card:hover .project-image { transform: scale(1.1); filter: brightness(1.1) contrast(1.2); }

.project-info-bottom { padding: 40px; text-align: left; }
.project-info-bottom h2 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; color: #00ffff; }

.project-tags { display: flex; gap: 10px; margin-bottom: 25px; flex-wrap: wrap; }
.tag { padding: 6px 16px; font-size: 11px; font-weight: 800; border-radius: 30px; text-transform: uppercase; letter-spacing: 1px; background: rgba(0, 255, 255, 0.15) !important; color: #00ffff !important; border: 1px solid rgba(0, 255, 255, 0.3) !important; }

.project-description { font-size: 16px; color: rgba(255, 255, 255, 0.8); line-height: 1.8; }
.project-description p { margin-bottom: 15px; }

/* ==========================================================================
   ESTILOS DE CONTACTO Y REDES SOCIALES xd
   ========================================================================== */
.contact-main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 20px 60px 20px; }
.contact-inner { padding: 50px 40px; text-align: center; max-width: 600px; width: 100%; }
.contact-inner h2 { font-size: 2.8rem; font-weight: 800; color: #00ffff; text-shadow: 0 0 15px rgba(0,255,255,0.4); margin-bottom: 15px; }
.email-display { display: inline-block; background: rgba(0, 0, 0, 0.4); padding: 15px 30px; border-radius: 12px; border: 1px solid rgba(0, 255, 255, 0.3); color: #00ffff; font-family: monospace; font-size: 1.2rem; margin: 25px 0; box-shadow: inset 0 2px 8px rgba(0,0,0,0.5); transition: 0.3s ease; }
.email-display:hover { transform: scale(1.03); border-color: #00ffff; box-shadow: 0 0 15px rgba(0,255,255,0.2), inset 0 2px 8px rgba(0,0,0,0.5); }
.social-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 35px; }
.social-icon { width: 52px; height: 52px; display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 50%; font-size: 1.6rem; color: #ffffff; text-decoration: none; transition: all 0.3s ease; }
.social-icon:hover { background: rgba(0, 255, 255, 0.15); color: #00ffff; border-color: #00ffff; transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 255, 255, 0.25); }
.btn-group { display: flex; justify-content: center; gap: 20px; }
.btn-action { background: rgba(255,255,255,0.05); color: #ffffff; border: 1px solid rgba(255,255,255,0.2); padding: 12px 30px; font-weight: 600; border-radius: 8px; cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
.btn-action.primary { background: rgba(0, 255, 255, 0.15); color: #00ffff; border-color: rgba(0, 255, 255, 0.4); }
.btn-action:hover { background: #ffffff; color: #000000; transform: translateY(-3px); }
.btn-action.primary:hover { background: #00ffff; color: #000000; box-shadow: 0 0 20px rgba(0,255,255,0.4); }

/* ==========================================================================
   PIE DE PÁGINA GLOBAL
   ========================================================================== */
.main-footer {
    width: 100%;
    padding: 25px 8%;
    text-align: center;
    background-color: rgba(10, 10, 15, 0.6); 
    backdrop-filter: blur(10px); 
    border-top: 1px solid rgba(255, 255, 255, 0.05); 
}
.main-footer p { font-size: 14px; color: rgba(255, 255, 255, 0.6); font-weight: 500; letter-spacing: 1px; }

/* ==========================================================================
   EFECTOS DE SCROLL (ANIMACIONES REVEAL) Y PÁGINA
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active, .reveal-left.active { opacity: 1; transform: translate(0) scale(1); }

@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .portfolio-card { grid-template-columns: 1fr; padding: 30px; }
    .about-box { flex-direction: column; text-align: center; padding: 30px; }
    .cv-text { text-align: center; }
    .project-image-container { height: auto; min-height: 300px; }
    .title-main { font-size: 60px; }
    .cv-grid-2col { grid-template-columns: 1fr; }
}
/* ==========================================================================
   🔥 MEJORAS V8.0: CV ANCHO, CONTACTOS PREMIUM Y ANIMACIONES xd 🔥
   ========================================================================== */

/* 1. CV MÁS ANCHO Y OPTIMIZADO */
.cv-box {
    max-width: 1100px !important; /* Estaba en 900px, ahora es enorme y hermoso */
    padding: 60px !important;
}

/* 2. CONTACTO ESTILO TERMINAL PREMIUM */
.contact-inner {
    max-width: 800px !important;
    padding: 60px !important;
    background: rgba(10, 15, 25, 0.75) !important; /* Un tono más profundo */
}
.email-box-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.6);
    border-left: 4px solid #00ffff;
    border-radius: 8px;
    padding: 20px 30px;
    margin: 30px auto;
    max-width: 500px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
    transition: all 0.3s ease;
}
.email-box-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.15), inset 0 2px 10px rgba(0,0,0,0.8);
}
.email-text {
    color: #00ffff;
    font-family: monospace;
    font-size: 1.25rem;
    letter-spacing: 1px;
}
.email-icon {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
}

/* 3. NUEVAS ANIMACIONES FLUIDAS */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-right.active { opacity: 1; transform: translateX(0); }
.reveal-scale.active { opacity: 1; transform: scale(1); }
/* ==========================================================================
   🔥 V9.1: VITRINA DE INSIGNIAS Y TRANSICIONES SUAVES xd 🔥
   ========================================================================== */

/* Animación para cuando te vas de la página (Adiós saltos toscos) */
@keyframes pageFadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}
.page-exit {
    animation: pageFadeOut 0.2s ease-in forwards !important; /* 🔥 El doble de rápido xd 🔥 */
}

/* Vitrina para tus Insignias Oficiales */
.badge-grid { 
    display: flex; 
    gap: 25px; 
    flex-wrap: wrap; 
    margin-top: 15px; 
}

.badge-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    width: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.badge-box:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2), inset 0 2px 10px rgba(0,0,0,0.5);
    background: rgba(0, 255, 255, 0.05);
}

.badge-img { 
    width: 100px; 
    height: 100px; 
    object-fit: contain; 
    margin-bottom: 12px; 
    filter: drop-shadow(0 0 10px rgba(0,255,255,0.2)); 
    transition: all 0.3s ease;
}

.badge-box:hover .badge-img {
    filter: drop-shadow(0 0 15px rgba(0,255,255,0.6));
}

.badge-title { 
    font-size: 0.95rem; 
    color: #ffffff; 
    font-weight: 800; 
    text-align: center; 
    line-height: 1.3;
}

.badge-title span { 
    color: #00ffff; 
    display: block; 
    font-size: 0.75rem; 
    margin-top: 5px; 
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* ==========================================================================
   🔥 FIX: RESURRECCIÓN DE TU NOMBRE (CLEMENTINE PATCH) xd 💕 🔥
   ========================================================================== */

/* 1. Le devolvemos la animación que habías borrado */
@keyframes fadeUpPro {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 2. Forzamos a que la portada SIEMPRE sea visible, ignorando el opacity: 0 */
.hero .title-main, .hero .subtitle-main {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* 3. Aseguramos que la animación de entrada se aplique a la caja contenedora */
.hero-content {
    animation: fadeUpPro 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
/* ==========================================================================
   🔥 CAJA DE CERTIFICADO CCNA PREMIUM (FIX GIOMAR) xd 💕 🔥
   ========================================================================== */
.cert-container {
    display: flex; align-items: center; gap: 30px;
    background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 16px; padding: 25px; margin-top: 20px; transition: all 0.4s ease;
}
.cert-container:hover {
    border-color: #00ffff; background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15), inset 0 2px 10px rgba(0,0,0,0.5);
    transform: translateY(-5px);
}

/* 🔥 AQUÍ ES DONDE SE ARREGLA LA FOTO GIGANTE xd 🔥 */
.cert-image-box {
    flex-shrink: 0; width: 320px; background-color: #ffffff;
    padding: 6px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.cert-img {
    width: 100%; height: auto; object-fit: contain;
    display: block; border-radius: 8px; transition: transform 0.5s ease;
}
.cert-container:hover .cert-img { transform: scale(1.05); }

/* ESTILOS DEL TEXTO DEL DIPLOMA */
.cert-details { text-align: left; }
.cert-title { color: #ffffff; font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; text-shadow: 0 0 10px rgba(0, 255, 255, 0.3); }
.cert-issuer { color: #00ffff; font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; }
.cert-info { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.cert-info i { color: #00ffff; width: 16px; text-align: center; }

/* EL ID OFICIAL */
.cert-id-box { margin-top: 15px; }
.cert-id {
    font-family: monospace; background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.6); padding: 8px 15px; border-radius: 8px;
    display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.3s ease;
}
.cert-container:hover .cert-id { color: #00ffff; border-color: rgba(0, 255, 255, 0.3); }

/* PARA QUE SE VEA BIEN EN EL MÓVIL */
@media (max-width: 768px) {
    .cert-container { flex-direction: column; text-align: center; padding: 20px; }
    .cert-details { text-align: center; }
    .cert-info, .cert-id-box { justify-content: center; }
}