:root {
    --bg: #0a0a0a;
    --card-bg: #111111;
    --text: #e0e0e0;
    --text-dim: #888888;
    --accent-primary: #39ff14;
    --accent-secondary: #00d4ff;
    --accent-tertiary: #ff00ff;
    --border: #222;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

/* Efecto gradiente de fondo */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(57, 255, 20, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 255, 0.03) 0%, transparent 50%);
    animation: gradientMove 20s ease infinite;
    z-index: -1;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10%, -10%); }
}

.container {
    max-width: 680px;
    width: 100%;
    position: relative;
    z-index: 1;
}

a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-secondary);
    transition: all 0.2s;
}

a:hover {
    color: var(--accent-secondary);
    box-shadow: 0 2px 0 var(--accent-secondary);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 0.8s ease-out;
}

.avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    box-shadow: 
        0 0 20px rgba(57, 255, 20, 0.4),
        0 0 40px rgba(57, 255, 20, 0.2);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(57, 255, 20, 0.4),
            0 0 40px rgba(57, 255, 20, 0.2);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(57, 255, 20, 0.6),
            0 0 60px rgba(57, 255, 20, 0.3);
    }
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg);
    box-shadow: 0 0 10px var(--accent-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

h1 {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.accent {
    color: var(--accent-secondary);
}

.subtitle {
    color: var(--text-dim);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--accent-secondary);
}

.tag-new {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    animation: pulse 2s infinite;
}

/* Main Content */
.intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.intro strong {
    color: var(--accent-primary);
}

.quote {
    margin-top: 1.5rem;
    font-family: var(--font-mono);
    color: var(--accent-primary);
    font-size: 1rem;
    border-left: 2px solid var(--accent-primary);
    display: inline-block;
    padding-left: 1rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

/* Stats Grid */
.grid-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.2rem 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(57, 255, 20, 0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    box-shadow: 
        0 4px 15px rgba(57, 255, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-card .number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.stat-card .label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.grid-sections {
    display: grid;
    gap: 1.5rem;
}

.card {
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    transition: all 0.3s;
}

.card:hover {
    border-color: rgba(57, 255, 20, 0.4);
    box-shadow: 
        0 4px 20px rgba(57, 255, 20, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-primary {
    background: rgba(57, 255, 20, 0.05);
    border: 2px solid var(--accent-primary);
    padding: 2rem 1.5rem;
}

.card-primary h2 {
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.card-primary .card-desc {
    margin-bottom: 1.5rem;
}

.card-newsletter {
    background: rgba(0, 212, 255, 0.05);
    border: 2px solid var(--accent-secondary);
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
}

.icon {
    font-size: 1.4rem;
}

.card-desc {
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Button Center Container */
.btn-center {
    text-align: center;
    margin-top: 1.5rem;
}

/* Primary Button */
.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg);
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.3);
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(57, 255, 20, 0.5),
        0 0 30px rgba(57, 255, 20, 0.3);
    color: var(--bg);
}

/* Secondary Button */
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-secondary);
    color: var(--bg);
    font-weight: 600;
    border-radius: 8px;
    border: none;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(57, 255, 20, 0.5),
        0 0 30px rgba(57, 255, 20, 0.3);
    color: var(--bg);
}

/* Newsletter Form */
.newsletter-form-inline {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.newsletter-form-inline input[type="email"] {
    flex: 1;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.newsletter-form-inline input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.newsletter-form-inline input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-form-inline button {
    padding: 0.8rem 1.5rem;
    background: var(--accent-secondary);
    border: none;
    border-radius: 8px;
    color: var(--bg);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-form-inline button:hover {
    background: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
}

.newsletter-form-inline button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 0.8rem;
    font-size: 0.85rem;
    display: none;
    font-weight: 500;
}

.form-message.success {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.form-message.error {
    color: var(--accent-tertiary);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

/* Links Grid (Mobile-Friendly) */
.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s;
    min-height: 120px;
    cursor: pointer;
}

.link-card:hover {
    background: rgba(57, 255, 20, 0.1);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(57, 255, 20, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.link-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.3));
}

.link-label {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.3rem;
}

.link-desc {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-align: center;
    line-height: 1.3;
    display: block;
}

.link-card:hover .link-label {
    color: var(--accent-primary);
}

.link-card:hover .link-desc {
    color: var(--accent-secondary);
}

/* Footer */
footer {
    margin-top: 4rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

footer a {
    border-bottom: 1px solid rgba(57, 255, 20, 0.3);
    color: var(--accent-primary);
}

footer a:hover {
    color: var(--accent-primary);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

.faint {
    opacity: 0.5;
    margin-top: 0.5rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
    .grid-stats {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .tags {
        font-size: 0.7rem;
    }
    
    .newsletter-form-inline {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    /* Links grid mobile optimization */
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .link-card {
        min-height: 130px;
        padding: 1rem 0.6rem;
    }
    
    .link-icon {
        font-size: 2rem;
        margin-bottom: 0.4rem;
    }
    
    .link-label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .link-desc {
        font-size: 0.7rem;
    }
}
