/* ==========================================================================
   PORTAFOLIO DE LUIS DANIEL - ESTILOS PRINCIPALES
   ========================================================================== */

/* Variables del Sistema de Diseño */
:root {
    --bg-dark: #0a0d16;
    --bg-card: rgba(17, 24, 39, 0.55);
    --bg-card-hover: rgba(22, 32, 51, 0.75);
    
    /* Acentos Temáticos */
    --accent-emerald: #10b981;      /* Esmeralda / Minecraft Grass */
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
    --accent-purple: #8b5cf6;       /* Amatista / Portal */
    --accent-purple-glow: rgba(139, 92, 246, 0.25);
    --accent-cyan: #06b6d4;         /* Diamante */
    --accent-cyan-glow: rgba(6, 182, 212, 0.25);
    
    /* Colores de Texto */
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    /* Fuentes */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-code: 'Fira Code', monospace;
    
    /* Bordes y Sombras */
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-active: rgba(16, 185, 129, 0.3);
    --glow-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-emerald: 0 0 20px 0 rgba(16, 185, 129, 0.2);
    
    /* Transiciones */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

/* Contenedores y Estructura */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1f293d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-emerald);
}

/* Tipografías e Hitos */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

.highlight {
    color: var(--accent-emerald);
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-emerald), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Efecto Glassmorphism */
.card-glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    box-shadow: var(--glow-shadow);
    transition: transform var(--transition-smooth), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-smooth);
}

.card-glass:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background-color: var(--accent-emerald);
    color: var(--bg-dark);
    border: none;
    box-shadow: var(--glow-emerald);
}

.btn-primary:hover {
    background-color: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 0 25px 0 rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background-color: var(--accent-purple);
    color: var(--text-primary);
    border: none;
}

