/* ===== RESET Y VARIABLES GLOBALES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Ocultar cursor nativo en todos los elementos */
}

/* Ocultar cursor nativo específicamente en elementos interactivos */
html, body, a, button, input, textarea, select, .btn, .nav-link, .project-btn, .social-card, .skill-card, .project-card, .game-card, .aspect-card {
    cursor: none !important;
}

/* Elementos de texto y hover también sin cursor */
h1, h2, h3, h4, h5, h6, p, span, div, section, nav, footer {
    cursor: none !important;
}

/* Elementos de formulario sin cursor nativo */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
    cursor: none !important;
}

/* Links y elementos clicables sin cursor nativo */
a:hover, button:hover, .clickable:hover, .nav-link:hover {
    cursor: none !important;
}

:root {
    /* Colores principales */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    
    /* Gradientes espectaculares */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-rainbow: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    --gradient-gaming: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    
    /* Fondos */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    
    /* Textos */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --text-accent: #22d3ee;
    
    /* Tipografía */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    
    /* Espaciado */
    --container-padding: clamp(1rem, 5vw, 3rem);
    --section-gap: clamp(5rem, 12vw, 8rem);
    
    /* Sombras avanzadas */
    --shadow-small: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.3);
    --shadow-accent: 0 0 40px rgba(34, 211, 238, 0.2);
    
    /* Transiciones súper fluidas */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Efectos blur */
    --blur-light: blur(10px);
    --blur-medium: blur(20px);
    --blur-heavy: blur(40px);
    
    /* Border radius */
    --radius-small: 8px;
    --radius-medium: 16px;
    --radius-large: 24px;
    --radius-full: 9999px;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Ocultar cursor por defecto */
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== CURSOR PERSONALIZADO (SIN INPUT LAG) ===== */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--gradient-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.1s ease-out, background-color 0.2s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(34, 211, 238, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: all 0.15s ease-out;
}

/* Estados del cursor */
.cursor.hover {
    transform: scale(1.5);
    background: var(--gradient-secondary);
}

.cursor.click {
    transform: scale(0.8);
}

/* ===== FONDO DINÁMICO ESPECTACULAR ===== */
.dynamic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.gradient-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 15s infinite ease-in-out;
    opacity: 0.1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    top: 20%;
    right: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--gradient-accent);
    bottom: -250px;
    left: 30%;
    animation-delay: -10s;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: var(--gradient-rainbow);
    top: 60%;
    right: 20%;
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(-20px, -20px) rotate(120deg);
    }
    66% {
        transform: translate(20px, 20px) rotate(240deg);
    }
}

/* Canvas para partículas */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== NAVEGACIÓN AVANZADA ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: var(--blur-medium);
    background: rgba(10, 10, 10, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-medium);
}

.navbar.scrolled {
    backdrop-filter: var(--blur-heavy);
    background: rgba(10, 10, 10, 0.95);
    transform: translateY(0);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.logo-text {
    color: var(--text-primary);
}

.accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-medium);
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 0.1;
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(34, 211, 238, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-medium);
}

/* ===== LAYOUT GENERAL ===== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== HERO SECTION ESPECTACULAR ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    z-index: 2;
}

.hero-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.wave-emoji {
    font-size: 1.5rem;
    animation: wave 2s infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-10deg); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line span {
    display: inline-block;
    transform: translateY(100%);
    animation: slideUp 0.8s ease-out forwards;
}

.title-line:nth-child(2) span {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) span {
    animation-delay: 0.4s;
}

.highlight {
    background: var(--gradient-rainbow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typewriter-text {
    min-width: 200px;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: var(--accent);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== BOTONES ESPECTACULARES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-medium);
    backdrop-filter: var(--blur-light);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(34, 211, 238, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ===== HERO VISUAL (FLOATING CARD) ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-card {
    position: relative;
    width: 400px;
    height: 300px;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-20px);
    }
}

.card-glow {
    position: absolute;
    inset: -20px;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    border-radius: var(--radius-large);
    opacity: 0.3;
    animation: rotate 8s linear infinite;
    filter: blur(20px);
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.code-preview {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.9);
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-medium);
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot.red { background: #ff5f56; animation-delay: 0s; }
.dot.yellow { background: #ffbd2e; animation-delay: 0.3s; }
.dot.green { background: #27ca3f; animation-delay: 0.6s; }

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.code-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
    animation: typeCode 2s ease-out;
}

.code-comment { 
    color: #6a9955; 
    font-style: italic;
}

.code-keyword { 
    color: #569cd6; 
    font-weight: 600;
}

.code-variable { 
    color: #9cdcfe; 
    font-weight: 500;
}

.code-string { 
    color: #ce9178; 
    font-style: italic;
}

.code-method { 
    color: #dcdcaa; 
    font-weight: 600;
}

.code-require { 
    color: #dcdcaa; 
    font-weight: 700;
    text-shadow: 0 0 8px rgba(104, 160, 99, 0.3);
}

.code-property {
    color: #9cdcfe;
    font-weight: 400;
}

/* Hover effects para elementos de código */
.code-keyword:hover {
    color: #7aa6ff;
    text-shadow: 0 0 8px rgba(122, 166, 255, 0.4);
    transition: all 0.2s ease;
}

