* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1b1b33 0%, #191a29 50%, #1e2938 100%);
    z-index: -2;
    overflow: hidden;
}

.section#home:before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%),
        radial-gradient(circle, rgba(156,119,255,0.15) 0%, rgba(156,119,255,0) 50%),
        radial-gradient(circle, rgba(0,122,204,0.15) 0%, rgba(0,122,204,0) 50%);
    z-index: -1;
    pointer-events: none;
    animation: starsTwinkle 25s linear infinite;
}

.section#home.active:before {
    opacity: 1;
}

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

@keyframes starsTwinkle {
    0%, 100% { opacity: 0.9; transform: translate(0,0) scale(1); }
    25% { opacity: 0.7; transform: translate(20px, 10px) scale(1.05); }
    50% { opacity: 0.85; transform: translate(50px,30px) scale(0.95); }
    75% { opacity: 0.8; transform: translate(-20px,-15px) scale(1.1); }
}

.particles .particle {
    background-color: rgba(255,255,255,0.4);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: floatParticle 60s linear infinite;
}

@keyframes floatParticle {
    0% { transform: translate(0,0); opacity: 0.5; }
    50% { transform: translate(200px,-100px) scale(1.2); opacity: 0.8; }
    100% { transform: translate(-100px,200px) scale(0.9); opacity: 0.5; }
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#particles .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
#particles, #particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1b1b33 0%, #191a29 50%, #1e2938 100%);
    z-index: -2;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: floatParticle var(--duration) ease-in-out infinite;
    opacity: 0;
    z-index: -1;
}

.container {
    max-width: 1200px;
    width: 90%;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    overflow: hidden;
    position: relative;
}

.section {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    padding: 1rem;
}

.section.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.about-card {
    overflow-y: auto;
    padding-bottom: 2rem;
}