.btn-secondary:hover {
    background-color: #a78bfa;
    transform: translateY(-2px);
    box-shadow: 0 0 20px 0 rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* Fondo Canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

/* ==========================================================================
   Header y Menú
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-display);
    letter-spacing: 1px;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 500;
    transition: color var(--transition-fast);
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-emerald);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding-top: 160px;
    padding-bottom: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.badge-gaming {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-emerald);
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px 2px var(--accent-emerald);
    animation: pulse 1.5s infinite;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1.15rem;
    max-width: 580px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-emerald);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 35px;
    background-color: var(--border-glass);
}

/* Simulación Consola Server */
.hero-visual {
    display: flex;
    justify-content: center;
}

.console-box {
    width: 100%;
    max-width: 440px;
    background: #06080d;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.console-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #0c0f17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.console-title {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 8px;
}

.console-body {
    padding: 20px;
    font-family: var(--font-code);
    font-size: 0.8rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
}

.console-line {
    color: #e5e7eb;
    word-break: break-all;
}

.c-gray { color: #6b7280; }
.c-green { color: #10b981; }
.c-cyan { color: #06b6d4; }
.c-purple { color: #a78bfa; }
.c-yellow { color: #fbbf24; }

.blinking-cursor {
    color: var(--accent-emerald);
}

.blinking-cursor::after {
    content: "█";
    animation: blink 1s step-end infinite;
}

/* ==========================================================================
   Secciones Títulos
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent-emerald);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Sección Sobre Mí
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
}

.about-info, .skills-card {
    padding: 40px;
}

.about-info h3, .skills-card h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.about-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald);
    font-weight: bold;
    font-size: 0.75rem;
}

/* Habilidades */
.skills-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.skill-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.skill-name {
    color: var(--text-primary);
}

.skill-percent {
    color: var(--accent-emerald);
    font-family: var(--font-code);
}

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

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Sección Servicios
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: background-color var(--transition-fast);
}

.service-card:hover::before {
    background: linear-gradient(90deg, var(--accent-emerald), var(--accent-cyan));
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-bottom: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    transition: all var(--transition-fast);
}

.plugin-icon { color: var(--accent-emerald); }
.mod-icon { color: var(--accent-purple); }
.launcher-icon { color: var(--accent-cyan); }

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 0.85rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet {
    color: var(--accent-emerald);
}

.service-card:nth-child(2) .bullet { color: var(--accent-purple); }
.service-card:nth-child(3) .bullet { color: var(--accent-cyan); }

/* ==========================================================================
   Sección Portafolio
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    color: var(--text-muted);
    font-family: var(--font-display);
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--accent-emerald);
    color: var(--bg-dark);
    border-color: var(--accent-emerald);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.portfolio-visual {
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #0f1320;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-glass);
}

/* Background patterns para mockups sin imágenes */
.plugin-visual {
    background: radial-gradient(circle at 30% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%), #0f1320;
}
.mod-visual {
    background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%), #0f1320;
}
.launcher-visual {
    background: radial-gradient(circle at 30% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%), #0f1320;
}

.tech-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(10, 13, 22, 0.85);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.visual-placeholder {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    opacity: 0.7;
}

.portfolio-item:nth-child(1) .visual-placeholder { color: var(--accent-emerald); }
.portfolio-item:nth-child(2) .visual-placeholder { color: var(--accent-purple); }
.portfolio-item:nth-child(3) .visual-placeholder { color: var(--accent-cyan); }
.portfolio-item:nth-child(4) .visual-placeholder { color: var(--accent-emerald); }
.portfolio-item:nth-child(5) .visual-placeholder { color: var(--accent-purple); }
.portfolio-item:nth-child(6) .visual-placeholder { color: var(--accent-cyan); }

.portfolio-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-info h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.portfolio-desc {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.portfolio-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.portfolio-specs span {
    font-family: var(--font-code);
    font-size: 0.7rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--text-muted);
}

/* ==========================================================================
   Sección Calculadora Presupuesto
   ========================================================================== */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    padding: 40px;
}

.calculator-options {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.group-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Tarjetas Radio de Tipo de Proyecto */
.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-card-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all var(--transition-fast);
    height: 100%;
}

.radio-icon {
    font-size: 1.5rem;
}

.radio-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.radio-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.radio-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.radio-card input[type="radio"]:checked + .radio-card-content,
.radio-card.active .radio-card-content {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

/* Selector de Tamaño / Complejidad */
.size-selector {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size-option {
    cursor: pointer;
}

.size-option input[type="radio"] {
    display: none;
}

.size-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.size-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.size-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    max-width: 60%;
}

.size-option input[type="radio"]:checked + .size-content,
.size-option.active .size-content {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--accent-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

/* Extras Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.check-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.check-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.check-box {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all var(--transition-fast);
}

.check-option input[type="checkbox"]:checked ~ .check-box {
    background: var(--accent-emerald);
    border-color: var(--accent-emerald);
}

.check-option input[type="checkbox"]:checked ~ .check-box::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.check-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.check-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.check-option:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.check-option.active, .check-option input[type="checkbox"]:checked + .check-box + .check-content {
    /* Just styling parent card via js */
}

/* Resultado del Calculador */
.calculator-result {
    display: flex;
    flex-direction: column;
}

.result-box {
    padding: 36px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.result-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 8px;
}

.price-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--accent-emerald);
    margin-bottom: 12px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 8px;
}

.price-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.price-disclaimer {
    font-size: 0.75rem;
    margin-bottom: 28px;
    max-width: 280px;
}

.order-summary {
    width: 100%;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px;
}

.order-summary h5 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.summary-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.summary-details p {
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
}

.summary-details span {
    font-weight: 600;
    color: var(--text-primary);
}

.copy-box {
    width: 100%;
    position: relative;
    margin-bottom: 16px;
}

.copy-box textarea {
    width: 100%;
    height: 80px;
    background: #080b12;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 10px;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-muted);
    resize: none;
    outline: none;
    padding-bottom: 30px;
}

.copy-box .btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 4px 10px;
    font-size: 0.75rem;
}

/* ==========================================================================
   Sección Fiverr Gigs
   ========================================================================== */
.gigs-section {
    padding-top: 40px;
    padding-bottom: 100px;
}

.gigs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gig-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--transition-smooth);
}

.gig-header {
    margin-bottom: 16px;
}

.gig-category {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--accent-emerald);
    font-weight: 600;
    letter-spacing: 1px;
}

.gig-card:nth-child(2) .gig-category { color: var(--accent-purple); }
.gig-card:nth-child(3) .gig-category { color: var(--accent-cyan); }

.gig-card h3 {
    font-size: 1.35rem;
    margin-top: 4px;
}

.gig-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
    flex-grow: 1;
}

.gig-price {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.gig-price .from {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.gig-price .price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.gig-card:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   Footer y Contacto
   ========================================================================== */
.main-footer {
    background: #06080d;
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 30px 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    max-width: 320px;
}

.footer-links h5, .footer-contact h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-emerald);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-fiverr-link {
    display: inline-flex;
    align-items: center;
    background: #1dbf73;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 16px;
    transition: opacity var(--transition-fast);
}

.footer-fiverr-link:hover {
    opacity: 0.9;
}

.discord-tag {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.discord-tag span {
    color: var(--text-primary);
    font-weight: 600;
    font-family: var(--font-code);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animaciones Keyframes
   ========================================================================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 10px 2px var(--accent-emerald);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 16px 4px var(--accent-emerald);
    }
}

@keyframes blink {
    from, to { color: transparent; }
    50% { color: var(--accent-emerald); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-desc {
        margin: 0 auto 36px auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .gigs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #0a0d16;
        padding: 40px;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid var(--border-glass);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .services-grid, .portfolio-grid, .gigs-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-cards {
        grid-template-columns: 1fr;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}
