/* ============================================
   VARIABLES CSS (Custom Properties)
   ============================================ */
:root {
    /* Paleta de colores */
    --primary-color: #00f3ff;       /* Cian neón principal */
    --secondary-color: #9d00ff;     /* Púrpura neón */
    --dark-color: #0a0a1a;          /* Fondo oscuro principal */
    --light-color: #f0f0f0;         /* Texto claro */
    --accent-color: #ff0080;        /* Rosa neón para acentos */
    --gray-color: #1a1a2e;          /* Gris oscuro para elementos */
    
    /* Tipografía */
    --font-heading: 'Orbitron', sans-serif;  /* Fuente futurista para títulos */
    --font-body: 'Roboto', sans-serif;       /* Fuente legible para cuerpo */
    
    /* Efectos de neón */
    --neon-glow: 0 0 20px rgba(0, 243, 255, 0.8),
                 0 0 40px rgba(0, 243, 255, 0.6),
                 0 0 60px rgba(0, 243, 255, 0.4);
    --neon-pink-glow: 0 0 20px rgba(255, 0, 128, 0.8),
                      0 0 40px rgba(255, 0, 128, 0.6),
                      0 0 60px rgba(255, 0, 128, 0.4);
    --neon-purple-glow: 0 0 20px rgba(157, 0, 255, 0.8),
                        0 0 40px rgba(157, 0, 255, 0.6),
                        0 0 60px rgba(157, 0, 255, 0.4);
}

/* ============================================
   RESET Y CONFIGURACIÓN GLOBAL
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ============================================
   OCULTAR BOTÓN SCROLL INMEDIATAMENTE
   ============================================ */
#scrollTopBtn {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ============================================
   BARRA DE NAVEGACIÓN (NAVBAR)
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: var(--neon-glow);
    border-bottom: 2px solid var(--primary-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: var(--neon-glow);
    padding: 5px 15px;
}

.ryuzenk-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.ai-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--accent-color);
    text-shadow: var(--neon-pink-glow);
}

.logo span {
    color: var(--accent-color);
    text-shadow: var(--neon-pink-glow);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
    background: rgba(0, 243, 255, 0.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    text-shadow: var(--neon-glow);
    padding: 0 20px;
}

.section-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* ============================================
   SECCIÓN HOME / INICIO
   ============================================ */
#home {
    padding-top: 180px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.home-text {
    text-align: left;
}

.home-text h1 {
    font-size: 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 
        0 0 1px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(0, 243, 255, 0.7),
        0 0 20px rgba(0, 243, 255, 0.5);
    margin-bottom: 0.5rem;
    text-align: left;
    white-space: nowrap;
}

.h1-logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 
        0 0 1px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(0, 243, 255, 0.7),
        0 0 20px rgba(0, 243, 255, 0.5);
    display: inline;
}

.home-text p {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
    color: #ccc;
}

.home-buttons {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--neon-glow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 243, 255, 0.5),
                0 0 30px rgba(0, 243, 255, 0.4);
}

.btn-small {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    padding: 15px 5px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 5px;
    margin-bottom: 5px;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.btn-small:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 20px var(--primary-color);
}

.btnVer, .btnDownload {
    display: inline-block;
    padding: 20px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin: 10px 5px;
}

.btnVer {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    box-shadow: 
        0 0 15px var(--primary-color),
        0 0 30px rgba(0, 243, 255, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(0, 243, 255, 0.8);
}

.btnDownload {
    background: linear-gradient(to right, var(--accent-color), #ff00ff);
    color: var(--light-color);
    box-shadow: 
        0 0 15px var(--accent-color),
        0 0 30px rgba(255, 0, 128, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 0, 128, 0.8);
}

.btnVer:hover, .btnDownload:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btnVer:hover {
    box-shadow: 
        0 0 20px var(--primary-color),
        0 0 40px rgba(0, 243, 255, 0.7),
        inset 0 0 20px rgba(255, 255, 255, 0.4);
}

.btnDownload:hover {
    box-shadow: 
        0 0 20px var(--accent-color),
        0 0 40px rgba(255, 0, 128, 0.7),
        inset 0 0 20px rgba(255, 255, 255, 0.4);
}

/* ============================================
   IMÁGENES DE PERFIL
   ============================================ */
.home-image {
    text-align: center;
    position: relative;
}

.formal-img {
    width: 100%;
    max-width: 420px;
    height: 420px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    border: 5px solid var(--primary-color);
    box-shadow: 
        0 0 30px var(--primary-color),
        0 0 60px rgba(0, 243, 255, 0.7);
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.8));
    animation: simple-glow-pulse 1s ease-in-out infinite alternate;
}