.info-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.info-card {
    flex: 1;
    min-width: 280px;
    background-color: rgba(40, 44, 63, 0.6);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card-header i {
    font-size: 1.5rem;
    color: #9c77ff;
    margin-right: 1rem;
}

.info-card-header h3 {
    margin: 0;
    font-weight: 600;
    color: #fff;
}

.info-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.info-label {
    font-weight: bold;
    min-width: 120px;
    color: rgba(255, 255, 255, 0.8);
}

.info-value {
    color: #9c77ff;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem; 
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-pill {
    display: flex;
    align-items: center;
    background-color: rgba(156, 119, 255, 0.1);
    border: 1px solid rgba(156, 119, 255, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    color: #9c77ff;
}

.skill-pill:hover {
    background-color: rgba(156, 119, 255, 0.2);
    transform: translateY(-2px);
}

.skill-pill i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: #9c77ff;
}

.skill-pill span {
    font-size: 0.9rem;
}

.skill-pill .os-logo {
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.5rem;
    vertical-align: -0.1rem;
    color: #9c77ff !important;
    transition: transform 0.3s ease;
}

.skill-pill:hover .os-logo {
    transform: scale(1.15);
}

.skill-pill.minecraft i {
    color: #4CAF50;
}

.about-text {
    margin: 1.5rem 0;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1rem;
}

.minecraft-skills {
    margin-top: 1.5rem;
}

.minecraft-skills h3 {
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.minecraft-skills h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #4CAF50 0%, rgba(76, 175, 80, 0) 100%);
    border-radius: 2px;
}

.mc-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.mc-skill {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.8rem;
}

.mc-skill-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.mc-skill-icon i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.mc-skill-info {
    flex-grow: 1;
}

.mc-skill-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .info-cards-container {
        flex-direction: column;
    }
    
    .info-item {
        flex-direction: column;
    }
    
    .info-label {
        margin-bottom: 0.3rem;
    }
    
    .mc-skills-container {
        flex-direction: column;
    }
}

.card {
    background-color: rgba(30, 33, 48, 0.85);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 85vh;
}

.card.show {
    opacity: 1;
    transform: translateY(0);
}

.hero-card {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 400px;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo-img {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #9c77ff 0%, rgba(156, 119, 255, 0) 100%);
    border-radius: 2px;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.role, .cta {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.highlight {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.highlight.red,
.highlight.red:visited,
.highlight.red:active,
.highlight.red:hover {
    color: #fff;
    background-color: #dc3545;
    text-decoration: none;
    cursor: pointer;
}

.green {
    background-color: #28a745;
}

.purple {
    background-color: #9c77ff;
}

.orange {
    background-color: #fd7e14;
}

.red {
    background-color: #dc3545;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.skill-category {
    flex: 1;
    min-width: 250px;
}

.skill-category ul {
    list-style-type: none;
}

.skill-category li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.skill-category li::before {
    content: '▹';
    color: #9c77ff;
    position: absolute;
    left: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.project-card {
    background-color: rgba(40, 44, 63, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(30,33,48,0.9));
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-img {
    transform: scale(1.08) rotate(1deg);
}

.project-card:hover .project-overlay {
    opacity: 0.4;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fff;
}

.github-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* espacio entre icono y texto */
    margin-top: 20px;
    padding: 10px 20px;
    background: linear-gradient(145deg, #24292f, #2c3036); /* degradado sutil */
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.github-btn:hover {
    background: linear-gradient(145deg, #3c4147, #484e57);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.github-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

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

.tech-stack span {
    display: inline-block;
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.2), rgba(120, 100, 230, 0.2));
    color: #9c77ff;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-right: 0.4rem;
    margin-bottom: 0.4rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: background 0.3s ease, box-shadow 0.3s ease; /* solo transiciones de color y sombra */
}

.tech-stack span:hover {
    background: linear-gradient(135deg, rgba(156, 119, 255, 0.35), rgba(120, 100, 230, 0.35));
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* la misma sombra, sin elevación */
    cursor: default;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
}

.project-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #9c77ff;
    transition: width 0.3s ease;
}

.project-links a:hover::after {
    width: 100%;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
}

.contact-link i {
    font-size: 1.2rem;
    color: #9c77ff;
}

.x-logo {
    width: 16px;
    height: 16px;
    margin-left: 2px;
    filter: brightness(0) saturate(100%) invert(65%) sepia(58%) saturate(5312%) hue-rotate(225deg) brightness(87%) contrast(93%);
}

.x-logo-nav {
    width: 20px;
    height: 20px;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    background-color: rgba(30, 33, 48, 0.85);
    padding: 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: floatAnimation 3s ease-in-out infinite;
}

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

.icon-button {
    position: relative;
    width: 50px;
    height: 50px;
    text-decoration: none;
    transition: transform 0.3s ease;
    overflow: visible;
}

.icon-container {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(40, 44, 63, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.icon-button.active .icon-container {
    background-color: rgba(156, 119, 255, 0.3);
    box-shadow: 0 0 15px rgba(156, 119, 255, 0.6);
    border-color: rgba(156, 119, 255, 0.8);
    transform: scale(1.1);
}

.icon-button:hover .icon-container {
    background-color: rgba(156, 119, 255, 0.2);
    transform: translateY(-5px);
}

.icon-button i {
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.icon-button:hover i {
    transform: scale(1.2);
}

.icon-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: rgba(30, 33, 48, 0.95);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-tooltip:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(30, 33, 48, 0.95) transparent transparent transparent;
}

.icon-button:hover .icon-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(15);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .skills {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-card {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    .container {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        padding: 0;
        margin: 0;
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    .card {
        padding: 1rem 0.5rem;
        max-width: 100vw;
        width: 100vw;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        max-height: 90vh;
    }
    .about-card {
        padding-bottom: 1rem;
    }
    .info-cards-container {
        gap: 0.7rem;
        margin: 1rem 0;
    }
    .info-card {
        padding: 1rem 0.5rem;
        min-width: unset;
    }
    .skills-grid {
        gap: 0.4rem;
    }
    .skill-pill {
        padding: 0.3rem 0.7rem;
        font-size: 0.85rem;
    }
    .about-text {
        margin: 1rem 0;
    }
    .minecraft-skills {
        margin-top: 1rem;
    }
    .mc-skills-container {
        gap: 0.7rem;
        margin-top: 1rem;
    }
    .mc-skill {
        margin-bottom: 0.5rem;
    }
    .project-image {
        height: 140px;
    }
    .projects-grid {
        gap: 0.7rem;
        margin-top: 0.5rem;
    }
    .project-card {
        padding: 1rem 0.5rem;
    }
    .contact-links {
        gap: 0.7rem;
        margin-top: 1rem;
    }
    .contact-link {
        gap: 0.7rem;
        padding: 0.3rem;
    }
    .icon-tooltip {
        font-size: 0.7rem;
        padding: 3px 7px;
    }
    footer {
        padding: 0.3rem;
    }
    .social-icons {
        padding: 0.3rem;
        gap: 0.4rem;
    }
    .icon-button {
        width: 32px;
        height: 32px;
    }
    .icon-container {
        font-size: 1rem;
    }
    h1 {
        font-size: 1.3rem;
        gap: 0.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    .logo-img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 375px) {
    .container, .card {
        padding: 0.2rem 0.1rem;
    }
    .project-image {
        height: 100px;
    }
    .logo-img {
        width: 18px;
        height: 18px;
    }
}

.hero-card h1,
.hero-card .subtitle,
.hero-card .role,
.hero-card .cta {
user-select: none;
}

.web-skills {
    margin-top: 1.5rem;
}

.web-skills h3 {
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.web-skills h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #007acc 0%, rgba(0, 122, 204, 0) 100%);
    border-radius: 2px;
}

.web-skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.web-skill {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 0.8rem;
}

.web-skill-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 122, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.web-skill-icon i {
    color: #007acc;
    font-size: 1.2rem;
}

.web-skill-info {
    flex-grow: 1;
}

.web-skill-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 500;
}

.web-skill .skill-bar {
    width: 100%;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.web-skill .skill-progress {
    height: 100%;
    background: linear-gradient(90deg, #007acc, #00a2ff);
    border-radius: 3px;
}

@media (max-width: 768px) {
    .web-skills-container {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .web-skills {
        margin-top: 1rem;
    }
    
    .web-skills-container {
        gap: 0.7rem;
        margin-top: 1rem;
    }
    
    .web-skill {
        margin-bottom: 0.5rem;
    }
}

.ip-tooltip {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    opacity: 0.95;
    pointer-events: none;
    animation: fadeOutTooltip 1.5s forwards;
}

@keyframes fadeOutTooltip {
    0% { opacity: 0.95; }
    80% { opacity: 0.95; }
    100% { opacity: 0; }
}

/* --- ESTILOS PARA LA PUTA SECCIÓN DE DONACIONES --- */
.donation-container {
    margin-top: 2rem;
    text-align: center;
}

.donation-presets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.donation-button {
    background-color: rgba(156, 119, 255, 0.1);
    border: 1px solid rgba(156, 119, 255, 0.5);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donation-button:hover {
    background-color: rgba(156, 119, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(156, 119, 255, 0.2);
}

.custom-donation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.custom-donation input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    width: 120px;
    text-align: center;
    font-size: 1rem;
}

.custom-donation input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.custom-donation button {
    background-color: #28a745;
    border: none;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.custom-donation button:hover {
    background-color: #218838;
}
::-webkit-scrollbar {
  width: 8px; /* ancho */
}

::-webkit-scrollbar-thumb {
  background: #6c63ff; /* color de la barra */
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Sección principal */
.section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

/* Tarjeta */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease forwards;
}



/* Animación entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  .role {
    font-size: 1.2rem;
  }
  .hero-card {
    padding: 2rem;
  }
}
/* ====== CONTENEDORES ====== */
#about {
  padding: 4rem 2rem;
  color: #fff;
}

#about h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(90deg, #ff512f, #dd2476);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====== TECNOLOGÍAS EN HORIZONTAL ====== */
.skills-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;              /* Firefox */
  scrollbar-color: #ff6b6b transparent;
}

.skills-grid::-webkit-scrollbar {
  height: 6px;
}

.skills-grid::-webkit-scrollbar-track {
  background: transparent;
}

.skills-grid::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #ff512f, #dd2476);
  border-radius: 10px;
}

/* ====== SKILL PILL (CÁPSULAS) ====== */
.skill-pill {
  flex: 0 0 auto; /* Evita que se reduzcan */
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.skill-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}