:root {
    --bg-color: #000000;
    --accent-color: #FFD700; /* Tu amarillo */
    --text-color: #ffffff;
    --border: #222222;
}

* { box-sizing: border-box; }

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Inter', sans-serif;
    background:
      radial-gradient(800px 300px at 10% 80px, rgba(255, 215, 0, 0.14), transparent 60%),
      radial-gradient(700px 280px at 90% 120px, rgba(255, 255, 255, 0.08), transparent 60%),
      var(--bg-color);
    background-repeat: no-repeat;
    color: var(--text-color);
    margin: 0;
}

.container {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 15px 40px;
}

/* --- MENÚ --- */
nav {
    position: fixed;
    top: 20px;
    z-index: 100;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

.menu {
    list-style: none;
    width: max-content;
    min-height: 42px;
    padding: 8px 20px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    border: 1px solid var(--border);
}

.menu li a {
    color: var(--text-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 28px;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 9999px;
    transition: 0.3s ease;
    opacity: 0.6;
}

.menu li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.menu li a.active {
    opacity: 1;
    color: #000000;
    background: var(--accent-color);
}

/* --- ENCABEZADO --- */
.header-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    text-align: left;
}

.profile-img {
    width: 100px;
    height: 100px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2rem;
    color: #000;
    border: 3px solid #111;
    flex-shrink: 0;
}

.header-info h1 { font-size: 1.6rem; margin: 0 0 5px 0; letter-spacing: -0.5px; }

.tagline { 
    color: var(--accent-color); 
    font-family: 'Fira Code', monospace; 
    font-size: 0.8rem; 
    margin-bottom: 12px; 
    text-transform: uppercase;
    font-weight: bold;
}

.social-links { display: flex; justify-content: flex-start; gap: 18px; }
.social-links a {
    color: var(--text-color);
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.2s;
    opacity: 0.8;
}
.social-links a:hover { color: var(--accent-color); transform: translateY(-2px); opacity: 1; }

.about-me {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 35px;
    text-align: left;
}

/* --- TARJETAS --- */
.card {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    text-align: left;
}

.card h2 { margin-top: 0; color: var(--accent-color); font-size: 1.1rem; }
.card p { font-size: 0.9rem; opacity: 0.6; line-height: 1.5; }

/* FORMULARIO Y BOTONES */
.newsletter-form { display: flex; flex-direction: column; gap: 12px; margin-top: 15px; }
.newsletter-form input {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* BOTONES AMARILLOS (CTA) */
.btn-primary {
    display: block;
    width: 100%;
    background: var(--accent-color); 
    color: black;
    text-decoration: none;
    text-align: center;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover { 
    transform: scale(1.01);
    background: #e6c200;
}

.btn-primary:disabled,
.btn-primary.is-loading {
    cursor: wait;
    opacity: 0.75;
    transform: none;
    background: #d6b400;
}

.footer { text-align: center; margin-top: 50px; font-size: 0.75rem; opacity: 0.3; }

.about-me {
    text-align: justify;
  }
