/* GoFix — Página Modificación Nintendo Switch */

.page-nintendo-switch .section-title {
    margin-bottom: 2rem;
}

.ns-hero {
    position: relative;
    padding: 7rem 2rem 4rem;
    z-index: 1;
}

.ns-hero-content {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.ns-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.ns-hero-title .accent {
    color: var(--accent);
}

.ns-hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.ns-config {
    position: relative;
    padding: 2rem;
    z-index: 1;
}

.ns-config-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ns-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text);
}

.ns-step {
    margin-bottom: 2.5rem;
}

.ns-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.ns-step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Ocultar círculos de radio en todos los selects */
.ns-modelo-card input,
.ns-microsd-opt input,
.ns-envio-opt input {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
}

/* Modelos */
.ns-modelos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.ns-modelo-card {
    position: relative;
    cursor: pointer;
}

.ns-modelo-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.25s ease;
}

.ns-modelo-card:hover:not(.ns-modelo-card--disabled) .ns-modelo-inner {
    border-color: rgba(0, 162, 201, 0.5);
    box-shadow: 0 0 20px rgba(0, 162, 201, 0.2);
}

.ns-modelo-card input:checked + .ns-modelo-inner {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 162, 201, 0.2) 0%, rgba(0, 162, 201, 0.08) 100%);
    box-shadow: 0 0 28px rgba(0, 162, 201, 0.25), inset 0 0 0 1px rgba(0, 162, 201, 0.15);
}

.ns-modelo-card--disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.ns-modelo-card--disabled .ns-modelo-inner {
    border-style: dashed;
}

.ns-modelo-icon {
    width: 48px;
    height: 24px;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.ns-modelo-icon svg {
    width: 100%;
    height: 100%;
}

.ns-modelo-card input:checked + .ns-modelo-inner .ns-modelo-icon {
    color: var(--accent);
}

.ns-modelo-card:hover:not(.ns-modelo-card--disabled) .ns-modelo-icon {
    color: rgba(0, 162, 201, 0.8);
}

.ns-modelo-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.ns-modelo-precio {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
}

.ns-consultar-precio {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.ns-consultar-precio:hover {
    text-decoration: underline;
}

.ns-modelo-badge {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
}

/* MicroSD */
.ns-microsd {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ns-microsd-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.ns-microsd-opt:hover {
    border-color: rgba(0, 162, 201, 0.5);
}

.ns-microsd-opt:has(input:checked) {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 162, 201, 0.18) 0%, rgba(0, 162, 201, 0.06) 100%);
    box-shadow: 0 0 16px rgba(0, 162, 201, 0.2);
}

.ns-microsd-opt:has(input:checked) .ns-opt-text {
    color: var(--text);
}

.ns-microsd-opt:has(input:checked) strong {
    color: var(--accent);
}

.ns-juegos-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Envío */
.ns-envio-opciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ns-envio-opt {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.ns-envio-opt:hover {
    border-color: rgba(0, 162, 201, 0.5);
}

.ns-envio-opt:has(input:checked) {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(0, 162, 201, 0.18) 0%, rgba(0, 162, 201, 0.06) 100%);
    box-shadow: 0 0 16px rgba(0, 162, 201, 0.2);
}

.ns-envio-opt:has(input:checked) .ns-opt-text strong {
    color: var(--accent);
}

/* Resumen */
.ns-resumen {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 162, 201, 0.15) 0%, var(--bg-card) 100%);
    border: 1px solid rgba(0, 162, 201, 0.3);
    border-radius: 12px;
}

.ns-resumen-lineas {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ns-resumen-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.25rem;
}

.ns-resumen-total strong {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Incluido */
.ns-incluido {
    margin: 2rem 0;
    padding: 1.25rem;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ns-incluido h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.ns-incluido ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ns-incluido li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.ns-incluido li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* Promoción trae a un amigo */
.ns-promo {
    position: relative;
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(0, 162, 201, 0.2) 0%, rgba(0, 162, 201, 0.06) 100%);
    border: 2px solid rgba(0, 162, 201, 0.4);
    border-radius: 12px;
    box-shadow: 0 0 24px rgba(0, 162, 201, 0.15);
}

.ns-promo-badge {
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--bg-dark);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.ns-promo-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
}

.ns-promo-text strong {
    color: var(--accent);
}

/* Form */
.ns-form {
    margin-top: 2rem;
}

.ns-form .form-field {
    position: relative;
}

.ns-form .form-field input,
.ns-form .form-field textarea {
    width: 100%;
    padding: 1rem 0 0.5rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: all 0.15s ease;
}

.ns-form .form-field input:focus,
.ns-form .form-field textarea:focus {
    outline: none;
    border-color: transparent;
}

.ns-form .form-field label {
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.15s ease;
}

.ns-form .form-field input:focus ~ label,
.ns-form .form-field input:not(:placeholder-shown) ~ label,
.ns-form .form-field textarea:focus ~ label,
.ns-form .form-field textarea:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.75rem;
    color: var(--accent);
}

.ns-form .form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.15s ease;
}

.ns-form .form-field input:focus ~ .form-line,
.ns-form .form-field textarea:focus ~ .form-line {
    width: 100%;
}

.ns-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.ns-form .form-field--full {
    grid-column: 1 / -1;
}

.ns-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ns-cta {
    text-align: center;
    padding: 2rem;
}

.ns-cta .cta-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ns-cta .cta-secondary:hover {
    background: var(--accent);
    color: #0f1216;
    box-shadow: 0 0 30px var(--accent-glow);
}

@media (max-width: 768px) {
    .ns-hero {
        padding: 5rem 1.25rem 3rem;
    }

    .ns-modelos {
        grid-template-columns: 1fr 1fr;
    }

    .ns-form-grid {
        grid-template-columns: 1fr;
    }

    .ns-microsd,
    .ns-envio-opciones {
        flex-direction: column;
    }
}