@keyframes simple-glow-pulse {
    0% {
        box-shadow: 
            0 0 25px var(--primary-color),
            0 0 50px rgba(0, 243, 255, 0.6);
        border-color: rgba(0, 243, 255, 0.9);
    }
    100% {
        box-shadow: 
            0 0 35px var(--primary-color),
            0 0 70px rgba(0, 243, 255, 0.8);
        border-color: rgba(0, 243, 255, 1);
    }
}

/* ============================================
   SECCIÓN CYBERPUNK / ENLACES RÁPIDOS
   ============================================ */
.cyberpunk-section {
    margin-top: 100px;
    text-align: center;
}

.cyberpunk-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-shadow: var(--neon-glow);
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 50px 40px;
    border-radius: 18px;
    background: rgba(10, 10, 26, 0.7);
    border: 2px solid rgba(0, 243, 255, 0.3);
    width: 280px;
    min-height: 220px;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(0, 243, 255, 0.2),
        inset 0 0 8px rgba(0, 243, 255, 0.08);
}

.quick-link:hover {
    transform: translateY(-10px);
    background: rgba(0, 243, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 243, 255, 0.4),
        0 0 40px rgba(0, 243, 255, 0.15),
        inset 0 0 12px rgba(0, 243, 255, 0.15);
}

.quick-link i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 0 0 12px var(--primary-color);
    transition: all 0.3s ease;
}

.quick-link:hover i {
    transform: scale(1.15);
    text-shadow: 0 0 20px var(--primary-color);
}

.quick-link span {
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.quick-link:nth-child(1):hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 0 20px var(--primary-color),
        0 0 40px rgba(0, 243, 255, 0.2);
}

.quick-link:nth-child(2):hover {
    border-color: var(--accent-color);
    box-shadow: 
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 0 20px var(--accent-color),
        0 0 40px rgba(255, 0, 128, 0.2);
}

/* ============================================
   SECCIÓN PROYECTOS
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow);
}

.project-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-tech {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.project-tech span {
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.project-info p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-links {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 1.5rem;
}

.project-card.blocked {
    opacity: 0.7;
    filter: grayscale(0.3);
    position: relative;
    cursor: not-allowed;
}

.project-card.blocked:hover {
    transform: none;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

.blocked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: white;
    border-radius: 15px 15px 0 0;
}

.blocked-overlay i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.blocked-overlay span {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Orbitron', sans-serif;
}

.btn-small.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.05);
}

.btn-small.disabled:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: none;
    box-shadow: none;
}

.center-button {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   SECCIÓN IA GENERATIVA
   ============================================ */
.ai-projects {
    margin-top: 2rem;
}

/* ============================================
   SECCIÓN DE CONTACTO
   ============================================ */
.contact-section {
    padding-top: 180px;
    min-height: 100vh;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form {
    background: rgba(26, 26, 46, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 
        0 0 30px rgba(0, 243, 255, 0.2),
        inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.contact-form h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 10px var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(10, 10, 26, 0.7);
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 10px;
    color: var(--light-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 15px var(--primary-color),
        inset 0 0 10px rgba(0, 243, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-send {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 
        0 0 20px var(--primary-color),
        0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px var(--primary-color),
        0 15px 35px rgba(0, 0, 0, 0.4);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid rgba(0, 255, 128, 0.3);
    color: #00ff80;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 25px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
}

a.contact-item {
    text-decoration: none !important;
    color: inherit !important;
}

.contact-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    transform: translateY(-5px);
}

.contact-item i {
    font-size: 2.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.contact-item > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.contact-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.contact-item p,
.contact-item span {
    color: #ccc;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
}

.contact-item:not(a) {
    cursor: default;
}

.contact-item:not(a):hover {
    transform: none;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

/* ============================================
   FOOTER / PIE DE PÁGINA
   ============================================ */
.footer {
    background: rgba(10, 10, 26, 0.95);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -5px 30px rgba(0, 243, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    text-shadow: var(--neon-glow);
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo .logo span {
    color: var(--accent-color);
    text-shadow: var(--neon-pink-glow);
}

.footer-logo p {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--light-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #888;
    font-size: 0.9rem;
}

/* ============================================
   BOTÓN "SUBIR ARRIBA"
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: var(--neon-glow);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--primary-color);
}

/* Para móviles */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

/* ============================================
   DISEÑO RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .home-content,
    .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .quick-link {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(10, 10, 26, 0.98);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--neon-glow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .home-text h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-small {
        width: 100%;
        margin-right: 0;
    }
    
    #home {
        padding-top: 150px;
    }
    
    .home-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .home-buttons .btnVer,
    .home-buttons .btnDownload {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-bottom: 10px;
    }
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.section {
    animation: fadeInUp 0.8s ease-out;
}

html {
    scroll-behavior: smooth;
}

p, li {
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* ============================================
   BOTÓN "SUBIR ARRIBA" - COMPLETO
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--dark-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: var(--neon-glow);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px var(--primary-color);
}

/* Para móviles */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}
