/* ===== CONFIGURA TU PC - DISEÑO PROFESIONAL ===== */

/* Variables CSS */
:root {
    --primary-color: #FFD700;
    --primary-dark: #E6C200;
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --border-light: #f1f3f4;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Contenedor principal */
.configurapc-page {
    min-height: 100vh;
    padding: 2rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header de la página */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header h1 i {
    margin-right: 1rem;
    font-size: 3rem;
}

.page-header p {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

/* Selección de plataforma */
.platform-selection {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.platform-selection h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    position: relative;
}

.platform-selection h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card {
    background: var(--white);
    border: 3px solid var(--border-light);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.platform-card:hover::before {
    opacity: 0.05;
}

.platform-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.platform-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(230, 194, 0, 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.platform-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin: 0 auto 1.5rem auto;
    position: relative;
    z-index: 1;
    transition: var(--transition);
    display: block;
}

.platform-card:hover .platform-logo {
    transform: scale(1.1);
}

.platform-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.platform-card p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.platform-card small {
    position: relative;
    z-index: 1;
}

.platform-card small a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.platform-card small a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Configurador */
.configurator {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-card);
}

/* Barra de progreso */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 6px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

/* Header del paso */
.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.step-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Contenedor de componentes */
#components-container {
    margin-bottom: 3rem;
}

/* Acordeón de componentes */
.components-accordion {
    margin-bottom: 2rem;
}

.accordion-section {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-section:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.accordion-section.expanded {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-card);
}

.accordion-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--white) 100%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-light);
}

.accordion-header:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
    transform: rotate(0deg);
}

.accordion-section.expanded .accordion-icon {
    transform: rotate(180deg);
}

.accordion-title h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.component-count {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.selected-count {
    background: var(--success-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.accordion-content {
    padding: 2rem;
    background: var(--white);
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* ===== CARRUSEL DE COMPONENTES ===== */

/* Contenedor del carrusel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Wrapper del carrusel */
.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
}

/* Carrusel de componentes */
.components-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    padding: 0.5rem;
}

/* Botones del carrusel */
.carousel-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow);
    z-index: 2;
}

.carousel-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-btn:disabled:hover {
    border-color: var(--border-color);
    background: var(--white);
    color: var(--text-color);
    transform: none;
    box-shadow: var(--shadow);
}

.carousel-btn i {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Indicadores del carrusel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive del carrusel */
@media (max-width: 768px) {
    .carousel-container {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn i {
        font-size: 1rem;
    }
    
    .components-carousel {
        gap: 1rem;
    }
    
    .carousel-indicators {
        gap: 0.3rem;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
    }
    
    .carousel-btn i {
        font-size: 0.9rem;
    }
    
    .components-carousel {
        gap: 0.8rem;
    }
}

/* Tarjeta de componente */
.component-card {
    min-width: 350px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.component-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: var(--transition);
}

.component-card:hover::before {
    transform: scaleX(1);
}

.component-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.component-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(230, 194, 0, 0.05) 100%);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

.component-card.selected::before {
    transform: scaleX(1);
}

.component-card.selected::after {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.component-image {
    text-align: center;
    margin-bottom: 1.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
}

.component-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.component-card:hover .component-image img {
    transform: scale(1.05);
}

.component-image i {
    font-size: 4rem;
    color: var(--text-lighter);
}

.component-info h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.component-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.component-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.spec-tag {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
}

.spec-tag.compatibility {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: white;
    border-color: var(--success-color);
}

.component-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.select-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.select-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.select-btn.selected {
    background: var(--success-color);
    color: white;
}

.select-btn.selected:hover {
    background: #229954;
    color: white;
}

/* Controles del carrusel */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.carousel-btn {
    background: var(--white);
    border: 2px solid var(--border-color);
    color: var(--text-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.2rem;
}

.carousel-btn:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Botones de navegación */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

.right-buttons {
    display: flex;
    gap: 1rem;
}

/* Botones */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-secondary:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

/* Resumen */
.summary {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-card);
}

.summary h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.summary h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
}

#selected-components-list {
    margin-bottom: 2rem;
}

.selected-component {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.selected-component:hover {
    background: var(--border-light);
    transform: translateX(5px);
}

.component-info h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.component-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.component-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.component-price span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.remove-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.8rem;
}

.remove-btn:hover {
    background: #c0392b;
    transform: scale(1.1);
}

.summary-totals {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    border-bottom: 1px solid var(--border-light);
}

.total-item:last-child {
    border-bottom: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    padding-top: 1.5rem;
    border-top: 2px solid var(--primary-color);
}

.summary-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Estados de carga y error */
.loading, .error, .no-components {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.loading i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: spin 1s linear infinite;
}

.error i, .no-components i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.loading p, .error p, .no-components p {
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notificaciones */
.notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-hover);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(400px);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left-color: var(--success-color);
}

.notification-error {
    border-left-color: var(--accent-color);
}

.notification-info {
    border-left-color: var(--warning-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .platform-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 2rem auto 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 i {
        font-size: 2.5rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .platform-selection,
    .configurator,
    .summary {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .platform-selection h2,
    .step-header h2,
    .summary h2 {
        font-size: 2rem;
    }
    
    .component-card {
        min-width: 280px;
        padding: 1.5rem;
    }
    
    .components-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .accordion-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .accordion-title {
        width: 100%;
        justify-content: space-between;
    }
    
    .accordion-title h3 {
        font-size: 1.1rem;
    }
    
    .accordion-content {
        padding: 1.5rem;
    }
    
    .navigation-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .right-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .summary-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header h1 i {
        font-size: 2rem;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .platform-logo {
        width: 80px;
        height: 80px;
    }
    
    .platform-card h3 {
        font-size: 1.5rem;
    }
    
    .component-card {
        min-width: 250px;
        padding: 1rem;
    }
    
    .component-image {
        height: 150px;
    }
    
    .component-info h5 {
        font-size: 1.1rem;
    }
    
    .price {
        font-size: 1.3rem;
    }
    
    .select-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.component-card {
    animation: fadeInUp 0.6s ease-out;
}

.component-card:nth-child(2) {
    animation-delay: 0.1s;
}

.component-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Efectos de hover mejorados */
.platform-card:hover .platform-logo {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

