:root {
    --bg-dark: #050511;
    --bg-card: rgba(20, 20, 35, 0.6);
    --primary: #4cc9f0;
    --secondary: #4361ee;
    --accent: #f72585;
    --text-main: #e0e0e0;
    --text-muted: #94a3b8;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --glass: blur(12px) saturate(180%);
    --glow: 0 0 20px rgba(76, 201, 240, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--secondary), var(--primary)); border-radius: 4px; }

/* PARTICLES */
.background-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 15% 50%, rgba(67,97,238,0.08), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(247,37,133,0.05), transparent 25%);
    z-index: -2; pointer-events: none;
}
.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.particles span {
    position: absolute; width: 2px; height: 2px; background: var(--primary); border-radius: 50%;
    animation: float-particle linear infinite; opacity: 0;
}
.particles span:nth-child(1)  { left: 10%; animation-duration: 15s; animation-delay: 0s; }
.particles span:nth-child(2)  { left: 25%; animation-duration: 20s; animation-delay: 3s; width: 3px; height: 3px; background: var(--accent); }
.particles span:nth-child(3)  { left: 40%; animation-duration: 18s; animation-delay: 6s; }
.particles span:nth-child(4)  { left: 55%; animation-duration: 22s; animation-delay: 1s; background: var(--secondary); }
.particles span:nth-child(5)  { left: 70%; animation-duration: 16s; animation-delay: 4s; }
.particles span:nth-child(6)  { left: 80%; animation-duration: 24s; animation-delay: 8s; background: var(--accent); width: 3px; height: 3px; }
.particles span:nth-child(7)  { left: 90%; animation-duration: 19s; animation-delay: 2s; }
.particles span:nth-child(8)  { left: 5%;  animation-duration: 17s; animation-delay: 5s; background: var(--secondary); }

@keyframes float-particle {
    0%   { bottom: -10px; opacity: 0; transform: translateX(0); }
    10%  { opacity: 0.6; }
    90%  { opacity: 0.3; }
    100% { bottom: 100vh; opacity: 0; transform: translateX(30px); }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1rem 0;
    background: rgba(5,5,17,0.7); backdrop-filter: var(--glass);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000; transition: 0.3s;
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 700; color: var(--text-main); }
.logo .dot { color: var(--primary); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-link { text-decoration: none; color: var(--text-muted); font-family: var(--font-mono); font-size: 0.85rem; transition: var(--transition); }
.nav-link span { color: var(--primary); margin-right: 4px; }
.nav-link:hover { color: var(--text-main); }
.nav-link.highlight { color: var(--accent); border: 1px solid var(--accent); padding: 0.3rem 0.9rem; border-radius: 4px; }
.nav-link.highlight:hover { background: rgba(247,37,133,0.1); box-shadow: 0 0 15px rgba(247,37,133,0.3); }
.menu-toggle { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* MOBILE MENU */
.mobile-menu {
    display: none; flex-direction: column; gap: 0;
    background: rgba(5,5,17,0.98); border-top: 1px solid rgba(255,255,255,0.05);
    padding: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 1rem 2rem; border-bottom: 1px solid rgba(255,255,255,0.04); font-size: 0.95rem; }

/* HERO */
.hero { height: 100vh; display: flex; align-items: center; position: relative; padding-top: 60px; }
.hero-content { padding-top: 9rem; text-align: center; max-width: 800px; margin: 0 auto; }

.profile-wrapper { position: relative; width: 180px; height: 180px; margin: 0 auto 1.5rem; }
.profile-pic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg-dark); position: relative; z-index: 2; }
.orbit {
    position: absolute; top: -10px; left: -10px; right: -10px; bottom: -10px;
    border-radius: 50%; border: 2px dashed var(--primary);
    animation: spin 10s linear infinite; z-index: 1;
}
.orbit-2 {
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    border-color: rgba(247,37,133,0.3); border-style: solid;
    animation: spin 20s linear infinite reverse;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(76,201,240,0.08); border: 1px solid rgba(76,201,240,0.2);
    padding: 0.4rem 1rem; border-radius: 50px;
    font-size: 0.8rem; color: var(--primary); margin-bottom: 1rem; font-family: var(--font-mono);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #27c93f; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:0.5; transform:scale(1.3); } }

.glitch-wrapper { font-family: var(--font-mono); font-size: 4.5rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.5rem; position: relative; }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); }
.glitch::before { left: 2px; text-shadow: -1px 0 var(--accent); clip-path: inset(44% 0 61% 0); animation: glitch-anim-1 2.5s infinite linear alternate-reverse; }
.glitch::after  { left: -2px; text-shadow: -1px 0 var(--primary); clip-path: inset(50% 0 30% 0); animation: glitch-anim-2 3s infinite linear alternate-reverse; }
@keyframes glitch-anim-1 { 0% { clip-path: inset(20% 0 80% 0); } 100% { clip-path: inset(30% 0 20% 0); } }
@keyframes glitch-anim-2 { 0% { clip-path: inset(10% 0 60% 0); } 100% { clip-path: inset(20% 0 50% 0); } }