.code-variable:hover {
    color: #b3e5fc;
    text-shadow: 0 0 8px rgba(179, 229, 252, 0.4);
    transition: all 0.2s ease;
}

.code-string:hover {
    color: #ffab91;
    text-shadow: 0 0 8px rgba(255, 171, 145, 0.4);
    transition: all 0.2s ease;
}

.code-method:hover {
    color: #fff59d;
    text-shadow: 0 0 8px rgba(255, 245, 157, 0.4);
    transition: all 0.2s ease;
}

.code-require:hover {
    color: #fff59d;
    text-shadow: 0 0 8px rgba(255, 245, 157, 0.4);
    transition: all 0.2s ease;
}

.code-property:hover {
    color: #b3e5fc;
    text-shadow: 0 0 8px rgba(179, 229, 252, 0.4);
    transition: all 0.2s ease;
}

@keyframes typeCode {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.3) 100%);
}

.about-content {
    display: grid;
    gap: 3rem;
}

.about-text {
    text-align: center;
}

.about-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-light);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: var(--gradient-rainbow);
    border-radius: var(--radius-large);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.about-card:hover::before {
    opacity: 0.1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-medium);
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--bg-card-hover);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
}

.skill-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.skill-card h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tag {
    background: rgba(34, 211, 238, 0.1);
    color: var(--text-accent);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    border: 1px solid rgba(34, 211, 238, 0.2);
    transition: all var(--transition-fast);
}

.tag:hover {
    background: rgba(34, 211, 238, 0.2);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ===== PROJECTS SECTION ===== */
.projects {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.3) 0%, transparent 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-rainbow);
    border-radius: var(--radius-large);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.project-card:hover::before {
    opacity: 0.3;
}

.project-image {
    height: 200px;
    position: relative;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-icon {
    font-size: 4rem;
    opacity: 0.3;
    transition: all var(--transition-medium);
}

.project-card:hover .project-icon {
    opacity: 0.1;
    transform: scale(1.2);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-medium);
    backdrop-filter: var(--blur-light);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-btn {
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.project-card:hover .project-btn {
    transform: translateY(0);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.project-stats {
    display: flex;
    gap: 1rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.stat i {
    color: var(--accent);
}

/* ===== COMMUNITY SECTION ===== */
.community {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.3) 100%);
}

.community-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.community-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-medium);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent);
    transform: translateX(10px);
}

.feature i {
    font-size: 1.2rem;
    color: var(--accent);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-accent);
}

.social-card:hover::before {
    opacity: 0.1;
}

.social-card.discord .social-icon {
    color: #5865f2;
}

.social-icon {
    font-size: 2rem;
}

.social-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.social-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-arrow {
    margin-left: auto;
    color: var(--accent);
    transition: transform var(--transition-medium);
}

.social-card:hover .social-arrow {
    transform: translateX(5px);
}

/* ===== GAMING SECTION ===== */
.gaming {
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.3) 0%, transparent 100%);
}

.gaming-content {
    display: grid;
    gap: 3rem;
}

.gaming-intro {
    text-align: center;
}

.main-gaming {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-gaming .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.main-gaming h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-gaming);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-gaming p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all var(--transition-medium);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gaming);
    opacity: 0;
    transition: opacity var(--transition-medium);
    z-index: -1;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-large);
}

.game-card:hover::before {
    opacity: 0.05;
}

.game-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.game-card h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.game-type {
    background: rgba(255, 154, 158, 0.1);
    color: #ff9a9e;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    border: 1px solid rgba(255, 154, 158, 0.2);
    display: inline-block;
}

.gaming-footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.gaming-footer p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ===== PERSONAL LIFE SECTION ===== */
.personal-life {
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 26, 0.3) 100%);
}

.life-content {
    display: grid;
    gap: 3rem;
}

.life-intro {
    text-align: center;
}

.main-life {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-large);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.main-life .card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.main-life h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-life p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.1rem;
}

.life-aspects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.aspect-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-medium);
    cursor: pointer;
}

.aspect-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--secondary);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.2);
}

.aspect-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.aspect-card h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.aspect-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(17, 17, 17, 0.8) 100%);
}

.footer-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-tertiary);
}

.footer-links a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* ===== EFECTOS DE HOVER EN TEXTOS ===== */
h1, h2, h3, h4, h5, h6 {
    cursor: pointer;
    transition: all var(--transition-fast);
}

h1:hover, h2:hover, h3:hover {
    transform: translateX(5px);
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

p {
    cursor: pointer;
    transition: all var(--transition-fast);
}

p:hover {
    color: var(--text-primary);
    transform: translateX(3px);
}

/* ===== ANIMACIONES DE SCROLL ===== */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .floating-card {
        width: 300px;
        height: 200px;
        transform: none;
    }
    
    .community-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .life-aspects {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-card {
        width: 250px;
        height: 180px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card {
        min-width: unset;
    }
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ===== SELECCIÓN DE TEXTO ===== */
::selection {
    background: rgba(34, 211, 238, 0.3);
    color: var(--text-primary);
}