.hero-subtitle { font-size: 1rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 0.5rem; }
.tagline { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.code-tag { color: var(--primary); font-family: var(--font-mono); }

.hero-btns { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.8rem; border-radius: 50px; text-decoration: none;
    font-weight: 600; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.95rem;
}
.btn-primary { background: linear-gradient(45deg, var(--secondary), var(--primary)); color: #fff; box-shadow: 0 4px 15px rgba(67,97,238,0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(67,97,238,0.5); }
.btn-secondary { border: 2px solid rgba(255,255,255,0.15); color: var(--text-main); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.hero-social { display: flex; justify-content: center; gap: 1.2rem; }
.hero-social-link {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
}
.hero-social-link svg { width: 18px; height: 18px; }
.hero-social-link:hover { background: rgba(76,201,240,0.1); border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: var(--text-muted); font-size: 0.7rem; font-family: var(--font-mono); letter-spacing: 2px;
    animation: bounce-scroll 2s infinite;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(var(--primary), transparent); }
@keyframes bounce-scroll { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* SECTIONS */
section { padding: 6rem 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 1rem; font-family: var(--font-mono); }
.section-sub { text-align: center; color: var(--text-muted); margin-bottom: 3.5rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.text-primary { color: var(--primary); text-shadow: var(--glow); }

/* GLASS PANEL */
.glass-panel {
    background: var(--bg-card); backdrop-filter: var(--glass);
    border: 1px solid rgba(255,255,255,0.06); border-radius: 14px; overflow: hidden;
}

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: start; margin-top: 2rem; }
.terminal-header { background: rgba(0,0,0,0.3); padding: 0.75rem 1rem; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.dot-btn { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.red { background: #ff5f56; } .yellow { background: #ffbd2e; } .green { background: #27c93f; }
.terminal-title { margin-left: 8px; font-family: var(--font-mono); font-size: 0.8rem; opacity: 0.6; color: var(--text-muted); }
.terminal-body { padding: 1.5rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }
.terminal-body p { margin-bottom: 0.2rem; }
.json-key  { color: var(--primary); }
.json-str  { color: #a8d8a8; }
.json-num  { color: var(--accent); }
.indent    { padding-left: 1.5rem; }
.console-log { color: var(--accent); margin-top: 0.5rem; }
.inline-link { color: var(--primary); text-decoration: none; border-bottom: 1px dashed var(--primary); }

.about-right { display: flex; flex-direction: column; gap: 1.5rem; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px; padding: 1.2rem; text-align: center;
    transition: var(--transition);
}
.stat-card:hover { border-color: rgba(76,201,240,0.3); transform: translateY(-3px); }
.stat-num { display: block; font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; }

.certs-panel { padding: 1.5rem; }
.panel-title { font-size: 1rem; color: var(--text-main); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.panel-title .material-icons { color: var(--primary); font-size: 1.2rem; }
.cert-list { display: flex; flex-direction: column; gap: 0.8rem; }
.cert-item { display: flex; align-items: center; gap: 0.8rem; }
.cert-badge {
    width: 32px; height: 32px; border-radius: 8px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0;
}
.platzi    { background: linear-gradient(135deg, #98ca3f, #4a9a1f); color: #fff; }
.capacitate { background: linear-gradient(135deg, var(--secondary), #6a85f7); color: #fff; }
.cert-item strong { display: block; font-size: 0.85rem; color: var(--text-main); }
.cert-item small  { font-size: 0.75rem; color: var(--text-muted); }

/* PROJECTS */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.project-card {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px; padding: 2rem; transition: var(--transition);
    position: relative; overflow: hidden;
}
.project-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(76,201,240,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.project-card:hover::before { transform: scaleX(1); }
.project-card.featured { border-color: rgba(76,201,240,0.2); }
.project-card.featured::before { transform: scaleX(1); }
.project-card.coming-soon { opacity: 0.7; }

.project-tag {
    display: inline-block; font-size: 0.72rem; font-family: var(--font-mono);
    color: var(--primary); border: 1px solid rgba(76,201,240,0.3);
    padding: 0.2rem 0.6rem; border-radius: 4px; margin-bottom: 1rem;
}
.project-icon { font-size: 2rem; margin-bottom: 1rem; }
.project-icon .material-icons { font-size: 2.5rem; color: var(--primary); }
.project-card h3 { font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--text-main); }
.project-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.2rem; line-height: 1.6; }
.project-tech { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.project-tech span {
    font-size: 0.75rem; font-family: var(--font-mono);
    background: rgba(67,97,238,0.15); border: 1px solid rgba(67,97,238,0.3);
    color: var(--primary); padding: 0.2rem 0.6rem; border-radius: 4px;
}
.project-links { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-project {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: #fff; padding: 0.5rem 1.2rem; border-radius: 6px;
    text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: var(--transition);
}
.btn-project:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(67,97,238,0.4); }
.btn-project .material-icons { font-size: 1rem; }
.btn-project-ghost {
    display: inline-flex; align-items: center; gap: 0.3rem;
    border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted);
    padding: 0.5rem 1.2rem; border-radius: 6px;
    text-decoration: none; font-size: 0.85rem; transition: var(--transition);
}
.btn-project-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-project-ghost .material-icons { font-size: 1rem; }

.scanner-bar {
    width: 100%; height: 3px; margin-top: 1.5rem;
    background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; position: relative;
}
.scanner-bar::after {
    content: ''; position: absolute; top: 0; left: -40%;
    width: 40%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: scan 2s linear infinite;
}
@keyframes scan { 100% { left: 140%; } }

/* SKILLS */
.skills-section { background: linear-gradient(180deg, var(--bg-dark), rgba(10,10,30,0.8)); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; margin-bottom: 2rem; }
.skill-group { padding: 1.5rem; }
.skill-group h3 { font-size: 0.95rem; color: var(--text-main); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.skill-group h3 .material-icons { color: var(--primary); font-size: 1.1rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
    font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 20px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted); transition: var(--transition);
}
.skill-tag:hover { transform: translateY(-2px); }
.skill-tag.accent { background: rgba(67,97,238,0.12); border-color: rgba(67,97,238,0.25); color: #7b9df7; }
.skill-tag.warm   { background: rgba(247,37,133,0.1); border-color: rgba(247,37,133,0.2); color: #f994c7; }
.skill-tag.soft   { background: rgba(76,201,240,0.08); border-color: rgba(76,201,240,0.18); color: var(--primary); }

.char-stats { padding: 2rem; margin-top: 1rem; }
.skill-container { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.skill-item { }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 0.4rem; font-size: 0.88rem; color: var(--text-muted); }
.stat-pct { color: var(--primary); font-family: var(--font-mono); font-size: 0.8rem; }
.bar-bg { background: rgba(255,255,255,0.05); height: 7px; border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--primary)); border-radius: 4px; }
.bar-fill.warning { background: linear-gradient(90deg, #f72585, #ff6b9d); }

/* MUNDO ZURY / CHILL */
.chill-section { }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.card-3d { height: 340px; perspective: 1000px; cursor: pointer; }
.card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.4,0,0.2,1); transform-style: preserve-3d; }
.card-3d:hover .card-inner { transform: rotateY(180deg); }
.card-front, .card-back {
    position: absolute; width: 100%; height: 100%; backface-visibility: hidden;
    border-radius: 15px; display: flex; flex-direction: column; align-items: center;
    justify-content: center; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.card-front { background: linear-gradient(145deg, rgba(20,20,35,0.95), rgba(5,5,17,0.98)); border: 1px solid rgba(255,255,255,0.06); }
.card-img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); margin-bottom: 1.2rem; box-shadow: 0 0 15px rgba(76,201,240,0.25); }
.card-front h3 { font-size: 1.1rem; color: var(--text-main); margin-bottom: 0.3rem; }
.card-front-sub { font-size: 0.78rem; color: var(--text-muted); font-family: var(--font-mono); }
.card-back { transform: rotateY(180deg); background: linear-gradient(145deg, rgba(67,97,238,0.3), rgba(5,5,17,0.98)); border: 1px solid rgba(76,201,240,0.2); text-align: center; }
.card-back-icon { font-size: 2.5rem !important; color: var(--primary); margin-bottom: 1rem; }
.card-back h3 { color: var(--primary); margin-bottom: 0.75rem; font-size: 1rem; }
.card-back p  { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.card-tag { font-size: 0.72rem; font-family: var(--font-mono); color: var(--accent); border: 1px solid rgba(247,37,133,0.3); padding: 0.2rem 0.6rem; border-radius: 4px; }
.card-link { color: var(--primary); text-decoration: none; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.3rem; border-bottom: 1px dashed var(--primary); padding-bottom: 1px; }
.card-link .material-icons { font-size: 0.9rem; }

/* GAME SECTION */
.game-section { background: linear-gradient(to bottom, var(--bg-dark), #0f0524); padding: 6rem 0; }
.arcade-cabinet { background: #12122a; padding: 2rem; border-radius: 20px 20px 0 0; border: 2px solid rgba(76,201,240,0.1); box-shadow: 0 0 60px rgba(76,201,240,0.05); max-width: 800px; margin: 0 auto; }
.cabinet-header { text-align: center; margin-bottom: 1rem; }
.cabinet-header h2 { color: var(--accent); display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 1.3rem; }
.cabinet-sub { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.3rem; }

.screen-wrapper { position: relative; border: 10px solid #050511; border-radius: 8px; background: #000; aspect-ratio: 16/9; overflow: hidden; }
.screen-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.08) 0px, rgba(0,0,0,0.08) 2px, transparent 2px, transparent 4px); pointer-events: none; z-index: 5; }
.start-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--accent); color: white; border: none; padding: 1rem 2rem;
    font-family: var(--font-mono); font-weight: bold; font-size: 1.1rem; cursor: pointer; z-index: 10;
    clip-path: polygon(8% 0, 100% 0, 100% 80%, 92% 100%, 0 100%, 0 20%);
    transition: 0.2s;
}
.start-btn:hover { background: #ff0a73; transform: translate(-50%, -55%); }
iframe#game-iframe { width: 100%; height: 100%; border: none; }

.cabinet-controls { margin-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.85rem; }
.music-player { display: flex; align-items: center; gap: 0.8rem; }
.music-label { font-family: var(--font-mono); font-size: 0.8rem; }
.visualizer { display: flex; gap: 3px; align-items: flex-end; height: 18px; }
.visualizer .bar { width: 4px; background: var(--primary); border-radius: 2px; animation: equalizer 1s infinite; opacity: 0.4; }
.visualizer .bar:nth-child(2) { animation-delay: 0.2s; }
.visualizer .bar:nth-child(3) { animation-delay: 0.4s; }
@keyframes equalizer { 0%,100% { height: 4px; } 50% { height: 18px; } }

/* CONTACT */
.contact-section { }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; margin-top: 1rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item .material-icons { color: var(--primary); font-size: 1.4rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-item small { display: block; font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.2rem; }
.contact-item a, .contact-item span { color: var(--text-main); text-decoration: none; font-size: 0.9rem; }
.contact-item a:hover { color: var(--primary); }

.contact-social { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact-social-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted); padding: 0.6rem 1.2rem; border-radius: 8px;
    text-decoration: none; font-size: 0.85rem; transition: var(--transition);
}
.contact-social-btn svg { width: 16px; height: 16px; }
.contact-social-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

.contact-form { padding: 2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea {
    width: 100%; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; padding: 0.75rem 1rem; color: var(--text-main);
    font-family: var(--font-main); font-size: 0.9rem; transition: 0.3s;
    outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: rgba(76,201,240,0.4); background: rgba(76,201,240,0.04); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(148,163,184,0.5); }
.btn-send {
    width: 100%; background: linear-gradient(45deg, var(--secondary), var(--primary));
    color: #fff; border: none; padding: 0.85rem; border-radius: 8px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition);
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(67,97,238,0.4); }
.form-note { text-align: center; font-size: 0.82rem; margin-top: 0.8rem; min-height: 1.2rem; }
.form-note.success { color: #27c93f; }
.form-note.error   { color: var(--accent); }

/* FOOTER */
.footer { padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.05); background: #02020a; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.footer-logo { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; }
.footer-logo .dot { color: var(--primary); }
.social-links { display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }

.social-link img { width: 40px; height: 40px; transition: var(--transition); filter: drop-shadow(0 0 2px rgba(255,255,255,0.2)); }
.social-link:hover img { transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 0 10px var(--primary)); }

.github-footer, .linkedin-footer, .instagram-footer, .youtube-footer, .twitch-footer {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: var(--transition);
}
.github-footer svg, .linkedin-footer svg,
.instagram-footer svg, .youtube-footer svg, .twitch-footer svg { width: 26px; height: 26px; }
.github-footer:hover    { color: var(--text-main);  transform: translateY(-6px) scale(1.1); }
.linkedin-footer:hover  { color: #0a66c2;            transform: translateY(-6px) scale(1.1); }
.instagram-footer:hover { color: #e1306c;            transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 0 8px #e1306c66); }
.youtube-footer:hover   { color: #ff0000;            transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 0 8px #ff000066); }
.twitch-footer:hover    { color: #9146ff;            transform: translateY(-6px) scale(1.1); filter: drop-shadow(0 0 8px #9146ff66); }

.copyright { color: var(--text-muted); font-size: 0.9rem; }
.credits { font-size: 0.78rem; color: #444; text-decoration: none; }
.credits:hover { color: var(--text-muted); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .about-grid    { grid-template-columns: 1fr; }
    .contact-grid  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .glitch-wrapper { font-size: 3rem; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero-btns { flex-direction: column; align-items: center; }
    .section-title { font-size: 2rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .screen-wrapper { aspect-ratio: unset; height: 70vh; border-width: 5px; }
    .social-link img { width: 32px; height: 32px; }
    .github-footer svg, .linkedin-footer svg { width: 22px; height: 22px; }
}
@media (min-width: 769px) { .menu-toggle { display: none; } }
